This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix kernel oops. PR 18241.


On Sat, 08 Jan 2005, 19:46:33 +0100, Diego Novillo wrote:
> [...]
> 2005-01-08  Jeff Law  <law@redhat.com>
> 	    Diego Novillo  <dnovillo@redhat.com>
> 
> 	PR tree-optimization/18241
> 	* tree-nrv.c (tree_nrv): Ignore volatile return values.
> 	* tree-ssa-dse.c (dse_optimize_stmt): Do not optimize
> 	statements with volatile operands.
> 	* tree-ssa-operands.c (add_stmt_operand): Do add volatile
> 	operands after marking a statement with has_volatile_ops.
> 
> testsuite/ChangeLog:
> 
> 2005-01-08  Diego Novillo  <dnovillo@redhat.com>
> 
> 	PR tree-optimization/18241
> 	* gcc.dg/pr18241-1.c: New test.
> 	* gcc.dg/pr18241-2.c: New test.
> 	* gcc.dg/pr18241-3.c: New test.
> 	* gcc.dg/pr18241-4.c: New test.
> 	* gcc.dg/pr18241-5.c: New test.

This patch introduced five new failures due to passing the wrong
parameter to "dg-do". I installed the patch below under the obvious
fix rule.

Cheers.

l8er
manfred


2005-01-09  Manfred Hollstein  <mh@suse.com>

	* gcc.dg/pr18241-1.c: Fix dg-do parameter.
	* gcc.dg/pr18241-2.c: Likewise.
	* gcc.dg/pr18241-3.c: Likewise.
	* gcc.dg/pr18241-4.c: Likewise.
	* gcc.dg/pr18241-5.c: Likewise.

diff -rup -x CVS -x RCS -x '*.o' -x '*.info*' -x '*.html*' -x '*.elc' -x '*.dvi' -x '*.orig' -x '*~' -x version.el gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-1.c gcc-20050109/gcc/testsuite/gcc.dg/pr18241-1.c
--- gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-1.c	2005-01-08 19:31:39.000000000 +0100
+++ gcc-20050109/gcc/testsuite/gcc.dg/pr18241-1.c	2005-01-09 11:40:57.640123288 +0100
@@ -1,4 +1,4 @@
-/* { dg-do execute } */
+/* { dg-do run } */
 /* { dg-options "-std=gnu99 -Wall -Wextra -O1" } */ 
 
 extern void *memset (void*, int, unsigned long);
diff -rup -x CVS -x RCS -x '*.o' -x '*.info*' -x '*.html*' -x '*.elc' -x '*.dvi' -x '*.orig' -x '*~' -x version.el gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-2.c gcc-20050109/gcc/testsuite/gcc.dg/pr18241-2.c
--- gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-2.c	2005-01-08 19:31:39.000000000 +0100
+++ gcc-20050109/gcc/testsuite/gcc.dg/pr18241-2.c	2005-01-09 11:41:05.837899377 +0100
@@ -1,4 +1,4 @@
-/* { dg-do execute } */
+/* { dg-do run } */
 /* { dg-options "-std=gnu99 -Wall -Wextra -O1" } */ 
 
 extern void *memset (void*, int, unsigned long);
diff -rup -x CVS -x RCS -x '*.o' -x '*.info*' -x '*.html*' -x '*.elc' -x '*.dvi' -x '*.orig' -x '*~' -x version.el gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-3.c gcc-20050109/gcc/testsuite/gcc.dg/pr18241-3.c
--- gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-3.c	2005-01-08 19:31:39.000000000 +0100
+++ gcc-20050109/gcc/testsuite/gcc.dg/pr18241-3.c	2005-01-09 11:41:13.496821504 +0100
@@ -1,4 +1,4 @@
-/* { dg-do execute } */
+/* { dg-do run } */
 /* { dg-options "-O1" } */ 
 
 void abort (void);
diff -rup -x CVS -x RCS -x '*.o' -x '*.info*' -x '*.html*' -x '*.elc' -x '*.dvi' -x '*.orig' -x '*~' -x version.el gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-4.c gcc-20050109/gcc/testsuite/gcc.dg/pr18241-4.c
--- gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-4.c	2005-01-08 19:31:39.000000000 +0100
+++ gcc-20050109/gcc/testsuite/gcc.dg/pr18241-4.c	2005-01-09 11:41:21.388680290 +0100
@@ -1,4 +1,4 @@
-/* { dg-do execute } */
+/* { dg-do run } */
 /* { dg-options "-O1" } */ 
 
 void abort (void);
diff -rup -x CVS -x RCS -x '*.o' -x '*.info*' -x '*.html*' -x '*.elc' -x '*.dvi' -x '*.orig' -x '*~' -x version.el gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-5.c gcc-20050109/gcc/testsuite/gcc.dg/pr18241-5.c
--- gcc-20050109.orig/gcc/testsuite/gcc.dg/pr18241-5.c	2005-01-08 19:31:39.000000000 +0100
+++ gcc-20050109/gcc/testsuite/gcc.dg/pr18241-5.c	2005-01-09 11:41:31.001072070 +0100
@@ -1,4 +1,4 @@
-/* { dg-do execute } */
+/* { dg-do run } */
 /* { dg-options "-O1" } */ 
 
 void abort (void);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]