]> git.ipfire.org Git - thirdparty/gcc.git/commit
trans.c (call_to_gnu): When creating the copy for a non-addressable parameter passed...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 20 Apr 2009 08:14:36 +0000 (08:14 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 20 Apr 2009 08:14:36 +0000 (08:14 +0000)
commit56fe7b052dda1139d25bddad2e9fe9cb6ea222bf
tree12b07c2e67856fa1453bb4666308a9705b08eba0
parent9fcf2a0bdc78fbb25b2eb2feb7bd19caebcc82bf
trans.c (call_to_gnu): When creating the copy for a non-addressable parameter passed by reference...

* gcc-interface/trans.c (call_to_gnu): When creating the copy for a
non-addressable parameter passed by reference, do not convert the
actual if its type is already the nominal type, unless it is of
self-referential size.

From-SVN: r146367
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/rep_clause3.adb [new file with mode: 0644]