This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33391] [4.3 regression] gfortran.dg/do_3.F90 fails at -O2
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2007 15:23:37 -0000
- Subject: [Bug target/33391] [4.3 regression] gfortran.dg/do_3.F90 fails at -O2
- References: <bug-33391-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-09-11 15:23 -------
(In reply to comment #2)
> Isn't this what http://gcc.gnu.org/ml/gcc/2007-09/msg00087.html (plus/minus a
> few emails in the thread) is about?
Yes, you're right.
> -fstrict-overflow
> Allow the compiler to assume strict signed overflow rules, depending on the
> language being compiled.
Well, I think the "depending on the language being compiled" is important. I
think the testcase is valid Fortran, and shouldn't fail whatever the
optimization level you use.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33391