https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64379
--- Comment #4 from Donn Seeley <donn.seeley at windriver dot com> --- Created attachment 34319 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34319&action=edit main.i to go with content.i I copied content.i to main.i and added just enough material to get it to compile and (hopefully) run. I then built two versions of the example: arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon -marm -mthumb-interwork -O1 -pipe -mapcs-frame -c content.i arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon -marm -mthumb-interwork -O1 -pipe -mapcs-frame -c main.i arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon -marm -mthumb-interwork -O1 -pipe -mapcs-frame --sysroot=/home/donn/c/7.x/wrl-projects/qemuarma9-neon-standard-glibc_std/bitbake_build/tmp/sysroots/qemuarma9 content.o main.o -o without-sibcalls arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon -marm -mthumb-interwork -O1 -foptimize-sibling-calls -pipe -mapcs-frame -c content.i arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon -marm -mthumb-interwork -O1 -foptimize-sibling-calls -pipe -mapcs-frame -c main.i arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon -marm -mthumb-interwork -O1 -foptimize-sibling-calls -pipe -mapcs-frame --sysroot=/home/donn/c/7.x/wrl-projects/qemuarma9-neon-standard-glibc_std/bitbake_build/tmp/sysroots/qemuarma9 content.o main.o -o with-sibcalls I booted up QEMU and ran the programs: root@qemu0:~# ./without-sibcalls root@qemu0:~# ./with-sibcalls Segmentation fault root@qemu0:~#
