PR middle-end/50333
* tree-data-ref.c (split_constant_offset): Do not try to handle
ternary ops.
* gcc.dg/torture/pr50333.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178720
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-09-09 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/50333
+ * tree-data-ref.c (split_constant_offset): Do not try to handle
+ ternary ops.
+
2011-09-08 Andrew Stubbs <ams@codesourcery.com>
PR tree-optimization/50318
+2011-09-09 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/50333
+ * gcc.dg/torture/pr50333.c: New testcase.
+
2011-09-08 Andrew Stubbs <ams@codesourcery.com>
PR tree-optimization/50318
--- /dev/null
+/* { dg-do compile } */
+
+static inline void
+unext(unsigned int *_ui, unsigned _len, unsigned int _ui0)
+{
+ unsigned j = 1;
+ while (++j<_len)
+ ;
+ _ui[j-1]=_ui0;
+}
+unsigned int
+ncwrs_urow(unsigned _n, unsigned _k, unsigned int *_u)
+{
+ unsigned k;
+ for(k=2; k<_n; k++)
+ unext(_u+1,_k+1,1);
+}
*off = ssize_int (0);
STRIP_NOPS (exp);
- if (tree_is_chrec (exp))
+ if (tree_is_chrec (exp)
+ || get_gimple_rhs_class (TREE_CODE (exp)) == GIMPLE_TERNARY_RHS)
return;
otype = TREE_TYPE (exp);