This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ICE in dwarf2out.c (Re: Gcj 3.0 on Itanium, again)
- To: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Subject: Re: ICE in dwarf2out.c (Re: Gcj 3.0 on Itanium, again)
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Tue, 29 May 2001 00:47:16 -0400 (EDT)
- cc: "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>
On Thu, 17 May 2001, Alexandre Petit-Bianco wrote:
> > Any ideas on a quick fix for 3.0? Perhaps the java driver can
> > simply avoid -g1 altogether? Neither -g0 nor -g2 exhibit the
> > problem.
>
> I was also thinking it could be an acceptable solution.
This statement in lang_specific_driver is responsible:
/* If we saw no -O or -g option, default to -g1, for javac compatibility. */
if (saw_g + saw_O == 0)
arglist[j++] = "-g1";
That's done for a reason I guess, though it may be appropriate for use
with -C only.
Anyhow, it turns out the problem isn't gcj. Compiling c++ with -gdwarf-2
-g1 fails too. PR c++/2814 covers this.
Since it's a known regression, perhaps we should do nothing for now...
Jeff