PR tree-optimization/65048
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Feb 2015 14:34:18 +0000 (14:34 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Feb 2015 14:34:18 +0000 (14:34 +0000)
* gcc.dg/tree-ssa/ssa-dom-thread-9.c: Add -std=gnu89 to dg-options.
(foo): Use K&R style definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221063 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c

index fae312e..cc86e37 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/65048
+       * gcc.dg/tree-ssa/ssa-dom-thread-9.c: Add -std=gnu89 to dg-options.
+       (foo): Use K&R style definition.
+
 2015-02-27  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR target/65032
index 391df5f..2d9028d 100644 (file)
@@ -1,12 +1,13 @@
 /* PR 65048 */
 /* { dg-do compile } */
-/* { dg-options "-O3" } */
+/* { dg-options "-O3 -std=gnu89" } */
 
 int a, b, c, d;
 void fn (void);
 
 int
-foo (int x)
+foo (x)
+     int x;
 {
   switch (x)
     {