This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38778] the result when excuted with loop-linear on is different to that with O0
- From: "yu19820428 at 163 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2009 14:00:04 -0000
- Subject: [Bug c/38778] the result when excuted with loop-linear on is different to that with O0
- References: <bug-38778-17165@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from yu19820428 at 163 dot com 2009-01-09 14:00 -------
the options is to turn off all other optimizations while only to turn on the
-ftree-loop-linear. the result is right when -O3, but not right when only
-ftree-loop-linear is on.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38778