This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g77.f-torture/compile/20000629-1.f gets SIGSEGV with -g-O3 but not with -O3.
- To: toon at moene dot indiv dot nluug dot nl
- Subject: Re: g77.f-torture/compile/20000629-1.f gets SIGSEGV with -g-O3 but not with -O3.
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 21 Apr 2001 12:40:04 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <3AE16F18.69EE4D5A@moene.indiv.nluug.nl>
>>>>> "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