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 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1945
Closed
Open
Created Jul 04, 2011 by Daniel Rolls@dsrGuest

Syntax error in generated SL code when using async ref counting

Bugzilla Link 852
Created on Jul 04, 2011 15:21
Resolution FIXED
Resolved on Jul 04, 2011 17:20
Version svn
OS Linux
Architecture PC
Attachments 337236.tar.gz

Extended Description

Created an attachment (id=803)
gzipped tar archive
When compiling attatched code with async reference counting and the SL_mta backend, slc complains about a syntax error:
  File "/home/stca/sl/sl-s3.1.86-r4601-c3.6b.36-d87f-mta-mts/bin/spr", line 8, in 
    main()
  File "/home/stca/sl/sl-s3.1.86-r4601-c3.6b.36-d87f-mta-mts/lib/sl-core/slc/front/main.py", line 15, in main
    p = parse_program(p)
  File "/home/stca/sl/sl-s3.1.86-r4601-c3.6b.36-d87f-mta-mts/lib/sl-core/slc/input/parse.py", line 166, in parse_program
    source = eval(source)
  File "", line 1528
    SACp_armp_1764 = """, {'loc':r"""a.out.c:905""",'type':'getp','name':"""SACl_v"""},r"""; SACp_armp_1764__desc = """, {'loc':r"""a.out.c:905""",'type':'getp','name':"""""", {'loc':r"""a.out.c:905""",'type':'getp','name':"""SACl_v__desc"""},r""""""},r""";
sac compiler: 17448
sl compiler: s3.1.86-r4601-c3.6b.36-d87f-mta-mts
stdlib: 1520
flags: -mutc_suballoc_desc_one_level_up -rc_method 3
Many other flags combinations trigger the failure. They all specify a reference counting mode.
See:
https://unibench.sac-home.org/?submitType=&lastFocus=&page=query&pg=1&savedquery=null&operating_system=null&machine=32&language_group=14&language_version=null&compiler=32&compiler_version=254&benchmark_suite=169&benchmark=1323&benchmark_implementation=2256&input=null&optimisation_strategy=null&executable_requirement=null&observation_script=null&observation_strategy=null&standard_library=null&flags=null&query_name=&resultname=&gobutton=Go
for details.
The attatched file 337236.tar.gz contains the source code, generated c code and the output from the failed run.
Unigench run number: 337236
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking