This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66347] Seg fault (ICE) on compile
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Jun 2015 17:17:12 +0000
- Subject: [Bug fortran/66347] Seg fault (ICE) on compile
- Auto-submitted: auto-generated
- References: <bug-66347-4 at http dot gcc dot gnu dot org/bugzilla/>
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!