]> git.ipfire.org Git - thirdparty/gcc.git/commit
utils2.c (build_allocator): Set TREE_THIS_NOTRAP on the dereference of the pointer...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 26 Sep 2011 09:21:01 +0000 (09:21 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 26 Sep 2011 09:21:01 +0000 (09:21 +0000)
commitbdbebf669ee8257685c2b6d1c501e899cd20bbea
treed5eeb530594acca7eb7796e2ee4c250e186964a1
parent1aa291f7d1b8b9e89c4ad6be87e7553cb269c18f
utils2.c (build_allocator): Set TREE_THIS_NOTRAP on the dereference of the pointer to the storage area.

* gcc-interface/utils2.c (build_allocator): Set TREE_THIS_NOTRAP on the
dereference of the pointer to the storage area.  Remove useless type
conversions and factor out common code.

From-SVN: r179187
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt20.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt20.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt20_pkg.ads [new file with mode: 0644]