[Bug target/14454] [3.3/3.4/4.0 Regression] virtual function with vararg won't compile

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 13 14:04:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-13 14:04 -------
Subject: Bug 14454

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2004-10-13 14:04:33

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sparc.c sparc.md 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/g++.dg/inherit: thunk1.C 

Log message:
	PR target/14454
	* config/sparc/sparc.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Set to
	sparc_can_output_mi_thunk.
	(sparc_output_mi_thunk): Simplify handling of delta offset.  Add
	handling of vcall offset.
	(sparc_can_output_mi_thunk): New predicate.
	* doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Document VCALL_OFFSET.
	(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Delete.
	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New target hook.
	
	* config/sparc/sparc.c (emit_and_preserve): Preserve stack alignment.
	
	* config/sparc/sparc.md (movdi): Remove redundant test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5860&r2=2.5861
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&r1=1.338&r2=1.339
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.md.diff?cvsroot=gcc&r1=1.217&r2=1.218
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4441&r2=1.4442
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/inherit/thunk1.C.diff?cvsroot=gcc&r1=1.5&r2=1.6



-- 


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



More information about the Gcc-bugs mailing list