Commit 7fd6694b by Richard Henderson Committed by Richard Henderson

re PR middle-end/23312 (ACATS ICE (32) gimplify_one_sizepos, at gimplify.c:4659)

        PR middle-end/23312
        * gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE
        before using TYPE_IS_SIZETYPE.

From-SVN: r102997
parent 4ead2a39
2005-08-11 Richard Henderson <rth@redhat.com>
PR middle-end/23312
* gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE
before using TYPE_IS_SIZETYPE.
2005-08-11 Richard Henderson <rth@redhat.com>
PR target/22225
* config/alpha/alpha.c (alphaev4_insn_pipe): Add take pipes for
insn types not present on ev4.
......
......@@ -4634,7 +4634,9 @@ gimplify_one_sizepos (tree *expr_p, tree *stmt_p)
type-stripping code with this knowledge because it doesn't matter
for the bulk of GENERIC/GIMPLE. It only matters that TYPE_SIZE_UNIT
and friends retain their "sizetype-ness". */
if (TREE_TYPE (expr) != type && TYPE_IS_SIZETYPE (type))
if (TREE_TYPE (expr) != type
&& TREE_CODE (type) == INTEGER_TYPE
&& TYPE_IS_SIZETYPE (type))
{
tree tmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment