egcs-2.93.19 19990420, new sparc testsuite failures w/nested funcs
John Wehle
john@feith.com
Fri Apr 30 23:15:00 GMT 1999
>The new failures look like this:
>
> > % gcc -O execute/nestfunc-1.c
> > execute/nestfunc-1.c: In function `f':
> > execute/nestfunc-1.c:22: Internal compiler error in
> > `leaf_renumber_regs_insn', at final.c:4096
> > Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
> > See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
>
> Could it be related to the following recent changes?
Yep. It looks like current_function_uses_only_leaf_regs isn't always
being cleared. Please try the enclosed patch.
*** toplev.c.ORIGINAL Sat Apr 17 19:09:02 1999
--- toplev.c Wed Apr 21 17:56:43 1999
*************** rest_of_compilation (decl)
*** 4240,4247 ****
}
#ifdef LEAF_REGISTERS
! if (optimize > 0 && only_leaf_regs_used () && leaf_function_p ())
! current_function_uses_only_leaf_regs = 1;
#endif
/* One more attempt to remove jumps to .+1
--- 4240,4247 ----
}
#ifdef LEAF_REGISTERS
! current_function_uses_only_leaf_regs
! = optimize > 0 && only_leaf_regs_used () && leaf_function_p ();
#endif
/* One more attempt to remove jumps to .+1
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------
More information about the Gcc-bugs
mailing list