[Bug target/50091] [4.5/4.6/4.7 Regression] -fstack-check gives bad assembly on powerpc-apple-darwin9

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 3 17:29:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50091

--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-09-03 17:28:32 UTC ---

> bootstrapped with your amended change to rs6000.c
> ./gcc/xgcc -Bgcc ../tests/hello.c -o hc -fstack-check -save-temps -fverbose-asm
> -fdump-rtl-all
> ... shows that the stack check is present and correct ... 
> any idea what test would produce the stack range check?

You'd need to define STACK_CHECK_STATIC_BUILTIN to 1 for PowerPC/Darwin and
have a large frame.

> (make check is running - but will take some time).

Thanks for the testing.



More information about the Gcc-bugs mailing list