* gcc-interface/utils.c (update_pointer_to): Clear TYPE_POINTER_TO and
commit11583c932cbd496fd6c131f76b8da7d389de6381
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 2010 17:44:05 +0000 (25 17:44 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 2010 17:44:05 +0000 (25 17:44 +0000)
tree67216bfc58d92117407b469fde87c6996575c7b9
parent7fe27d24dc00f64e2e4c808709fede76a1eac75a
* gcc-interface/utils.c (update_pointer_to): Clear TYPE_POINTER_TO and
TYPE_REFERENCE_TO of the old type after redirecting its pointer and
reference types.

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