OSDN Git Service

* gcc-interface/trans.c (gnat_to_gnu): Avoid making a SAVE_EXPR for
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 09:44:27 +0000 (09:44 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 2012 09:44:27 +0000 (09:44 +0000)
commit0c1dfc4bd6804aeb6f6e0848fca81809ad858f25
tree8b72c024f549eb65189d83149eef0e1725f5c97c
parent587b5d754fcfb69d227ca6ce5ff2cf834870bc64
* gcc-interface/trans.c (gnat_to_gnu): Avoid making a SAVE_EXPR for
a call to a function that returns an unconstrained type with default
discriminant. ¬†Similarly, avoid doing the conversion to the nominal

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