* trans.c (call_to_gnu):Invoke the addressable_p predicate only
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 13 Jan 2008 21:00:39 +0000 (21:00 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 13 Jan 2008 21:00:39 +0000 (21:00 +0000)
commit08ffbdad7e2ea994a27156bf3315c2bd8f4a9876
treeccaa43f2838bf1a1c50299fdc2c0970775cd3b56
parent2cb207f7f387df9b17fbebe76d09991e20d6e880
* trans.c (call_to_gnu):Invoke the addressable_p predicate only
when necessary.  Merge some conditional statements.  Update comments.
Rename unchecked_convert_p local variable to suppress_type_conversion.
Do not suppress conversions in the In case.
(addressable_p) <VIEW_CONVERT_EXPR>: Do not take alignment issues
into account on non strict-alignment platforms.

From-SVN: r131510
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/ada/gigi.h
gcc/ada/trans.c
gcc/ada/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/unchecked_convert1.adb [new file with mode: 0644]