public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/6466] [SPARC] backend uses bad types for frame size calculation.
       [not found] <20020425193600.6466.davem@redhat.com>
@ 2003-08-18  4:20 ` pinskia at gcc dot gnu dot org
  2003-11-04  8:50 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-18  4:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-18 04:20:28
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-18 04:20 -------
I can confirm this is still a problem on the mainline, compute_frame_size still takes an int 
and returns an int which is wrong when on SPARC64.


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

* [Bug target/6466] [SPARC] backend uses bad types for frame size calculation.
       [not found] <20020425193600.6466.davem@redhat.com>
  2003-08-18  4:20 ` [Bug target/6466] [SPARC] backend uses bad types for frame size calculation pinskia at gcc dot gnu dot org
@ 2003-11-04  8:50 ` ebotcazou at gcc dot gnu dot org
  2003-11-20  7:00 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-11-04  8:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2003-08-18 04:20:28         |2003-11-04 08:49:54
               date|                            |


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-11-04 08:49 -------
This is the cause of the failure of gcc.c-torture/compile/20031023-4.c on SPARC64.


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

* [Bug target/6466] [SPARC] backend uses bad types for frame size calculation.
       [not found] <20020425193600.6466.davem@redhat.com>
  2003-08-18  4:20 ` [Bug target/6466] [SPARC] backend uses bad types for frame size calculation pinskia at gcc dot gnu dot org
  2003-11-04  8:50 ` ebotcazou at gcc dot gnu dot org
@ 2003-11-20  7:00 ` ebotcazou at gcc dot gnu dot org
  2003-11-26  9:48 ` [Bug target/6466] backend uses bad type " cvs-commit at gcc dot gnu dot org
  2003-11-26  9:53 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-11-20  7:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-11-20 07:00 -------
I'm testing a complete patch. Rejoice :-)


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jakub at gcc dot gnu dot org|ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|NEW                         |ASSIGNED
   Target Milestone|---                         |3.4


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


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

* [Bug target/6466] backend uses bad type for frame size calculation.
       [not found] <20020425193600.6466.davem@redhat.com>
                   ` (2 preceding siblings ...)
  2003-11-20  7:00 ` ebotcazou at gcc dot gnu dot org
@ 2003-11-26  9:48 ` cvs-commit at gcc dot gnu dot org
  2003-11-26  9:53 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-26  9:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-26 09:48 -------
Subject: Bug 6466

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2003-11-26 09:48:22

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sparc-protos.h sparc.c 

Log message:
	PR target/6466
	* config/sparc/sparc-protos.h (compute_frame_size): New prototype.
	(sparc_flat_compute_frame_size): Likewise.
	(sparc_flat_save_restore): Move prototype...
	* config/sparc/sparc.c (sparc_flat_save_restore): ...here.
	(save_regs): New prototype.
	(build_big_number): Likewise.
	(apparent_fsize): Change type to HOST_WIDE_INT.
	(actual_fsize): Likewise.
	(frame_base_offset): Likewise.
	(build_big_number): Add support for HOST_BITS_PER_WIDE_INT == 64.
	Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
	[TARGET_ARCH64]: Use the sequence of sparc_emit_set_const64_longway
	to load a 64-bit constant.
	(sparc_nonflat_function_prologue): Change string descriptor to
	HOST_WIDE_INT_PRINT_DEC.  Change offset type to HOST_WIDE_INT.
	(output_restore_regs): Change offset type to HOST_WIDE_INT.
	(sparc_nonflat_function_epilogue): Change string descriptor to
	HOST_WIDE_INT_PRINT_DEC.  Use build_big_number.
	(output_sibcall): Change size type to HOST_WIDE_INT.  Use
	build_big_number.  Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
	(sparc_frame_info): Change types for several components.
	(sparc_flat_compute_frame_size): Update types according to previous
	change.
	(sparc_flat_function_prologue): Change string descriptor to
	HOST_WIDE_INT_PRINT_DEC.  Change offset type to int.  Use
	build_big_number.
	(sparc_flat_function_epilogue): Change offset type to int.
	Rename 'size1' into 'reg_offset1'.  Change string descriptor to
	HOST_WIDE_INT_PRINT_DEC.  Use build_big_number.  Change big number
	limit to 4096 instead of 4095.
	
	* config/sparc/sparc.c (mems_ok_for_ldd_peep): Change offset type to
	HOST_WIDE_INT.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1827&r2=2.1828
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc-protos.h.diff?cvsroot=gcc&r1=1.37&r2=1.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&r1=1.269&r2=1.270



-- 


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


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

* [Bug target/6466] backend uses bad type for frame size calculation.
       [not found] <20020425193600.6466.davem@redhat.com>
                   ` (3 preceding siblings ...)
  2003-11-26  9:48 ` [Bug target/6466] backend uses bad type " cvs-commit at gcc dot gnu dot org
@ 2003-11-26  9:53 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-11-26  9:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-11-26 09:53 -------
See http://gcc.gnu.org/ml/gcc-patches/2003-11/msg01808.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at gcc dot gnu dot|
                   |org                         |
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2003-11-26  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020425193600.6466.davem@redhat.com>
2003-08-18  4:20 ` [Bug target/6466] [SPARC] backend uses bad types for frame size calculation pinskia at gcc dot gnu dot org
2003-11-04  8:50 ` ebotcazou at gcc dot gnu dot org
2003-11-20  7:00 ` ebotcazou at gcc dot gnu dot org
2003-11-26  9:48 ` [Bug target/6466] backend uses bad type " cvs-commit at gcc dot gnu dot org
2003-11-26  9:53 ` ebotcazou 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).