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: [PATCH] Fix PR42898


On Sun, 31 Jan 2010, Richard Guenther wrote:

> On Sun, 31 Jan 2010, Eric Botcazou wrote:
> 
> > > Ah, indeed - the issue is the looping and the compound-expr.
> > > Would you mind backporting your patch to the 4.4 and 4.3
> > > branch together with that testcase?
> > 
> > Will do.  Your testcase doens't seem to pass on the 4.3 branch at -O0.
> 
> Ah, we dont' have an optimized dump there.  I'll fix that.

Fixed as follows.

Richard.

2010-01-31  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/torture/pr42898.c: Skip -O0.

Index: gcc/testsuite/gcc.dg/torture/pr42898.c
===================================================================
--- gcc/testsuite/gcc.dg/torture/pr42898.c	(revision 156410)
+++ gcc/testsuite/gcc.dg/torture/pr42898.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
 /* { dg-options "-fdump-tree-optimized" } */
 
 struct hardware {


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