public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* x86-64: handle 128-bit integers correctly when passed through ellipsis
@ 2004-07-06 14:33 Jan Beulich
  2004-07-08  6:27 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2004-07-06 14:33 UTC (permalink / raw)
  To: gcc-patches

This fixes "gcc.dg/titype-1.c (test for excess errors)".

bootstrapped and tested on x86_64-unknown-linux-gnu.

Jan

2004-07-06 Jan Beulich <jbeulich@novell.com>

	* config/i386/i386.c (ix86_gimplify_va_arg): Don't need
temporary for
	passing arguments the containers for which are registers.

---
/home/jbeulich/src/gcc/mainline/2004-07-05.10.09/gcc/config/i386/i386.c	2004-07-02
15:20:42.000000000 +0200
+++ 2004-07-05.10.09/gcc/config/i386/i386.c	2004-07-05
16:49:43.747238424 +0200
@@ -3255,7 +3255,7 @@
 		        &needed_intregs, &needed_sseregs);
 
 
-      need_temp = ((needed_intregs && TYPE_ALIGN (type) > 64)
+      need_temp = !REG_P (container) && ((needed_intregs && TYPE_ALIGN
(type) > 64)
 		   || TYPE_ALIGN (type) > 128);
 
       /* In case we are passing structure, verify that it is
consecutive block

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: x86-64: handle 128-bit integers correctly when passed through ellipsis
  2004-07-06 14:33 x86-64: handle 128-bit integers correctly when passed through ellipsis Jan Beulich
@ 2004-07-08  6:27 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2004-07-08  6:27 UTC (permalink / raw)
  To: Jan Beulich; +Cc: gcc-patches

On Tue, Jul 06, 2004 at 04:32:03PM +0200, Jan Beulich wrote:
> 	* config/i386/i386.c (ix86_gimplify_va_arg): Don't need temporary for
> 	passing arguments the containers for which are registers.

Applied.


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-08  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-06 14:33 x86-64: handle 128-bit integers correctly when passed through ellipsis Jan Beulich
2004-07-08  6:27 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).