re PR c/2035 (ICE in extract_bit_field, at expmed.c:1115)
PR c/2035 * expmed.c (extract_bit_field): Fall through to generic code rather than aborting on subreg special case. From-SVN: r52777
This commit is contained in:
parent
6bfd0c63fe
commit
28ce94d46b
@ -1,3 +1,9 @@
|
||||
2002-04-25 Richard Henderson <rth@redhat.com>
|
||||
|
||||
PR c/2035
|
||||
* expmed.c (extract_bit_field): Fall through to generic code rather
|
||||
than aborting on subreg special case.
|
||||
|
||||
2002-04-25 David S. Miller <davem@redhat.com>
|
||||
|
||||
* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
|
||||
|
@ -1144,7 +1144,7 @@ extract_bit_field (str_rtx, bitsize, bitnum, unsignedp,
|
||||
/* Else we've got some float mode source being extracted into
|
||||
a different float mode destination -- this combination of
|
||||
subregs results in Severe Tire Damage. */
|
||||
abort ();
|
||||
goto no_subreg_mode_swap;
|
||||
}
|
||||
if (GET_CODE (op0) == REG)
|
||||
op0 = gen_rtx_SUBREG (mode1, op0, byte_offset);
|
||||
@ -1155,6 +1155,7 @@ extract_bit_field (str_rtx, bitsize, bitnum, unsignedp,
|
||||
return convert_to_mode (tmode, op0, unsignedp);
|
||||
return op0;
|
||||
}
|
||||
no_subreg_mode_swap:
|
||||
|
||||
/* Handle fields bigger than a word. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user