This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: ICE in dwarf2out.c (Re: Gcj 3.0 on Itanium, again)




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


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