trans.c (Attribute_to_gnu): Look through a view conversion from constrained to uncons...
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 23 Nov 2012 11:06:07 +0000 (11:06 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 23 Nov 2012 11:06:07 +0000 (11:06 +0000)
commit9b17f12bdc0a1bdf922c02a2676cfcb95fb29d92
treeea25c897a8b0d34ef398ca515c72f77d002c3122
parent29e100b31a77dcee0c57f7438e3a71007b18b52b
trans.c (Attribute_to_gnu): Look through a view conversion from constrained to unconstrained form.

* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Look through
a view conversion from constrained to unconstrained form.

From-SVN: r193751
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr40.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr40.ads [new file with mode: 0644]