http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47574

--- Comment #3 from Martin Losch <mlo...@uni-bremen.de> 2011-02-01 17:30:56 UTC 
---
gfortran -O3 -c exch2_uv_agrid_3d_rl.f
gives the same error

gfortran -O2 -c exch2_uv_agrid_3d_rl.f
works for this file (for others that are similar I need -O1).

I have to admit that I have never ventured into building gfortran/gcc myself,
but downloaded the binaries for Mac OS X 10.6 here:
<http://hpc.sourceforge.net/>. I just posted this bug, because I thought it
would be useful. If my rebuilding gfortran from source is required I won't be
of much help.

(In reply to comment #2)
> Works for me on x86-64-linux. There is some possibility that the patch for PR
> 45700 fixed that issue (committed: 2010-11-26) - at least that is the only
> thing which vaguely goes into the direction of the ICE (internal compiler
> error).
> 
> Thus, one possibility would be to try a newer version.
> 
> Other than that:
> 
> gfortran -v -save-temps -Wunused -Wuninitialized -fsecond-underscore
> -fconvert=big-endian -ffixed-line-length-132 -O3 -funroll-loops -c
> 
> You use a large number of options. Can you cut down the number of options and
> see whether, e.g., -O2 or -O1 or -O0 is enough to trigger the issue?

Reply via email to