[Bug target/55224] [4.8 Regression] FAIL: gcc.target/i386/tailcall-1.c scan-assembler jmp
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 7 15:23:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55224
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |i686
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |ubizjak at gmail dot com
|gnu.org |
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2012-11-07 15:23:17 UTC ---
(In reply to comment #0)
> On Linux/ia32, revision 193229:
>
> http://gcc.gnu.org/ml/gcc-cvs/2012-11/msg00176.html
>
> caused:
>
> FAIL: gcc.target/i386/tailcall-1.c scan-assembler jmp
The referred revision removed a bit too much. Following patch fixes the
problem:
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c (revision 193296)
+++ config/i386/i386.c (working copy)
@@ -4638,6 +4638,8 @@ ix86_function_ok_for_sibcall (tree decl, tree exp)
if (!rtx_equal_p (a, b))
return false;
}
+ else if (VOID_TYPE_P (TREE_TYPE (DECL_RESULT (cfun->decl))))
+ ;
else if (!rtx_equal_p (a, b))
return false;
More information about the Gcc-bugs
mailing list