This is the mail archive of the gcc-bugs@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]

Re: g77.f-torture/compile/20000629-1.f gets SIGSEGV with -g-O3 but not with -O3.


>>>>> "Toon" == Toon Moene <toon@moene.indiv.nluug.nl> writes:

    Toon> I thought it was a design criterium for the GCC suite to
    Toon> generate the exact same code with -g and without.

Yes.

    Toon> However, if I loose -g, the thing compiles without trouble
    Toon> ...  How can it follow a different path through reload with
    Toon> -g and without ?

You're not; you're getting back to reload from DWARF2 generation.

I have a fix for this bug, but I was waiting for some final
confirmation from Jim Wilson after some discussion last week.  I'll go
ahead and check in the patch shortly, even without that; I think we're
basically in agreement about the broad strokes of what to do.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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