Commit 1082afb6 by Zack Weinberg Committed by Zack Weinberg

compare2.c (case 12): XFAIL.

	* gcc.dg/compare2.c (case 12): XFAIL.
	* gcc.dg/noreturn-1.c (foo7, foo8): XFAIL.
	* gcc.dg/noreturn-2.c (noreturn): XFAIL.

From-SVN: r34345
parent d7a2e0f7
2000-06-01 Zack Weinberg <zack@wolery.cumb.org> 2000-06-01 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/compare2.c (case 12): XFAIL.
* gcc.dg/noreturn-1.c (foo7, foo8): XFAIL.
* gcc.dg/noreturn-2.c (noreturn): XFAIL.
* gcc.dg/cpp-tradwarn2.c: Update egrep pattern. * gcc.dg/cpp-tradwarn2.c: Update egrep pattern.
2000-05-29 Zack Weinberg <zack@wolery.cumb.org> 2000-05-29 Zack Weinberg <zack@wolery.cumb.org>
......
...@@ -30,7 +30,7 @@ void f(int x, unsigned int y) ...@@ -30,7 +30,7 @@ void f(int x, unsigned int y)
/* Statement expression with recursive ?: . */ /* Statement expression with recursive ?: . */
x > ({tf; tf?64:(tf?128:256);}); /* { dg-bogus "signed and unsigned" "case 11" } */ x > ({tf; tf?64:(tf?128:256);}); /* { dg-bogus "signed and unsigned" "case 11" } */
y > ({tf; tf?64:(tf?128:256);}); /* { dg-bogus "signed and unsigned" "case 12" } */ y > ({tf; tf?64:(tf?128:256);}); /* { dg-bogus "signed and unsigned" "case 12" { xfail *-*-* } } */
/* Statement expression with signed ?:. */ /* Statement expression with signed ?:. */
x > ({tf; tf?64:-1;}); /* { dg-bogus "signed and unsigned" "case 13" } */ x > ({tf; tf?64:-1;}); /* { dg-bogus "signed and unsigned" "case 13" } */
......
...@@ -49,11 +49,11 @@ void ...@@ -49,11 +49,11 @@ void
foo7(void) foo7(void)
{ {
foo6(); foo6();
} /* { dg-bogus "warning:" "this function should not get any warnings" } */ } /* { dg-bogus "warning:" "this function should not get any warnings" { xfail *-*-* } } */
extern void foo8(void) __attribute__ ((__noreturn__)); extern void foo8(void) __attribute__ ((__noreturn__));
void void
foo8(void) foo8(void)
{ {
foo7(); foo7();
} /* { dg-warning "`noreturn' function does return" "detect return from tail call" } */ } /* { dg-warning "`noreturn' function does return" "detect return from tail call" { xfail *-*-* } } */
...@@ -9,4 +9,4 @@ void ...@@ -9,4 +9,4 @@ void
noreturn (int x) noreturn (int x)
{ {
abort (); abort ();
} } /* { dg-bogus "does return" "noreturn does return" { xfail *-*-* } } */
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