This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Re: GCC 2.95 Solaris7 i86pc compilation fail with-g generates internal compiler error
>>>>> "Alexandre" == Alexandre Oliva <oliva@dcc.unicamp.br> writes:
Alexandre> But it must be a sizetype, as noted by Richard
Alexandre> Henderson. Anyway, this patch didn't cause any
Alexandre> regressions in the testsuite, and fixed dwarf1.C. The
Alexandre> problem was that some function within dwarfout.c
Alexandre> crashed because PRECISION wasn't set for that type.
Alexandre> Back-out the patch and compile dwarf1.C with -gdwarf
Alexandre> and you'll see.
I believe you, but I still want to know why this type is getting
through to dwarfout.c. In earlier mail, I pointed out that dwarfout
shouldn't see template types, and asked what MAX was in this
situation. Would you mind answering those questions?
My instincts say that this patch isn't right; I'd like to know why
this code branch is being taken, and how the type ends up being given
to dwarfout. Otherwise, I'm afraid we're just papering over some
other problem.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com