This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/16968] [3.4 Regression] loop optimizer miscompilation
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2004 11:02:43 -0000
- Subject: [Bug rtl-optimization/16968] [3.4 Regression] loop optimizer miscompilation
- References: <20040810154333.16968.jakub@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-12-13 11:02 -------
Hum... the problem lies in the old loop optimizer, which indeed doesn't care
about optimization barriers. This apparently had had very limited consequences
until we started to emit them more frequently as part of the stopgap solution
for the RTX_UNCHANGING_P. We might need to resort to disabling all
optimizations if we detect such a barrier in a loop.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16968