------- Comment #3 from cvs-commit at gcc dot gnu dot org  2005-10-21 15:46 
-------
Subject: Bug 22419

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]   2005-10-21 15:46:19

Modified files:
        gcc/ada        : ChangeLog utils2.c gigi.h trans.c 

Log message:
        PR ada/21937
        PR ada/22328
        PR ada/22381
        PR ada/22383
        PR ada/22419
        PR ada/22420
        * utils2.c (build_return_expr): New helper function.
        * gigi.h (build_return_expr): Declare it.
        * trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead
        of manually building the RETURN_EXPR tree.
        (call_to_gnu): Pass MODIFY_EXPR through build_binary_op.
        (gnat_to_gnu) <N_Return_Statement>: Pass MODIFY_EXPR through
        build_binary_op for the "target pointer" case.  Use build_return_expr
        instead of manually building the RETURN_EXPR tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&r1=1.685&r2=1.686
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/utils2.c.diff?cvsroot=gcc&r1=1.50&r2=1.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/gigi.h.diff?cvsroot=gcc&r1=1.38&r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/trans.c.diff?cvsroot=gcc&r1=1.102&r2=1.103


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22419

Reply via email to