Avoid GNU C extension
authorBernd Schmidt <bernds@cygnus.co.uk>
Fri, 26 Nov 1999 11:44:37 +0000 (11:44 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Fri, 26 Nov 1999 11:44:37 +0000 (11:44 +0000)
From-SVN: r30671

gcc/ChangeLog
gcc/loop.c

index af284aab1333834a8bb85dcebc2e221e36fcbd9f..7b12c263bb844effd862e9e4585a6d38dfb0f6f8 100644 (file)
@@ -1,3 +1,7 @@
+1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * loop.c (try_copy_prop): Avoid GNU C extension.
+
 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
 
        * except.c (init_eh_for_function): But still zero
index a1a3803086adf8983a9d2cb69bbd82241d87ea39..88cf77a92a83dd015971b04deec1e4d3290ae959 100644 (file)
@@ -9961,7 +9961,12 @@ try_copy_prop (scan_start, loop_top, end, replacement, regno)
        insn = next_insn_in_loop (insn, scan_start, end, loop_top))
     {
       rtx set;
-      rtx array[3] = { regno_reg_rtx[regno], replacement, insn };
+      rtx array[3];
+
+      array[0] = regno_reg_rtx[regno];
+      array[1] = replacement;
+      array[2] = insn;
+
       if (GET_RTX_CLASS (GET_CODE (insn)) != 'i')
        continue;
       set = single_set (insn);