]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/35119 (FAIL: g++.dg/template/spec35.C scan-assembler)
authorDominique d'Humieres <dominiq@lps.ens.fr>
Fri, 15 Feb 2008 14:33:57 +0000 (15:33 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 15 Feb 2008 14:33:57 +0000 (15:33 +0100)
PR testsuite/35119
* testsuite/g++.dg/template/spec35.C
Change the regular expressions in dg-final to match the assembly
code generated by Darwin 9.

From-SVN: r132344

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/spec35.C

index 9aa7ae815b434d203d8aa2dc24297c3766409d0e..26b41f89f603444ae462020c5401b8e63947b4a8 100644 (file)
@@ -1,3 +1,10 @@
+2008-02-15  Dominique d'Humieres  <dominiq@lps.ens.fr>
+
+       PR testsuite/35119
+       * testsuite/g++.dg/template/spec35.C
+       Change the regular expressions in dg-final to match the assembly
+       code generated by Darwin 9.
+
 2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
 
        * gcc.dg/cpp/pragma-pop_macro-1.c: Fix dg-do directive.
index 801b744dc2e1e24554d60dae94a701a43eb65b30..cae33ed3d1f0ab04ad6a979068484813bd341352 100644 (file)
@@ -8,22 +8,22 @@
 template<class T>
 static void f1 (T) { }
 
-// { dg-final { scan-assembler-not ".glob(a|)l\[\t \]*_Z2f1IfEvT_" } }
+// { dg-final { scan-assembler-not ".glob(a|)l\[\t \]*_?_Z2f1IfEvT_" } }
 template<>
 void f1<float> (float) { }  // Expected to have static linkage
 
 template<class T>
 void f2 (T) { }
 
-// { dg-final { scan-assembler ".glob(a|)l\[\t \]*_Z2f2IfEvT_" } }
+// { dg-final { scan-assembler ".glob(a|)l\[\t \]*_?_Z2f2IfEvT_" } }
 template<>
 void f2<float> (float) { }  // Expected to have global linkage
 
 void instantiator ()
 {
-  // { dg-final { scan-assembler-not ".glob(a|)l\[\t \]*_Z2f1IiEvT_" } }
+  // { dg-final { scan-assembler-not ".glob(a|)l\[\t \]*_?_Z2f1IiEvT_" } }
   f1(0);  // Expected to have static linkage
 
-  // { dg-final { scan-assembler ".weak\[\t \]*_Z2f2IiEvT_" } }
+  // { dg-final { scan-assembler ".weak(_definition)?\[\t \]*_?_Z2f2IiEvT_" } }
   f2(0);  // Expected to have weak global linkage
 }