Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 421
    • Issues 421
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2539
Closed
Open
Created Feb 09, 2026 by Sven-Bodo Scholz@sbsOwner

stacktfrace fails as N_push has an ExtLink to Expr, but Expr is not yet supported in the serialisation of ExtLink

When compiling

module bug;

use Array: {sel, genarray};
export all;



inline
int[*] genarrayI (int[.] shp, int[*] a)
{
    return {iv -> genarray (shp, a[iv]) };
}

with sac2c-d -check s -noprelude bug.sac using sac2c 2.1.0-PuurGeluk-205-gbed27 I get:

**  8: Processing exports ...
Internal compiler error
Program reached impossible state at /Volumes/Users/sbs/sac2c/src/libsac2c/serialize/serialize_attribs.c:696 -- unknown target for ExtLink found!
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking