Commit 5d006428 by Geoffrey Keating Committed by Geoffrey Keating

weak1.C: Suppress on Darwin.

	* g++.dg/warn/weak1.C: Suppress on Darwin.
	* g++.dg/other/unused1.C: Accept tabs or spaces in assembly.

From-SVN: r125659
parent b718216c
2007-06-12 Geoff Keating <geoffk@apple.com>
* g++.dg/warn/weak1.C: Suppress on Darwin.
* g++.dg/other/unused1.C: Accept tabs or spaces in assembly.
2007-06-12 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/31579
......@@ -44,5 +44,5 @@ int bar5 (void)
/* { dg-final { scan-assembler "foo" } } */
/* { dg-final { scan-assembler "boo" } } */
/* { dg-final { scan-assembler "cue" } } */
/* { dg-final { scan-assembler "(string|ascii?)z?\t\"class2(\"|\\\\000)" } } */
/* { dg-final { scan-assembler "(string|ascii?)z?\t\"printer(\"|\\\\000)" } } */
/* { dg-final { scan-assembler "(string|ascii?)z?\[\t \]\"class2(\"|\\\\0)" } } */
/* { dg-final { scan-assembler "(string|ascii?)z?\[\t \]\"printer(\"|\\\\0)" } } */
// The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols.
// { dg-do run }
// { dg-require-weak "" }
// The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols.
// { dg-skip-if "No unsat" { hppa*-*-hpux* } { "*" } { "" } }
// The darwin loader does, but they do need to exist at link time.
// { dg-skip-if "No link unsat" { *-*-darwin* } { "*" } { "" } }
extern void foo (void) __attribute__ ((weak));
......
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