Commit 8177d857 by Steve Ellcey Committed by Steve Ellcey

re PR testsuite/48727 (FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2)

2011-06-14  Steve Ellcey  <sje@cup.hp.com>

	PR testsuite/48727
	* g++.dg/opt/devirt2.C: Fix scan rules for ia64*-*-hpux* and hppa*-*-*.

From-SVN: r175055
parent 30644fc4
2011-06-14 Steve Ellcey <sje@cup.hp.com>
PR testsuite/48727
* g++.dg/opt/devirt2.C: Fix scan rules for ia64*-*-hpux* and hppa*-*-*.
2011-06-14 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/arm/pr45701-1.c: Require thumb support.
......
// { dg-do compile }
// { dg-options "-O2" }
// { dg-final { scan-assembler-times "xyzzy" 2 } }
// The IA64 and HPPA compilers generate external declarations in addition
// to the call so those scans need to be more specific.
// { dg-final { scan-assembler-times "xyzzy" 2 { xfail hppa*-*-* ia64*-*-hpux* } } }
// { dg-final { scan-assembler-times "br\[^\n\]*xyzzy" 2 { target ia64*-*-hpux* } } }
// { dg-final { scan-assembler-times "xyzzy\[^\n\]*,%r" 2 { target hppa*-*-* } } }
struct S { S(); virtual void xyzzy(); };
struct R { int a; S s; R(); };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment