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]

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


Alexandre Petit-Bianco wrote:
> I've been seing a similar problem with Alpha. In my case, I noticed
> that it occurs only if -g1 is passed down to jc1. I can build and test
> things with alpha using with -g0 or -g<n>, n >= 2 and yes it also goes
> away when using -O. Below is what I wrote as I was trying to give it a
> (unsuccessful) shot last week.

You'll see this on x86 too if you use -gdwarf-2 -g1 to compile.  I
suppose since x86 uses stabs by default, this has gone mostly unnoticed.

After considerable debugging it doesn't really appear dwarf2out.c is
misbehaving at all.  I'd like to eventually look closely at how gcj
emits debug info vs. other frontends.  In the meantime, we have this
annoying bug on the branch.

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.

Jeff


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