comparisons with regard to signedness.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78441
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr>
+
+ * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
+ comparisons with regard to signedness.
+
2004-02-25 Richard Earnshaw <rearnsha@arm.com>
* arm.c (thumb_legitimize_address): New function.
if (op == 0)
continue; /* Valid for CALL_EXPR, at least. */
- if (kind == '<' || code == RSHIFT_EXPR)
+ if (kind == '<'
+ || code == MAX_EXPR
+ || code == MIN_EXPR
+ || code == RSHIFT_EXPR)
{
/* Signedness matters here. Perhaps we can refine this
later. */