This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/43716] [4.6/4.7/4.8 Regression] Revision 158105 miscompiles doduc.f90
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Dec 2012 14:28:56 +0000
- Subject: [Bug tree-optimization/43716] [4.6/4.7/4.8 Regression] Revision 158105 miscompiles doduc.f90
- Auto-submitted: auto-generated
- References: <bug-43716-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43716
--- Comment #43 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-07 14:28:56 UTC ---
(In reply to comment #42)
> > Re-adjust target milestone. Please somebody revisit the regression status
> > and fill in known-to-work/fail fields. ISTR it only fails on darwin.
>
> (1) doduc.f90 is correctly compiled on x86_64-apple-darwin10 (r194291) with the
> options I have tried (typically -fprotect-parens -Ofast -funroll-loops
> -ftree-loop-linear -fomit-frame-pointer -fwhole-program -flto, no valgrind
> error with -O3 -ffast-math, no error with -fsanitize=address).
>
> (2) Per comment #30, this PR has been reopened for x86_64-unknown-linux-gnu.
>
> (3) Per comment #40:
>
> > tree if-conversion happily executes both arms of the conditional
> > unconditionally with -ffast-math, ...
>
> so compiling with -ffpe-trap=invalid traps for results discarded later.
-ffpe-trap=invalid -ffast-math is a non-sensical flag combination. You
tell the compiler nothing will ever trap and then enable traps! So seeing
errors with that tells you nothing ...