trans.c (fold_constant_decl_in_expr): If the index is not itself constant then bail...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 18 Nov 2015 18:19:57 +0000 (18:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 18 Nov 2015 18:19:57 +0000 (18:19 +0000)
commita239279ee574a15ed79d27b48f835c3db45a593f
tree03a87a3b1bf91bdcddd818f9c42aab84c74228dc
parent70318db4b196d0937ee62e5c34b0b478d3e69816
trans.c (fold_constant_decl_in_expr): If the index is not itself constant then bail out.

* gcc-interface/trans.c (fold_constant_decl_in_expr) <ARRAY_REF>: If
the index is not itself constant then bail out.

From-SVN: r230558
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c