mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 14:21:14 +08:00
re PR target/33062 (ICE in emit_move_insn and expand_call with -fdefault-integer-8)
PR target/33062 * pa.c (function_value): Use GET_MODE_BITSIZE instead of TYPE_PRECISION. From-SVN: r128516
This commit is contained in:
parent
4934454bed
commit
2ae88ecd92
@ -1,3 +1,8 @@
|
||||
2007-09-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR target/33062
|
||||
* pa.c (function_value): Use GET_MODE_BITSIZE instead of TYPE_PRECISION.
|
||||
|
||||
2007-09-15 Dorit Nuzman <dorit@il.ibm.com>
|
||||
|
||||
* tree-vect-transform.c (vect_get_vec_defs_for_stmt_copy): check if
|
||||
|
@ -9075,7 +9075,7 @@ function_value (const_tree valtype, const_tree func ATTRIBUTE_UNUSED)
|
||||
}
|
||||
|
||||
if ((INTEGRAL_TYPE_P (valtype)
|
||||
&& TYPE_PRECISION (valtype) < BITS_PER_WORD)
|
||||
&& GET_MODE_BITSIZE (TYPE_MODE (valtype)) < BITS_PER_WORD)
|
||||
|| POINTER_TYPE_P (valtype))
|
||||
valmode = word_mode;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user