diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-09-15 19:30:50 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2007-09-15 19:30:50 +0000 |
commit | 2ae88ecd925ebe2d24884b474a1f19c89948a6f7 (patch) | |
tree | dba7cbbb89127c4976c22b759704e2fab84c1c92 /gcc | |
parent | 4934454bed73a1a770ae7d4cf9b16df9c8c7a720 (diff) | |
download | gcc-2ae88ecd925ebe2d24884b474a1f19c89948a6f7.zip gcc-2ae88ecd925ebe2d24884b474a1f19c89948a6f7.tar.gz gcc-2ae88ecd925ebe2d24884b474a1f19c89948a6f7.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71a8ad9..2f6520f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 24b798e..47de208 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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 |