> On Apr 29, 2015, at 3:22 AM, Eric Botcazou <ebotca...@adacore.com> wrote:
> 
> You can easily get -fcompare-debug failures on AIX with small functions, in 
> fact you get the failure for the empty function:
> 
> void foo (void) {}
> 
> eric@polaris:~/build/gcc/powerpc-ibm-aix7.1> gcc/xgcc -Bgcc -S t.c -O -
> fcompare-debug
> xgcc: error: t.c: -fcompare-debug failure (length)
> 
> Fixed thusly, tested on powerpc-ibm-aix7.1, OK for the mainline?
> 
> 
> 2015-04-29  Eric Botcazou  <ebotca...@adacore.com>
> 
>    * config/rs6000/rs6000.c (rs6000_stack_info): For XCOFF, replace test
>    on debug info with test on optimization to decide stack pushing.

We might want to check if doing -Og and not just -O0. 

Thanks,
Andrew

> 
> 
> 2015-04-29  Eric Botcazou  <ebotca...@adacore.com>
> 
>    * gcc.dg/empty3.c: New test.
> 
> 
> -- 
> Eric Botcazou
> <p.diff>
> <empty3.c>

Reply via email to