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
  • #1437
Closed
Open
Created Dec 12, 2006 by Sven-Bodo Scholz@sbsOwner

optimisation cycle on fundefs screwed up due to inconsistent LaC fun treatment

Bugzilla Link 336
Created on Dec 12, 2006 19:08
Resolution FIXED
Resolved on Feb 24, 2009 15:30
Version 1.00beta
OS Linux
Architecture PC
Attachments error.sac

Extended Description

some opts do traverse LaC only in the context of the calling function
(e.g. the typechecker)
others just go ahead on ANY function (e.g. Constant Folding)
(as of rev 15124)
As a consequence, the actual order in which the optimisations are 
applied varies between non-LaC funs and LaC funs.
This leads to "strange" behaviours such as crashes in CF although the
source for the crash seemingly disappears when breaking a subphase earlier.
the attached example demonstrates this nicely.
The solution for this problem is to enforce "top-level" function entries on 
non-LaC functions only and to map those functions that do not follow all the
LaC funs to the static call graph of these....
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking