[PATCH 3/4] NetWare: general testsuite adjustments

Jan Beulich JBeulich@novell.com
Tue Jul 28 17:19:00 GMT 2009


>>> "H.J. Lu" <hjl.tools@gmail.com> 28.07.09 15:49 >>>
>On Thu, Jul 23, 2009 at 7:31 AM, Jan Beulich<JBeulich@novell.com> wrote:
>...
>>        * gcc.dg/cdce1.c: Don't pass -lm for *-*-netware*.
>>        * gcc.dg/cdce2.c: Likewise.
>>        * gcc.target/i386/pr37248-2.c: Don't test on default_packet
>>        targets.
>>        * gcc.target/i386/pr37248-3.c: Likewise.
>
>This caused:
>
>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40891 

Committing this patch as obvious to fix that problem (and a similar one for
trunk).

Jan

2009-07-28  Jan Beulich  <jbeulich@novell.com>

	* gcc.dg/cdce1.c: Adjust line number.
	* gcc.dg/cdce2.c: Likewise.

--- trunk/gcc/testsuite/gcc.dg/cdce1.c
+++ trunk/gcc/testsuite/gcc.dg/cdce1.c
@@ -2,7 +2,7 @@
 /* { dg-skip-if "doubles are floats" { "avr-*-*" "m32c-*-*" } { "*" } { "" } } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details  -lm" } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details" { target *-*-netware* } } */
-/* { dg-final { scan-tree-dump  "cdce1.c:16: note: function call is shrink-wrapped into error conditions\."  "cdce" } } */
+/* { dg-final { scan-tree-dump  "cdce1.c:17: note: function call is shrink-wrapped into error conditions\."  "cdce" } } */
 /* { dg-final { cleanup-tree-dump "cdce" } } */
 
 #include <stdlib.h>
--- trunk/gcc/testsuite/gcc.dg/cdce2.c
+++ trunk/gcc/testsuite/gcc.dg/cdce2.c
@@ -2,7 +2,7 @@
 /* { dg-skip-if "doubles are floats" { "avr-*-*" } { "*" } { "" } } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details  -lm" } */
 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details" { target *-*-netware* } } */
-/* { dg-final { scan-tree-dump  "cdce2.c:16: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
+/* { dg-final { scan-tree-dump  "cdce2.c:17: note: function call is shrink-wrapped into error conditions\." "cdce" } }*/
 /* { dg-final { cleanup-tree-dump "cdce" } } */
  
 #include <stdlib.h>





More information about the Gcc-patches mailing list