This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [debug/13267] proposed patch to dwarf2out.c


On Fri, 2004-03-05 at 17:32, DJ Delorie wrote:
> I can see the same problems on mips 3.5. 

Stupid mistake on my part.  I deleted the register keyword to see what
happened without it, and then forgot I had modified the testcase.  Doh!

I think the culprit here is stupid.c.  If I use gcc-2.95.3, which
contains stupid.c, then it works.  If I use gcc-3.0.4 which does not
contain stupid.c, then it fails.  So this broke when stupid.c was
deleted.

I think extending the existing PARM_DECL big-endian checks to also
handle VAR_DECL makes sense.  This easy to do for dwarf2out.c.  More
complicated for dbxout.c and sdbout.c because PARM_DECLs are handled in
a different function for VAR_DECL, so we will have to copy code around.

Leaving the bug report open for the other two debug info formats, or
creating new bug reports for them would be a reasonable compromise if
you just want to get dwarf2 fixed for now.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


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