mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 17:05:19 +08:00
re PR testsuite/25422 (gcc.dg/20031012-1.c and gcc.dg/weak/weak-3.c (and a couple others) fails, forgot to update for new option, -Walways-true)
PR testsuite/25422 * gcc.dg/20031012-1.c: Add -Walways-true option. * gcc.dg/weak/weak-3.c: Likewise. * g++.old-deja/g++.mike/warn8.C: Likewise. From-SVN: r108689
This commit is contained in:
parent
3380b80294
commit
f3a1a6532f
@ -1,3 +1,10 @@
|
||||
2005-12-15 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
PR testsuite/25422
|
||||
* gcc.dg/20031012-1.c: Add -Walways-true option.
|
||||
* gcc.dg/weak/weak-3.c: Likewise.
|
||||
* g++.old-deja/g++.mike/warn8.C: Likewise.
|
||||
|
||||
2005-12-16 Mike Stump <mrs@apple.com>
|
||||
|
||||
* gcc.c-torture/compile/920415-1.c: Add declaration for abort and
|
||||
|
@ -1,4 +1,5 @@
|
||||
// { dg-do assemble }
|
||||
// { dg-options "-Walways-true" }
|
||||
|
||||
struct foo {
|
||||
bool test();
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* { dg-options "-Walways-true" } */
|
||||
/* Origin: Andrew Morton <akpm@osdl.org> */
|
||||
/* Warn if a function addres of a non-weak function is used
|
||||
as a truth value. */
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-alias "" } */
|
||||
/* { dg-require-weak "" } */
|
||||
/* { dg-options "-fno-common" } */
|
||||
/* { dg-options "-fno-common -Walways-true" } */
|
||||
|
||||
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?ffoo1a" } } */
|
||||
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?ffoo1b" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user