https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Added: > trunk/gcc/testsuite/gcc.dg/guality/pr68037-1.c > trunk/gcc/testsuite/gcc.dg/guality/pr68037-2.c > trunk/gcc/testsuite/gcc.dg/guality/pr68037-3.c These tests fail on darwin: Undefined symbols for architecture x86_64: "fn", referenced from: _main in ccPxehCk.o (maybe you meant: _fn) ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status The patch --- /opt/gcc/_clean/gcc/testsuite/gcc.dg/torture/pr68037-3.c 2016-06-03 17:11:31.000000000 +0200 +++ pr68037-3_db.c 2016-06-04 03:56:13.000000000 +0200 @@ -65,6 +65,6 @@ main () push $" STRING (FLAGS) "; \ push $" STRING (CS) "; \ push $" STRING (IP) "; \ - jmp fn"); + jmp _fn"); return 0; } allows the test to succeed.