diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-18 14:07:00 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-18 14:07:00 +0000 |
commit | 27c9bdfe63b95e705c4557acc729385c379fce04 (patch) | |
tree | 878438cf2cf81bfdb9c8550a7066b87ba738e0eb /gcc/testsuite/gcc.dg/weak | |
parent | d1a39099d14fcc3c9691c317367264f50ab2b9a5 (diff) | |
download | gcc-27c9bdfe63b95e705c4557acc729385c379fce04.tar.gz |
* cgraphunit.c (cgraph_expand_pending_functions): Give up at
syntax errors.
(cgraph_analyze_function): Likewise.
* gcc.dg/asm-wide-1.c: Do not require extra errors we output
confused by earlier errors.
* gcc.target/i386/sseregparm-2.c: Remove markers for errors not
output at parsing time.
* gcc.target/i386/sseregparm-8.c: Move here compile time errors
from gcc.target/i386/sseregparm-2.c.
* gcc.dg/weak/weak-6.c: Do not require extra errors we output
confused by earlier errors.
* gcc.dg/weak/weak-7.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/weak')
-rw-r--r-- | gcc/testsuite/gcc.dg/weak/weak-6.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/weak/weak-7.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/weak/weak-6.c b/gcc/testsuite/gcc.dg/weak/weak-6.c index 711003ccd03..3a660f71ba6 100644 --- a/gcc/testsuite/gcc.dg/weak/weak-6.c +++ b/gcc/testsuite/gcc.dg/weak/weak-6.c @@ -3,5 +3,4 @@ extern void * foo (void); void * foo (void) { return (void *)foo; } /* { dg-error "precede" } */ -/* { dg-error "function pointer" "pointer conversion" { target *-*-* } 5 } */ #pragma weak foo diff --git a/gcc/testsuite/gcc.dg/weak/weak-7.c b/gcc/testsuite/gcc.dg/weak/weak-7.c index 7c4a4dc7c25..031f830783f 100644 --- a/gcc/testsuite/gcc.dg/weak/weak-7.c +++ b/gcc/testsuite/gcc.dg/weak/weak-7.c @@ -3,5 +3,4 @@ extern void * foo (void); void * foo (void) { return (void *)foo; } /* { dg-error "precede" } */ -/* { dg-error "function pointer" "pointer conversion" { target *-*-* } 5 } */ extern void * foo (void) __attribute__((weak)); |