OSDN Git Service

* gcc-interface/utils.c (update_pointer_to): Return early if the old
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 May 2010 10:59:38 +0000 (10:59 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 May 2010 10:59:38 +0000 (10:59 +0000)
commitcfbbebf3da74eacec06d7f97c22a2f45193e58ac
treedbc1e0c1a27d3848e0e0979f31d510f914bb8efd
parent757a32376af48f84c11c3317e286061ab70abcc6
* gcc-interface/utils.c (update_pointer_to): Return early if the old
pointer already points to the new type.  Chain the old pointer and its
variants at the end of new pointer's chain after updating them.

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