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 394
    • Issues 394
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2359
Closed
Open
Created Nov 30, 2023 by Sven-Bodo Scholz@sbsOwner

UAR fails

Consider this:

noinline
int[10] foo ( int[10] g)
{
   return with {}: genarray( _shape_A_(g), 0);
}


int main()
{

    a = foo ([1,2,3,4,5,6,7,8,9,0]);

   StdIO::print(a);

   return 0;
}

Using sac2c 1.3.3-MijasCosta-1119-g05899 in debug version using -v4

we get:

** 21: Generating Code ...
  **** Tag preparation ...
  **** Creating intermediate code macros ...
TRAVERSE ERROR: node of type 0:undefined found where 58:N_avis was expected!



OOOOOOOPS, your program crashed the compiler 8-((

Please, submit the bug report online at
https://gitlab.sac-home.org/sac-group/sac2c/-/issues.

For your convenience, the compiler has pre-fabricated a bug report
in the file "./jordysdelight.sacbugreport" !

Besides some infos concerning the compiler version and its
usage it contains the specified source file.

If you want to send that bug report to us, you may simply type
  mail bugs@sac-home.org < jordysdelight.sacbugreport

If you decide to file a bug on our bug-tracker, please go to
  https://gitlab.sac-home.org/sac-group/sac2c/-/issues.

When filing a bug report, please copy/paste the initial comment section of
the bug report into the plain text comment section of the bug-tracker, and add
the whole bug report file as an attachment.

Abort
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking