This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/19140] ACATS c37402a segfaults at runtime


------- 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:	ebotcazou@gcc.gnu.org	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  <ebotcazou@adacore.com>
	* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]