This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20100] [4.0 regression] static call incorrectly judged constant, moved out of loop
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2005 15:41:04 -0000
- Subject: [Bug tree-optimization/20100] [4.0 regression] static call incorrectly judged constant, moved out of loop
- References: <20050220030431.20100.hp@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-20 15:41 -------
Actually this is tree aliasing issue. LIM is still doing its job as it does not know that inc_g can change
memory and that ring_empty accesses it.
This was like my testcase in PR 19828.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at gcc dot gnu dot
| |org
Component|rtl-optimization |tree-optimization
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20100