* gcc-interface/utils2.c (build_simple_component_ref): Do not look
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jul 2012 08:49:54 +0000 (08:49 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jul 2012 08:49:54 +0000 (08:49 +0000)
commit0ceb8ef3fca66e5cbd929f2d6c8a39c38995d7e1
tree50dbff5174357134e5765f52d37d701d41e0be34
parent265200d0ccd6e5a4f57f9a79f74abfe8c0120574
* gcc-interface/utils2.c (build_simple_component_ref): Do not look
through an extension if the type contains a placeholder.

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