public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18987] New: [4.0 regression] [ia64] Extra '.restore sp' in tail call
@ 2004-12-14 15:42 schwab at suse dot de
  2004-12-14 15:43 ` [Bug target/18987] " schwab at suse dot de
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: schwab at suse dot de @ 2004-12-14 15:42 UTC (permalink / raw)
  To: gcc-bugs

$ cat osdep.i  
static void do_date (char *);  
void rfc822_date (char *date)  
{  
  do_date (date);  
}  
$ gcc -c -O2 -fno-omit-frame-pointer -w osdep.i  
osdep.s: Assembler messages:  
osdep.s:19: Error: Epilogue count of 4294967296 exceeds number of nested  
prologues (0)  
  
This is due to an extra '.restore sp' before the tail call.  
  
	.file	"osdep.i"  
	.pred.safe_across_calls p1-p5,p16-p63  
	.text  
	.align 16  
	.global rfc822_date#  
	.proc rfc822_date#  
rfc822_date:  
	.prologue 2, 2  
	.mii  
	nop 0  
	.vframe r2  
	mov r2 = r12  
	.body  
	;;  
	.restore sp  
	mov r12 = r2  
	;;  
	.mfb  
	.restore sp  
	.prologue  
	alloc r2 = ar.pfs, 0, 0, 1, 0  
	nop 0  
	br.sptk.many do_date#  
	;;  
	break.f 0  
	;;  
	.endp rfc822_date#  
	.ident	"GCC: (GNU) 4.0.0 20041214 (experimental)"

-- 
           Summary: [4.0 regression] [ia64] Extra '.restore sp' in tail call
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-*-linux


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


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

end of thread, other threads:[~2005-01-14 19:53 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-14 15:42 [Bug target/18987] New: [4.0 regression] [ia64] Extra '.restore sp' in tail call schwab at suse dot de
2004-12-14 15:43 ` [Bug target/18987] " schwab at suse dot de
2004-12-15 21:32 ` steven at gcc dot gnu dot org
2004-12-15 22:04 ` schwab at suse dot de
2004-12-17 13:00 ` pinskia at gcc dot gnu dot org
2004-12-18 13:18 ` steven at gcc dot gnu dot org
2004-12-18 13:30 ` steven at gcc dot gnu dot org
2004-12-20 11:46 ` steven at gcc dot gnu dot org
2004-12-20 20:13 ` davidm at hpl dot hp dot com
2004-12-22 22:47 ` debian-gcc at lists dot debian dot org
2004-12-22 22:50 ` [Bug target/18987] [3.3/3.4/4.0 " pinskia at gcc dot gnu dot org
2004-12-22 23:13 ` debian-gcc at lists dot debian dot org
2005-01-08  3:52 ` wilson at specifixinc dot com
2005-01-08  3:56 ` wilson at gcc dot gnu dot org
2005-01-08  4:47 ` gdr at integrable-solutions dot net
2005-01-11  3:44 ` cvs-commit at gcc dot gnu dot org
2005-01-11  4:06 ` wilson at specifixinc dot com
2005-01-11  7:07 ` [Bug target/18987] [3.3/3.4 " steven at gcc dot gnu dot org
2005-01-11 19:46 ` gdr at integrable-solutions dot net
2005-01-11 21:05 ` wilson at tuliptree dot org
2005-01-13  5:57 ` cvs-commit at gcc dot gnu dot org
2005-01-14 19:16 ` cvs-commit at gcc dot gnu dot org
2005-01-14 19:45 ` cvs-commit at gcc dot gnu dot org
2005-01-14 19:51 ` wilson at gcc dot gnu dot org
2005-01-14 19:53 ` wilson 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).