This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [rs6000] Fix compare debug failure on AIX
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Andrew Pinski <pinskia at gmail dot com>
- Date: Mon, 11 May 2015 10:24:29 +0200
- Subject: Re: [rs6000] Fix compare debug failure on AIX
- Authentication-results: sourceware.org; auth=none
- References: <1633828 dot L6eKc0dpVU at polaris> <11730594 dot qrxZLO7yKG at polaris> <CAGWvnynMA+5dDLgGdyc8EQN2OgfYnV1mBNK5Ww3ceFRpCO1+Yw at mail dot gmail dot com>
> I'm sorry that XCOFF debugging changes the generated code (only in the
> sense of allocating a frame), but that is a system dependency. It's
> been this way for over 20 years. I see no reason to produce worse
> code at -O0 when not debugging simply to make testcases happier.
You apparently read my previous message too quickly, this was reported to
AdaCore on real code, i.e. someone opened a ticket and complained that the
compiler was generating different code with and without -g for XCOFF.
Note that someone a little perverse could easily use this obvious defect to
prevent the compiler from bootstrapping on AIX. ;-)
--
Eric Botcazou