ICE in dwarf2out.c (Re: Gcj 3.0 on Itanium, again)
Jeff Sturm
jsturm@one-point.com
Mon May 28 21:36:00 GMT 2001
On 2001年5月17日, 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
More information about the Java
mailing list