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 400
    • Issues 400
    • 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
  • #1895
Closed
Open
Created May 01, 2013 by Robert Bernecky@rbeDeveloper

-bopt:scc corrupts predicates for some guards

Bugzilla Link 1074
Created on May 01, 2013 19:48
Resolution FIXED
Resolved on May 01, 2013 19:55
Version svn
OS Linux
Architecture PC

Extended Description

If you compile with -ecc (this does not apply to -check c, because
SCC doesn't run then...), guard removal for some guards sets
the result predicate variable to PRF_ARG2, rather than to TRUE.
This is generally a bad idea, especially since PRF_ARG2 is usually
integer and the predicate is Boolean.
Fix underway.
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
 product rev 18126 linux-gnu_x86_64
 (Wed May  1 14:40:08 EDT 2013 by sac)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking