re PR middle-end/65048 (ICE in add_phi_args_after_copy_edge, at tree-cfg.c)
authorJakub Jelinek <jakub@redhat.com>
Fri, 27 Feb 2015 14:34:18 +0000 (15:34 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 27 Feb 2015 14:34:18 +0000 (15:34 +0100)
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.

From-SVN: r221063

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

index fae312eb7bf67e9c364825b6075b106dc72ddc6d..cc86e37a1ba0717a290edcf6761d1309bfe525f1 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 391df5f3bdb9b132d64a1120e32033d5b1e976ba..2d9028d3ea9798f57572704d22d15aec385dbed9 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)
     {