public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/23868] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
@ 2006-02-16 15:13 ` amylaar at gcc dot gnu dot org
  2006-02-16 15:19 ` [Bug middle-end/23868] [4.1/4.2 regression] " pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-02-16 15:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from amylaar at gcc dot gnu dot org  2006-02-16 15:13 -------
Mark, why isn't this marked as a regression?  Before this patch:
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg01422.html ,
we rather erred on the side of copying too much and possibly aborting.
Now we silently generate bad code.


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com
      Known to fail|                            |4.1.0 4.2.0


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


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

* [Bug middle-end/23868] [4.1/4.2 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
  2006-02-16 15:13 ` [Bug middle-end/23868] builtin_apply uses wrong mode for multi-hard-register return values amylaar at gcc dot gnu dot org
@ 2006-02-16 15:19 ` pinskia at gcc dot gnu dot org
  2006-02-18  6:50 ` mmitchel at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-16 15:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-02-16 15:19 -------
(In reply to comment #4)
> Mark, why isn't this marked as a regression?
Most likey because I and others did not notice it was a regression and could
not tell from either the patch or the bug report it was.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3
            Summary|builtin_apply uses wrong    |[4.1/4.2 regression]
                   |mode for multi-hard-register|builtin_apply uses wrong
                   |return values               |mode for multi-hard-register
                   |                            |return values
   Target Milestone|---                         |4.1.0


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


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

* [Bug middle-end/23868] [4.1/4.2 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
  2006-02-16 15:13 ` [Bug middle-end/23868] builtin_apply uses wrong mode for multi-hard-register return values amylaar at gcc dot gnu dot org
  2006-02-16 15:19 ` [Bug middle-end/23868] [4.1/4.2 regression] " pinskia at gcc dot gnu dot org
@ 2006-02-18  6:50 ` mmitchel at gcc dot gnu dot org
  2006-02-24  0:30 ` mmitchel at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-18  6:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug middle-end/23868] [4.1/4.2 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-02-18  6:50 ` mmitchel at gcc dot gnu dot org
@ 2006-02-24  0:30 ` mmitchel at gcc dot gnu dot org
  2006-05-25  2:47 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-24  0:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mmitchel at gcc dot gnu dot org  2006-02-24 00:26 -------
This issue will not be resolved in GCC 4.1.0; retargeted at GCC 4.1.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |4.1.1


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


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

* [Bug middle-end/23868] [4.1/4.2 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-02-24  0:30 ` mmitchel at gcc dot gnu dot org
@ 2006-05-25  2:47 ` mmitchel at gcc dot gnu dot org
  2006-07-24  5:45 ` echristo at apple dot com
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25  2:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mmitchel at gcc dot gnu dot org  2006-05-25 02:33 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.1                       |4.1.2


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


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

* [Bug middle-end/23868] [4.1/4.2 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2006-05-25  2:47 ` mmitchel at gcc dot gnu dot org
@ 2006-07-24  5:45 ` echristo at apple dot com
  2006-07-24  5:52 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: echristo at apple dot com @ 2006-07-24  5:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from echristo at apple dot com  2006-07-24 05:45 -------
Is this a problem with mainline? It has 4.2 regression marked on it.


-- 


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


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

* [Bug middle-end/23868] [4.1/4.2 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2006-07-24  5:45 ` echristo at apple dot com
@ 2006-07-24  5:52 ` pinskia at gcc dot gnu dot org
  2007-02-14  9:07 ` [Bug middle-end/23868] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-24  5:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-07-24 05:51 -------
(In reply to comment #8)
> Is this a problem with mainline? It has 4.2 regression marked on it.
Why do you think otherwise, the commits were all to a developmental branch and
the patch is up on the patch queue so why are you asking about the status of
this bug when it is obviously still there.


-- 


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


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

* [Bug middle-end/23868] [4.1/4.2/4.3 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2006-07-24  5:52 ` pinskia at gcc dot gnu dot org
@ 2007-02-14  9:07 ` mmitchel at gcc dot gnu dot org
  2008-01-07 17:43 ` steven at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug middle-end/23868] [4.1/4.2/4.3 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2007-02-14  9:07 ` [Bug middle-end/23868] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2008-01-07 17:43 ` steven at gcc dot gnu dot org
  2008-02-15 13:09 ` chrbr at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-01-07 17:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from steven at gcc dot gnu dot org  2008-01-07 17:29 -------
Though the patch from the patch URL probably does not apply anymore to the
current trunk, it looks entirely reasonable IMHO.


-- 


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


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

* [Bug middle-end/23868] [4.1/4.2/4.3 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2008-01-07 17:43 ` steven at gcc dot gnu dot org
@ 2008-02-15 13:09 ` chrbr at gcc dot gnu dot org
  2008-07-04 20:04 ` [Bug middle-end/23868] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: chrbr at gcc dot gnu dot org @ 2008-02-15 13:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from chrbr at gcc dot gnu dot org  2008-02-15 13:08 -------
If no one as started to do so, I'm resurecting this patch for the mainline, I
can test builtin-apply4.c on sh4.

btw, builtin-apply4.c doesn't currently fail with the testsuite because it is
restricted to { target { { i?86-*-* x86_64-*-* } && ilp32 } }


-- 

chrbr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kkojima at gcc dot gnu dot
                   |                            |org


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


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

* [Bug middle-end/23868] [4.2/4.3/4.4 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2008-02-15 13:09 ` chrbr at gcc dot gnu dot org
@ 2008-07-04 20:04 ` jsm28 at gcc dot gnu dot org
  2009-02-04 12:47 ` bonzini at gnu dot org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 20:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from jsm28 at gcc dot gnu dot org  2008-07-04 20:04 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 regression]|[4.2/4.3/4.4 regression]
                   |builtin_apply uses wrong    |builtin_apply uses wrong
                   |mode for multi-hard-register|mode for multi-hard-register
                   |return values               |return values
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug middle-end/23868] [4.2/4.3/4.4 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2008-07-04 20:04 ` [Bug middle-end/23868] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-02-04 12:47 ` bonzini at gnu dot org
  2009-03-31 18:57 ` [Bug middle-end/23868] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: bonzini at gnu dot org @ 2009-02-04 12:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from bonzini at gnu dot org  2009-02-04 12:46 -------
Christian, any news?


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chrbr at gcc dot gnu dot org


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


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

* [Bug middle-end/23868] [4.3/4.4/4.5 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2009-02-04 12:47 ` bonzini at gnu dot org
@ 2009-03-31 18:57 ` jsm28 at gcc dot gnu dot org
  2009-08-04 12:38 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 20+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 18:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from jsm28 at gcc dot gnu dot org  2009-03-31 18:56 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4/4.5 regression]|[4.3/4.4/4.5 regression]
                   |builtin_apply uses wrong    |builtin_apply uses wrong
                   |mode for multi-hard-register|mode for multi-hard-register
                   |return values               |return values
   Target Milestone|4.2.5                       |4.3.4


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


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

* [Bug middle-end/23868] [4.3/4.4/4.5 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2009-03-31 18:57 ` [Bug middle-end/23868] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:38 ` rguenth at gcc dot gnu dot org
  2010-02-19 12:06 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:17 ` [Bug middle-end/23868] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  15 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from rguenth at gcc dot gnu dot org  2009-08-04 12:26 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug middle-end/23868] [4.3/4.4/4.5 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2009-08-04 12:38 ` rguenth at gcc dot gnu dot org
@ 2010-02-19 12:06 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:17 ` [Bug middle-end/23868] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  15 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-19 12:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from rguenth at gcc dot gnu dot org  2010-02-19 12:05 -------
And nobody cares?


-- 


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


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

* [Bug middle-end/23868] [4.3/4.4/4.5/4.6 regression] builtin_apply uses wrong mode for multi-hard-register return values
       [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2010-02-19 12:06 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:17 ` rguenth at gcc dot gnu dot org
  15 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from rguenth at gcc dot gnu dot org  2010-05-22 18:10 -------
GCC 4.3.5 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.3.6


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


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

* [Bug middle-end/23868] builtin_apply uses wrong mode for multi-hard-register return values
  2005-09-13 19:35 [Bug middle-end/23868] New: " amylaar at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-09-14 21:30 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-14 21:31 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 20+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-14 21:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-14 21:31 -------
Subject: Bug 23868

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	sh-elf-4_1-branch
Changes by:	amylaar@gcc.gnu.org	2005-09-14 21:30:58

Modified files:
	gcc            : ChangeLog builtins.c mode-switching.c 
	                 target-def.h target.h targhooks.c targhooks.h 

Log message:
	2005-09-14  J"orn Rennecke <joern.rennecke@st.com>
	Kaz Kojima  <kkojima@gcc.gnu.org>
	
	PR middle-end/23868
	http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00129.html
	* target.h (struct gcc_target): Add new member calls.apply_result_mode.
	* target-def.h (TARGET_APPLY_RESULT_MODE): Define.
	(TARGET_CALLS): Add TARGET_APPLY_RESULT_MODE.
	* targhooks.c (regs.h, hard-reg-set.h): Include.
	(apply_result_mode_1reg, apply_result_mode_scanreg): New functions.
	* targhooks.h (apply_result_mode_1reg): Declare.
	(apply_result_mode_scanreg): Likewise.
	* buitins.c (apply_result_size): Use targetm.apply_result_mode.
	* doc/tm.texi (TARGET_APPLY_RESULT_MODE): Document.
	* mode-switching.c (create_pre_exit): Cope with USEs made by
	builtin_return which are wider than the last function result USE.
	
	2005-09-14  J"orn Rennecke <joern.rennecke@st.com>
	
	PR middle-end/23868
	http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00129.html
	* sh.c (sh_apply_result_mode): New function.
	(TARGET_APPLY_RESULT_MODE): Redefine.
	* sh.md (UNSPEC_CALL_RESULT): New constant.
	(untyped_call_result): New pattern.
	(untyped_call): Use it to make function result assignments visible.
	Remove expander predicate.
	(untyped_return): New pattern.
	
	* sh.h (HARD_REGNO_MODE_OK): Fix handling of DCmode.
	(LEGITIMIZE_RELOAD_ADDRESS): For TARGET_SHMEDIA32, reload
	inside of 64 bit reg+reg address as needed.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=2.8142.2.29&r2=2.8142.2.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtins.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.450.2.3&r2=1.450.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/mode-switching.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=2.5.2.2&r2=2.5.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/target-def.h.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.117.2.5&r2=1.117.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/target.h.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.129.2.4&r2=1.129.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/targhooks.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=2.38.4.3&r2=2.38.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/targhooks.h.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=2.27.4.3&r2=2.27.4.4



-- 


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


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

* [Bug middle-end/23868] builtin_apply uses wrong mode for multi-hard-register return values
  2005-09-13 19:35 [Bug middle-end/23868] New: " amylaar at gcc dot gnu dot org
  2005-09-13 19:35 ` [Bug middle-end/23868] " amylaar at gcc dot gnu dot org
  2005-09-13 19:58 ` pinskia at gcc dot gnu dot org
@ 2005-09-14 21:30 ` cvs-commit at gcc dot gnu dot org
  2005-09-14 21:31 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 20+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-14 21:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-14 21:29 -------
Subject: Bug 23868

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	sh-elf-4_1-branch
Changes by:	amylaar@gcc.gnu.org	2005-09-14 21:29:08

Modified files:
	gcc/config/sh  : sh.c sh.h sh.md 
	gcc/doc        : tm.texi 

Log message:
	2005-09-14  J"orn Rennecke <joern.rennecke@st.com>
	Kaz Kojima  <kkojima@gcc.gnu.org>
	
	PR middle-end/23868
	http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00129.html
	* target.h (struct gcc_target): Add new member calls.apply_result_mode.
	* target-def.h (TARGET_APPLY_RESULT_MODE): Define.
	(TARGET_CALLS): Add TARGET_APPLY_RESULT_MODE.
	* targhooks.c (regs.h, hard-reg-set.h): Include.
	(apply_result_mode_1reg, apply_result_mode_scanreg): New functions.
	* targhooks.h (apply_result_mode_1reg): Declare.
	(apply_result_mode_scanreg): Likewise.
	* buitins.c (apply_result_size): Use targetm.apply_result_mode.
	* doc/tm.texi (TARGET_APPLY_RESULT_MODE): Document.
	* mode-switching.c (create_pre_exit): Cope with USEs made by
	builtin_return which are wider than the last function result USE.
	
	2005-09-14  J"orn Rennecke <joern.rennecke@st.com>
	
	PR middle-end/23868
	http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00129.html
	* sh.c (sh_apply_result_mode): New function.
	(TARGET_APPLY_RESULT_MODE): Redefine.
	* sh.md (UNSPEC_CALL_RESULT): New constant.
	(untyped_call_result): New pattern.
	(untyped_call): Use it to make function result assignments visible.
	Remove expander predicate.
	(untyped_return): New pattern.
	
	* sh.h (HARD_REGNO_MODE_OK): Fix handling of DCmode.
	(LEGITIMIZE_RELOAD_ADDRESS): For TARGET_SHMEDIA32, reload
	inside of 64 bit reg+reg address as needed.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/sh.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.319.2.9&r2=1.319.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/sh.h.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.262.2.8&r2=1.262.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/sh.md.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.191.2.5&r2=1.191.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/tm.texi.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.421.2.5&r2=1.421.2.6



-- 


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


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

* [Bug middle-end/23868] builtin_apply uses wrong mode for multi-hard-register return values
  2005-09-13 19:35 [Bug middle-end/23868] New: " amylaar at gcc dot gnu dot org
  2005-09-13 19:35 ` [Bug middle-end/23868] " amylaar at gcc dot gnu dot org
@ 2005-09-13 19:58 ` pinskia at gcc dot gnu dot org
  2005-09-14 21:30 ` cvs-commit at gcc dot gnu dot org
  2005-09-14 21:31 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 19:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-13 19:58 -------
Confirmed, note I did add this to the patch queue:
http://www.dberlin.org/cgi-bin/patches.py

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-13 19:58:20
               date|                            |


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


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

* [Bug middle-end/23868] builtin_apply uses wrong mode for multi-hard-register return values
  2005-09-13 19:35 [Bug middle-end/23868] New: " amylaar at gcc dot gnu dot org
@ 2005-09-13 19:35 ` amylaar at gcc dot gnu dot org
  2005-09-13 19:58 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 20+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-09-13 19:35 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |08/msg00129.html
           Keywords|                            |patch


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


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

end of thread, other threads:[~2010-05-22 18:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23868-5394@http.gcc.gnu.org/bugzilla/>
2006-02-16 15:13 ` [Bug middle-end/23868] builtin_apply uses wrong mode for multi-hard-register return values amylaar at gcc dot gnu dot org
2006-02-16 15:19 ` [Bug middle-end/23868] [4.1/4.2 regression] " pinskia at gcc dot gnu dot org
2006-02-18  6:50 ` mmitchel at gcc dot gnu dot org
2006-02-24  0:30 ` mmitchel at gcc dot gnu dot org
2006-05-25  2:47 ` mmitchel at gcc dot gnu dot org
2006-07-24  5:45 ` echristo at apple dot com
2006-07-24  5:52 ` pinskia at gcc dot gnu dot org
2007-02-14  9:07 ` [Bug middle-end/23868] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2008-01-07 17:43 ` steven at gcc dot gnu dot org
2008-02-15 13:09 ` chrbr at gcc dot gnu dot org
2008-07-04 20:04 ` [Bug middle-end/23868] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-02-04 12:47 ` bonzini at gnu dot org
2009-03-31 18:57 ` [Bug middle-end/23868] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:38 ` rguenth at gcc dot gnu dot org
2010-02-19 12:06 ` rguenth at gcc dot gnu dot org
2010-05-22 18:17 ` [Bug middle-end/23868] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
2005-09-13 19:35 [Bug middle-end/23868] New: " amylaar at gcc dot gnu dot org
2005-09-13 19:35 ` [Bug middle-end/23868] " amylaar at gcc dot gnu dot org
2005-09-13 19:58 ` pinskia at gcc dot gnu dot org
2005-09-14 21:30 ` cvs-commit at gcc dot gnu dot org
2005-09-14 21:31 ` cvs-commit at gcc dot gnu dot org

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