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] Handle builtin functions with pointer args/returns in PTA and the alias oracle


On Wed, 2009-06-24 at 11:05 +0200, Richard Guenther wrote:

> 
> I'd like it to be in the torture, but gcc.dg torture with
> skipping -O0 works for me.
> 
> Richard.

So something like this would be OK if it passes testing?


2009-06-24  Steve Ellcey  <sje@cup.hp.com>

        * gcc.c-torture/execute/20090618-1.c: add dg-run and
        dg-skip-if and move to ...
        * gcc.dg/torture/20090618-1.c.


Index: gcc.c-torture/execute/20090618-1.c
===================================================================
--- gcc.c-torture/execute/20090618-1.c  (revision 148888)
+++ gcc.c-torture/execute/20090618-1.c  (working copy)
@@ -1,3 +1,6 @@
+/* { dg-do run } */
+/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
+
 extern void abort (void);
 
 struct X { int *p; int *q; };


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