Files
gcc-reflection/gcc/testsuite/gnat.dg/array23_pkg3.ads
Eric Botcazou 966b587e0b stor-layout.c (skip_simple_constant_arithmetic): Move to...
* stor-layout.c (skip_simple_constant_arithmetic): Move to...
	* tree.c (skip_simple_constant_arithmetic): ...here and make public.
	(skip_simple_arithmetic): Tidy up.
	* tree.h (skip_simple_constant_arithmetic): Declare.
ada/
	* gcc-interface/decl.c (elaborate_expression_1): Skip only constant
	arithmetics when looking for a read-only variable in the expression.

From-SVN: r197815
2013-04-11 16:15:25 +00:00

6 lines
65 B
Ada

package Array23_Pkg3 is
C0 : Natural := 2;
end Array23_Pkg3;