[Bug target/81996] __builtin_return_address(0) does not work on powerpc in -fPIC -fstack-protector-all mode and causes SIGSEGVs

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Sep 16 11:59:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81996

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #5 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I can reproduce this wrong-code on powerpc64-linux-gnu with -m32 -O2 -fPIC
-fstack-protector-all and every gcc from 8.0 down to and including 4.1.2.


More information about the Gcc-bugs mailing list