OSDN Git Service

2007-12-03 Robert Dewar <dewar@adacore.com>
authorsam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2007 16:01:57 +0000 (16:01 +0000)
committersam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2007 16:01:57 +0000 (16:01 +0000)
commitb2a25df571038094efdd4d847090275122398f0e
treee42c486df579d12939520a69045db49086f57887
parent9657701b00cba41816454791967970d2417ce1e0
2007-12-03  Robert Dewar <dewar@adacore.com>
            Samuel Tardieu  <sam@rfc1149.net>

        gcc/ada/
     PR ada/34287
     * sem_util.adb (Safe_To_Capture_Value): Do not capture values
     of variables declared in a library-level package.

        gcc/testsuite/gnat.dg/
     PR ada/34287
     * check_elaboration_code.adb: New test.

     * bug_elaboration_code.ads, bug_elaboration_code.adb: New support
     files.

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