This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] More optimization testcases
- From: law at redhat dot com
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Aug 2003 11:42:34 -0600
- Subject: Re: [tree-ssa] More optimization testcases
- Reply-to: law at redhat dot com
In message <wvnlltyn7se.fsf@talisman.cambridge.redhat.com>, Richard Sandiford w
rites:
>law@redhat.com writes:
>> + /* { dg-do compile */
> ^^^ no }
>
>Noticed a few tests like this ;). Not sure whether it makes
>any difference...
Opps. Fixed via:
* gcc.dg/tree-ssa/*.c: Add missing close braces to various tests.
Index: 20030530-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030530-2.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030530-2.c
*** 20030530-2.c 11 Jun 2003 14:05:20 -0000 1.1.2.1
--- 20030530-2.c 12 Aug 2003 17:28:55 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030611-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030611-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030611-1.c
*** 20030611-1.c 11 Jun 2003 18:37:17 -0000 1.1.2.1
--- 20030611-1.c 12 Aug 2003 17:28:55 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
extern int square (int) __attribute__ ((__const__));
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
extern int square (int) __attribute__ ((__const__));
Index: 20030703-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030703-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030703-1.c
*** 20030703-1.c 15 Jul 2003 19:24:51 -0000 1.1.2.1
--- 20030703-1.c 12 Aug 2003 17:28:55 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030703-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030703-2.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030703-2.c
*** 20030703-2.c 15 Jul 2003 19:24:51 -0000 1.1.2.1
--- 20030703-2.c 12 Aug 2003 17:28:55 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
union tree_node;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
union tree_node;
Index: 20030708-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030708-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030708-1.c
*** 20030708-1.c 15 Jul 2003 19:24:51 -0000 1.1.2.1
--- 20030708-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
typedef struct rtx_def *rtx;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
typedef struct rtx_def *rtx;
Index: 20030709-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030709-1.c,v
retrieving revision 1.1.2.2
diff -c -3 -p -r1.1.2.2 20030709-1.c
*** 20030709-1.c 29 Jul 2003 15:23:37 -0000 1.1.2.2
--- 20030709-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-optimized" } */
static int copying_arguments;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */
static int copying_arguments;
Index: 20030709-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030709-2.c,v
retrieving revision 1.1.2.2
diff -c -3 -p -r1.1.2.2 20030709-2.c
*** 20030709-2.c 16 Jul 2003 22:57:49 -0000 1.1.2.2
--- 20030709-2.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
Index: 20030709-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030709-3.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030709-3.c
*** 20030709-3.c 15 Jul 2003 19:24:51 -0000 1.1.2.1
--- 20030709-3.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030710-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030710-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030710-1.c
*** 20030710-1.c 15 Jul 2003 19:24:51 -0000 1.1.2.1
--- 20030710-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
union tree_node;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
union tree_node;
Index: 20030711-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030711-1.c,v
retrieving revision 1.1.2.2
diff -c -3 -p -r1.1.2.2 20030711-1.c
*** 20030711-1.c 16 Jul 2003 20:39:08 -0000 1.1.2.2
--- 20030711-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030711-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030711-2.c,v
retrieving revision 1.1.2.2
diff -c -3 -p -r1.1.2.2 20030711-2.c
*** 20030711-2.c 29 Jul 2003 13:50:01 -0000 1.1.2.2
--- 20030711-2.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030711-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030711-3.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030711-3.c
*** 20030711-3.c 15 Jul 2003 19:24:51 -0000 1.1.2.1
--- 20030711-3.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030714-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030714-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030714-1.c
*** 20030714-1.c 15 Jul 2003 19:24:51 -0000 1.1.2.1
--- 20030714-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
Index: 20030728-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030728-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030728-1.c
*** 20030728-1.c 28 Jul 2003 23:11:42 -0000 1.1.2.1
--- 20030728-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O2 -fdump-tree-optimized" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
Index: 20030729-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030729-1.c,v
retrieving revision 1.1.2.2
diff -c -3 -p -r1.1.2.2 20030729-1.c
*** 20030729-1.c 31 Jul 2003 00:35:06 -0000 1.1.2.2
--- 20030729-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
union tree_node;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
union tree_node;
Index: 20030730-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030730-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030730-1.c
*** 20030730-1.c 31 Jul 2003 00:35:06 -0000 1.1.2.1
--- 20030730-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O2 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-ssa" } */
Index: 20030730-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030730-2.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030730-2.c
*** 20030730-2.c 31 Jul 2003 00:35:06 -0000 1.1.2.1
--- 20030730-2.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O2 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-ssa" } */
Index: 20030731-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030731-2.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030731-2.c
*** 20030731-2.c 5 Aug 2003 23:02:21 -0000 1.1.2.1
--- 20030731-2.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ccp" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ccp" } */
Index: 20030807-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-1.c
*** 20030807-1.c 11 Aug 2003 22:43:59 -0000 1.1.2.1
--- 20030807-1.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
Index: 20030807-10.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-10.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-10.c
*** 20030807-10.c 12 Aug 2003 03:45:44 -0000 1.1.2.1
--- 20030807-10.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030807-11.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-11.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-11.c
*** 20030807-11.c 12 Aug 2003 15:57:58 -0000 1.1.2.1
--- 20030807-11.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
Index: 20030807-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-2.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-2.c
*** 20030807-2.c 11 Aug 2003 22:43:59 -0000 1.1.2.1
--- 20030807-2.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030807-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-3.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-3.c
*** 20030807-3.c 11 Aug 2003 17:49:23 -0000 1.1.2.1
--- 20030807-3.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
typedef unsigned int cppchar_t;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
typedef unsigned int cppchar_t;
Index: 20030807-4.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-4.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-4.c
*** 20030807-4.c 12 Aug 2003 03:45:44 -0000 1.1.2.1
--- 20030807-4.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
typedef struct cpp_reader cpp_reader;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
typedef struct cpp_reader cpp_reader;
Index: 20030807-5.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-5.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-5.c
*** 20030807-5.c 11 Aug 2003 16:20:16 -0000 1.1.2.1
--- 20030807-5.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
struct rtx_def;
Index: 20030807-6.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-6.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-6.c
*** 20030807-6.c 12 Aug 2003 15:57:58 -0000 1.1.2.1
--- 20030807-6.c 12 Aug 2003 17:28:56 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030807-7.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-7.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-7.c
*** 20030807-7.c 12 Aug 2003 15:57:58 -0000 1.1.2.1
--- 20030807-7.c 12 Aug 2003 17:28:57 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
Index: 20030807-9.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030807-9.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030807-9.c
*** 20030807-9.c 12 Aug 2003 15:57:58 -0000 1.1.2.1
--- 20030807-9.c 12 Aug 2003 17:28:57 -0000
***************
*** 1,4 ****
! /* { dg-do compile */
/* { dg-options "-O1 -fdump-tree-ssa" } */
static void
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ssa" } */
static void
Index: ssa-ccp-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/ssa-ccp-2.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 ssa-ccp-2.c
*** ssa-ccp-2.c 16 Jul 2003 15:18:35 -0000 1.1.2.1
--- ssa-ccp-2.c 12 Aug 2003 17:28:57 -0000
***************
*** 1,4 ****
! /* { dg-do compile }*/
/* { dg-options "-O1 -fdump-tree-ccp" } */
extern void link_error (void);
--- 1,4 ----
! /* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-ccp" } */
extern void link_error (void);