This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/18987] [4.0 regression] [ia64] Extra '.restore sp' in tail call


------- Additional Comments From steven at gcc dot gnu dot org  2004-12-15 21:32 -------
Is this really the right test case?  Your output has line 19, but 
the test case only has 4 lines.  And I've done this: 
 
 
$ cat f.i 
static void do_date (char *); 
void rfc822_date (char *date) 
{ 
  do_date (date); 
} 
$ ./xgcc -S -B. -O2 -fno-omit-frame-pointer f.i -w 
$ ./xgcc -B. --version 
xgcc (GCC) 4.0.0 20041215 (experimental) 
Copyright (C) 2004 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions.  There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 
$ cat f.s 
        .file   "f.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 20041215 (experimental)" 
 

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]