https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79026
--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Dominique d'Humieres from comment #0) > After revision r244006 I see the following failures on darwin > > FAIL: gcc.target/i386/pr78904-2.c scan-assembler [ \\t]addb[ > \\t]+t[^\\n\\r]*, %.h > FAIL: gcc.target/i386/pr78904-2.c scan-assembler [ \\t]andb[ > \\t]+t[^\\n\\r]*, %.h > FAIL: gcc.target/i386/pr78904-2.c scan-assembler [ \\t]orb[ > \\t]+t[^\\n\\r]*, %.h > FAIL: gcc.target/i386/pr78904-2.c scan-assembler [ \\t]xorb[ > \\t]+t[^\\n\\r]*, %.h > FAIL: gcc.target/i386/pr78904-4.c scan-assembler [ \\t]movb[\\t ]+%.h, t > FAIL: gcc.target/i386/pr78904-6.c scan-assembler [ \\t]movb[\\t ]*%.h, t > FAIL: gcc.target/i386/pr78967-2.c scan-assembler [ \\t]movb[ > \\t]+t[^\\n\\r]*, %.h > > On darwin I see > > andb %cl, %ah > orb %cl, %ah > xorb %cl, %ah > addb %cl, %ah > > and > > movb %ch, (%rax,%rsi) > > The failures are silenced by the following patch Just add: /* { dg-require-effective-target nonpic } */ after dg-do directive. Testing that symbols propagate into the pattern is the purpose of these tests. The patch is pre-approved for mainline.