re PR bootstrap/42369 (Revision 155217 failed to bootstrap)
PR bootstrap/42369 * config/i386/i386.c (ix86_expand_special_args_builtin): Avoid using switch with CODE_FOR_lwp_lwp* cases. From-SVN: r155237
This commit is contained in:
parent
1f6a2cafda
commit
c4900c1037
2 changed files with 12 additions and 11 deletions
|
@ -1,5 +1,9 @@
|
|||
2009-12-14 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR bootstrap/42369
|
||||
* config/i386/i386.c (ix86_expand_special_args_builtin): Avoid
|
||||
using switch with CODE_FOR_lwp_lwp* cases.
|
||||
|
||||
* config/i386/i386-builtin-types.def (PVOID_FTYPE_VOID): Use
|
||||
DEF_FUNCTION_TYPE (PVOID) instead of DEF_FUNCTION_TYPE (PVOID, VOID).
|
||||
|
||||
|
|
|
@ -23836,19 +23836,16 @@ ix86_expand_special_args_builtin (const struct builtin_description *d,
|
|||
if (last_arg_constant && (i + 1) == nargs)
|
||||
{
|
||||
if (!match)
|
||||
switch (icode)
|
||||
{
|
||||
case CODE_FOR_lwp_lwpvalsi3:
|
||||
case CODE_FOR_lwp_lwpvaldi3:
|
||||
case CODE_FOR_lwp_lwpinssi3:
|
||||
case CODE_FOR_lwp_lwpinsdi3:
|
||||
{
|
||||
if (icode == CODE_FOR_lwp_lwpvalsi3
|
||||
|| icode == CODE_FOR_lwp_lwpinssi3
|
||||
|| icode == CODE_FOR_lwp_lwpvaldi3
|
||||
|| icode == CODE_FOR_lwp_lwpinsdi3)
|
||||
error ("the last argument must be a 32-bit immediate");
|
||||
return const0_rtx;
|
||||
|
||||
default:
|
||||
else
|
||||
error ("the last argument must be an 8-bit immediate");
|
||||
return const0_rtx;
|
||||
}
|
||||
return const0_rtx;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue