summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-18 14:07:00 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-18 14:07:00 +0000
commit27c9bdfe63b95e705c4557acc729385c379fce04 (patch)
tree878438cf2cf81bfdb9c8550a7066b87ba738e0eb /gcc/testsuite
parentd1a39099d14fcc3c9691c317367264f50ab2b9a5 (diff)
downloadgcc-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')
-rw-r--r--gcc/testsuite/ChangeLog12
-rw-r--r--gcc/testsuite/gcc.dg/asm-wide-1.c3
-rw-r--r--gcc/testsuite/gcc.dg/weak/weak-6.c1
-rw-r--r--gcc/testsuite/gcc.dg/weak/weak-7.c1
-rw-r--r--gcc/testsuite/gcc.target/i386/sseregparm-2.c8
-rw-r--r--gcc/testsuite/gcc.target/i386/sseregparm-8.c17
6 files changed, 33 insertions, 9 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ff03e2f9668..6d2a7952d4c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,15 @@
+2008-06-16 Jan Hubicka <jh@suse.cz>
+
+ * 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.
+
2008-06-18 Daniel Kraft <d@domob.eu>
PR fortran/36517, fortran/36492
diff --git a/gcc/testsuite/gcc.dg/asm-wide-1.c b/gcc/testsuite/gcc.dg/asm-wide-1.c
index 5cc6b0784bb..a42271fd4b1 100644
--- a/gcc/testsuite/gcc.dg/asm-wide-1.c
+++ b/gcc/testsuite/gcc.dg/asm-wide-1.c
@@ -30,6 +30,3 @@ f (void)
/* { dg-error "output" "output" { target *-*-* } 16 } */
/* { dg-error "output" "output" { target *-*-* } 18 } */
/* { dg-error "output" "output" { target *-*-* } 20 } */
-/* { dg-warning "match" "match" { target *-*-* } 21 } */
-/* { dg-error "register" "register" { target *-*-* } 23 } */
-/* { dg-error "register" "register" { target *-*-* } 25 } */
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));
diff --git a/gcc/testsuite/gcc.target/i386/sseregparm-2.c b/gcc/testsuite/gcc.target/i386/sseregparm-2.c
index 84bf58925c7..cca98ca82ba 100644
--- a/gcc/testsuite/gcc.target/i386/sseregparm-2.c
+++ b/gcc/testsuite/gcc.target/i386/sseregparm-2.c
@@ -10,8 +10,8 @@ extern double d;
extern float f;
void test(void)
{
- f = essef(f); /* { dg-error "SSE" } */
- d = essed(d); /* { dg-error "SSE" } */
- f = ssef(f); /* { dg-error "SSE" } */
- d = ssed(d); /* { dg-error "SSE" } */
+ f = essef(f);
+ d = essed(d);
+ f = ssef(f);
+ d = ssed(d);
}
diff --git a/gcc/testsuite/gcc.target/i386/sseregparm-8.c b/gcc/testsuite/gcc.target/i386/sseregparm-8.c
new file mode 100644
index 00000000000..3a9d345a96b
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/sseregparm-8.c
@@ -0,0 +1,17 @@
+/* { dg-do compile } */
+/* { dg-options "-mno-sse" } */
+/* { dg-require-effective-target ilp32 } */
+
+float essef(float) __attribute__((sseregparm));
+double essed(double) __attribute__((sseregparm));
+float __attribute__((sseregparm)) ssef(float f);
+double __attribute__((sseregparm)) ssed(double d);
+extern double d;
+extern float f;
+void test(void)
+{
+ f = essef(f); /* { dg-error "SSE" } */
+ d = essed(d); /* { dg-error "SSE" } */
+ f = ssef(f); /* { dg-error "SSE" } */
+ d = ssed(d); /* { dg-error "SSE" } */
+}