* gcc.dg/debug/dwarf2/prod-options.c: Use different DW_AT_producer
pattern on Solaris with as.
From-SVN: r233668
+2016-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.dg/debug/dwarf2/prod-options.c: Use different DW_AT_producer
+ pattern on Solaris with as.
+
2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/cond_sub_restrict_it.c: New test.
as well. */
/* { dg-do compile } */
/* { dg-options "-O2 -gdwarf -dA -fdebug-prefix-map=a=b" } */
-/* { dg-final { scan-assembler "DW_AT_producer: \"GNU C" } } */
+/* { dg-final { scan-assembler "DW_AT_producer: \"GNU C" { target { { ! *-*-solaris2* } || gas } } } } */
+/* { dg-final { scan-assembler "\"GNU C\[^\\n\\r\]+ DW_AT_producer" { target { *-*-solaris2* && { ! gas } } } } } */
/* { dg-final { scan-assembler-not "debug-prefix-map" } } */
void func (void)