------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-17 15:21 ------- Subject: Bug 19140
CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-17 15:19:38 Modified files: gcc/ada : ChangeLog trans.c Log message: PR ada/19140 Backport from mainline: 2005-03-15 Eric Botcazou <[EMAIL PROTECTED]> * trans.c (gnat_to_gnu) <N_Return_Statement>: Restructure. Set gnu_result to NULL_TREE on entry. If the function returns "by target", dereference the target pointer using the type of the actual return value. <all>: Be prepared for a null gnu_result. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.638.4.4&r2=1.638.4.5 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.90&r2=1.90.6.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19140