OSDN Git Service

* gcc-interfaces/decl.c (build_subst_list): Convert the expression of
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Oct 2009 10:20:06 +0000 (10:20 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Oct 2009 10:20:06 +0000 (10:20 +0000)
commit7c2043153fcc668b6b4465f9f66490144a4d3445
tree6335004f876cd0c17ec3b49656a9db78f4e4860f
parent5df12a52b3ff97d5aae2c652f76cc7aad3714785
* gcc-interfaces/decl.c (build_subst_list): Convert the expression of
the constraint to the type of the discriminant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153054 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr22.adb [new file with mode: 0644]