public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: fix for x86-64 failure of testsuite/gcc.dg/titype-1.c
@ 2004-06-09 17:18 Jan Beulich
  2004-06-09 17:18 ` Paolo Carlini
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jan Beulich @ 2004-06-09 17:18 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: gcc-patches

Yes, I did. But with all these burocratic rules I'm getting close to
give up publishing fixes for bugs... I understand this for large scale
changes, but for one-liners like this it doesn't seem appropriate. After
all, keeping local stuff in sync with the cvs is not effortless, however
much you try to automate it, especially when the number of changes you
have on top of that is high. Or maybe I just don't know about the magics
to resolve colliding patches automatically... Sorry, Jan

>>> Paolo Carlini <pcarlini@suse.de> 09.06.04 17:40:13 >>>
Jan Beulich wrote:

>--- /usr/local/src/gcc-3.4.0/gcc/config/i386/i386.c	2004-02-25
>  
>
Did you get my message pointing out that, as a rule, patches should be

diffed
against current CVS sources?

Thanks,
Paolo.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* fix for x86-64 failure of testsuite/gcc.dg/titype-1.c
@ 2004-06-09 17:08 Jan Beulich
  2004-06-09 17:17 ` Paolo Carlini
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Beulich @ 2004-06-09 17:08 UTC (permalink / raw)
  To: gcc-patches

The code in ix86_va_arg() previously assumed in once place that when
need_temp was set, container would always be a MEM (in another place,
the case of this being a register was explicitly excluded). The patch
below generally forces need_temp to off when the container for the
argument is a register, which fixes the failure of the test mentioned in
the subject. Regression tested on x86_64-unknown-linux-gnu.

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

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

--- /usr/local/src/gcc-3.4.0/gcc/config/i386/i386.c	2004-02-25
01:40:54.000000000 +0100
+++ 3.4.0/gcc/config/i386/i386.c	2004-06-09 16:00:48.338662096
+0200
@@ -3180,7 +3190,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] 6+ messages in thread

end of thread, other threads:[~2004-06-10 14:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-09 17:18 fix for x86-64 failure of testsuite/gcc.dg/titype-1.c Jan Beulich
2004-06-09 17:18 ` Paolo Carlini
2004-06-09 19:53 ` Jason Merrill
2004-06-10 15:44 ` Gerald Pfeifer
  -- strict thread matches above, loose matches on Subject: below --
2004-06-09 17:08 Jan Beulich
2004-06-09 17:17 ` Paolo Carlini

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).