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 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1240
Closed
Open
Created Oct 03, 2012 by Robert Bernecky@rbeDeveloper

LACS unit test bugipbb.sac produces very different results, depending on sac2c options

Bugzilla Link 1028
Created on Oct 03, 2012 16:37
Version svn
OS Linux
Architecture PC
Attachments bugipbb.sac

Extended Description

Created an attachment (id=933)
source code to reproduce fault
After attempting to repair Bug #1027, I ran the LACS unit test bugipbb.sac
and got an odd completion code. So, I tried to isolate the fault.
Here are my findings thus far:
sac2c bugipbb.sac -v1 
sac@rattler:~/sac/testsuite/optimizations/lacs$ a.out; echo $?
192
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1 -noopt 
WARNING: With-Loop unrolling (WLUR) was disabled using the command line.
WARNING: However, unrolling of single-trip with-loops is required for code
WARNING: generation. Therefore, WLUR will be re-enabled with the  maximum
WARNING: number of unrolling steps set to 1.
wltransform/wltransform.c:7138 Assertion "FALSE" failed!
with-loop with empty iteration space found!
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1 -nols
sac@rattler:~/sac/testsuite/optimizations/lacs$ a.out; echo $?
248
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1 -nols -nocf 
sac@rattler:~/sac/testsuite/optimizations/lacs$ a.out; echo $?
208
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1 -nocf 
sac@rattler:~/sac/testsuite/optimizations/lacs$ a.out; echo $?
208
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1
sac@rattler:~/sac/testsuite/optimizations/lacs$ a.out; echo $?
192
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1 -dolacsi 
sac@rattler:~/sac/testsuite/optimizations/lacs$ a.out; echo $?
192
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1 -dolacsi -dolacso
sac@rattler:~/sac/testsuite/optimizations/lacs$ a.out; echo $?
192
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1 -dolacsi -dolacso -nols
sac@rattler:~/sac/testsuite/optimizations/lacs$ a.out; echo $?
248
sac@rattler:~/sac/testsuite/optimizations/lacs$ sac2c bugipbb.sac -v1 -dolacsi -dolacso -nols -nocyc
stdopt/withloop_invariant_removal.c:861 Assertion "AVIS_DEFDEPTH(ID_AVIS(arg_node)) != DD_UNDEFINED" failed!
reference to undefined identifier _lacso_3074
The last crash is certainly my doing. Not sure about the others.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking