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: Sat, 02 May 2015 12:04:23 +0200
- Subject: Re: [rs6000] Fix compare debug failure on AIX
- Authentication-results: sourceware.org; auth=none
- References: <1633828 dot L6eKc0dpVU at polaris> <1752984 dot z0ljzjyPbr at polaris> <CAGWvnynkc8eLtPndHRffZ-VfwgYyMD1m7m5Y37+Y84+KKP31rg at mail dot gmail dot com>
> Why should GCC unnecessarily create stack frames to avoid
> compare-debug testcase failures?
I'm not sure I understand the question... compare-debug failures are failures
(-g is not supposed to change the generated code and this XCOFF-specific bug
was reported to us) so they need to be fixed.
>From there on, as Alan said, there are 2 cases: either AIX needs a frame for
debugging or it doesn't. If the latter, then the lines can simply be deleted.
If the former, we have to draw a line somewhere; Alan suggests always creating
a frame while I suggest creating it only at -O0 and -Og.
--
Eric Botcazou