With --enable-default-pie, g++.dg/stackprotectexplicit2.C FAILs on both Linux/x86_64 and Solaris 12/x86 with -m32: +FAIL: g++.dg/stackprotectexplicit2.C -std=gnu++11 scan-assembler-times stack_chk_fail 2 +FAIL: g++.dg/stackprotectexplicit2.C -std=gnu++14 scan-assembler-times stack_chk_fail 2 +FAIL: g++.dg/stackprotectexplicit2.C -std=gnu++98 scan-assembler-times stack_chk_fail 2 On Linux/x86_64, stackprotectexplicit2.s contains call __stack_chk_fail_local call __stack_chk_fail_local .hidden __stack_chk_fail_local Rainer
Dup. *** This bug has been marked as a duplicate of bug 70150 ***