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
  • #2480
Closed
Open
Created May 02, 2025 by Sven-Bodo Scholz@sbsOwner

variable declarations for AUD or AUDGZ types breaks at InsertVariable Declarations

When compiling

int main ()
{

int[+] a;

   a = 0;
   return a;
}

using sac2c 2.0.0-Tintigny-83-gad4ea2. -v4 gives:

**  6: Converting to static single assignment form ...
  **** Inserting variable declarations ...
./tutu.sac:4: error:
  3.
  4. int[+] a;
    ↑
  5.
  6.    a = 0;

  Variable '+' used without previous definition
Compilation failed while Converting to static single assignment form, 1 error(s).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking