------- Comment #15 from dominiq at lps dot ens dot fr 2008-08-22 11:48 ------- > I don't think this has anything to do with your patch.
Unfortunately it has (at least on i686-apple-darwin9). Reverting the patch for gcc/varasm.c I have bootstrapped without any problem and the good news it that the remaining patch fixes: FAIL: gcc.dg/darwin-weakimport-2.c scan-assembler weak_reference _foo and FAIL: gcc.dg/weak/weak-1.c scan-assembler weak[^ \\t]*[ \\t]_?j FAIL: gcc.dg/weak/weak-12.c scan-assembler weak[^ \\t]*[ \\t]_?foo FAIL: gcc.dg/weak/weak-2.c scan-assembler weak[^ \\t]*[ \\t]_?ffoo1a FAIL: gcc.dg/weak/weak-2.c scan-assembler weak[^ \\t]*[ \\t]_?ffoo1b FAIL: gcc.dg/weak/weak-2.c scan-assembler weak[^ \\t]*[ \\t]_?ffoo1c FAIL: gcc.dg/weak/weak-2.c scan-assembler weak[^ \\t]*[ \\t]_?ffoo1e FAIL: gcc.dg/weak/weak-4.c scan-assembler weak[^ \\t]*[ \\t]_?vfoo1a FAIL: gcc.dg/weak/weak-4.c scan-assembler weak[^ \\t]*[ \\t]_?vfoo1b FAIL: gcc.dg/weak/weak-4.c scan-assembler weak[^ \\t]*[ \\t]_?vfoo1c but not FAIL: gcc.dg/darwin-weakimport-1.c scan-assembler weak_reference _a -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170