[Bug rtl-optimization/20100] [4.0 regression] static call incorrectly judged constant, moved out of loop

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 20 15:37:00 GMT 2005

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-20 06:16 -------
Currently in 4.0.x, pure/const is found by the rtl and not by tree wise (now on the tree profiling branch 
it is found on the tree level).

Then again this might be fixed by:
2005-02-19  Zdenek Dvorak  <dvorakz@suse.cz>
            Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/19828
        * tree-ssa-loop-im.c: Add a TODO comment.
        (movement_possibility): Return MOVE_PRESERVE_EXECUTION for calls
        without side-effects.

           What    |Removed                     |Added
          Component|tree-optimization           |rtl-optimization


More information about the Gcc-bugs mailing list