2005-11-03 Richard Guenther <rguenther@suse.de>
PR middle-end/24470
* fold-const.c (fold): Avoid running in circles if we
got some un-folded subtree.
From-SVN: r106426
+2005-11-03 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/24470
+ * fold-const.c (fold): Avoid running in circles if we
+ got some un-folded subtree.
+
2005-10-30 Alan Modra <amodra@bigpond.net.au>
PR target/23070
if (INTEGRAL_TYPE_P (type)
&& TREE_CODE (TREE_OPERAND (arg0, 1)) == INTEGER_CST
- && TREE_CODE (arg2) == INTEGER_CST)
+ && TREE_CODE (arg2) == INTEGER_CST
+ /* ??? We somehow can end up here with
+ (unsigned int)1 == 1 ? 1U : 2U
+ for which we won't make any progress but recurse
+ indefinitely. Just stop here in this case. */
+ && TREE_CODE (arg1) != INTEGER_CST)
switch (comp_code)
{
case EQ_EXPR: