aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-affine.h
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2007-07-30 09:28:14 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2007-07-30 02:28:14 -0700
commit5c24ddaf36be1236f276269d356257d59ff860b3 (patch)
tree2bc849178633a1d10806791d26cd3af88a6bcfa0 /gcc/tree-affine.h
parentcef44ee25f2609eaa6104a6d4be11b08380bd57e (diff)
downloadgcc-5c24ddaf36be1236f276269d356257d59ff860b3.zip
gcc-5c24ddaf36be1236f276269d356257d59ff860b3.tar.gz
gcc-5c24ddaf36be1236f276269d356257d59ff860b3.tar.bz2
re PR tree-optimization/32527 (ICE in build2_stat, at tree.c:3074)
2007-07-30 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32527 * tree-affine.h (aff_tree): The type of rest is sizetype for types of pointers. * tree-affine.c (aff_combination_scale): If type is a pointer type, use sizetype for rest. (aff_combination_add_elt): Likewise. Don't specialize pointer types. (aff_combination_convert): Don't convert rest for pointer types. From-SVN: r127058
Diffstat (limited to 'gcc/tree-affine.h')
-rw-r--r--gcc/tree-affine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-affine.h b/gcc/tree-affine.h
index 9bcfa5e..5da34be 100644
--- a/gcc/tree-affine.h
+++ b/gcc/tree-affine.h
@@ -53,7 +53,8 @@ typedef struct affine_tree_combination
struct aff_comb_elt elts[MAX_AFF_ELTS];
/* Remainder of the expression. Usually NULL, used only if there are more
- than MAX_AFF_ELTS elements. Type of REST must be TYPE. */
+ than MAX_AFF_ELTS elements. Type of REST will be either sizetype for
+ TYPE of POINTER_TYPEs or TYPE. */
tree rest;
} aff_tree;