This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/66347] Seg fault (ICE) on compile


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66347

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal

--- Comment #3 from kargl at gcc dot gnu.org ---
(In reply to kargl from comment #2)
> (In reply to kargl from comment #1)
> > (In reply to Walter Brisken from comment #0)
> > >
> > > gfortran -save-temps -finit-local-zero  -fno-automatic -fno-underscoring -C
> > > -w -g -O2 -c -o crash.o crash3.f
> > > 
> > 
> > The problem is related to the -finit-local-zero option.
> > The obvious workaround is to not use that option.  I'll
> > also recommend not using the -fno-underscoring option
> > as the documentation warns about its use.
> 
> Dang misread my terminal output.  -fno-automatic is the
> guilty option.  Drop that option and things compile.

Clearly not my day!  One needs both  -finit-local-zero
and -fno-automatic to cause the ICE.  Time for more coffee!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]