Blame SOURCES/gcc32-java-bytecode.patch
|
|
4ac4fd |
2004-08-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
4ac4fd |
|
|
|
4ac4fd |
* fold-const.c (fold): If flag_syntax_only, don't depend on
|
|
|
4ac4fd |
BITS_PER_WORD.
|
|
|
4ac4fd |
|
|
|
4ac4fd |
--- gcc/fold-const.c.jj 2004-08-14 12:17:15.000000000 +0200
|
|
|
4ac4fd |
+++ gcc/fold-const.c 2004-08-14 13:00:37.814514205 +0200
|
|
|
4ac4fd |
@@ -5204,10 +5204,11 @@ fold (expr)
|
|
|
4ac4fd |
&& TREE_CODE (TREE_OPERAND (t, 2)) == code
|
|
|
4ac4fd |
&& (TREE_TYPE (TREE_OPERAND (TREE_OPERAND (t, 1), 0))
|
|
|
4ac4fd |
== TREE_TYPE (TREE_OPERAND (TREE_OPERAND (t, 2), 0)))
|
|
|
4ac4fd |
- && ! (INTEGRAL_TYPE_P (TREE_TYPE (t))
|
|
|
4ac4fd |
- && (INTEGRAL_TYPE_P
|
|
|
4ac4fd |
- (TREE_TYPE (TREE_OPERAND (TREE_OPERAND (t, 1), 0))))
|
|
|
4ac4fd |
- && TYPE_PRECISION (TREE_TYPE (t)) <= BITS_PER_WORD))
|
|
|
4ac4fd |
+ && (! (INTEGRAL_TYPE_P (TREE_TYPE (t))
|
|
|
4ac4fd |
+ && (INTEGRAL_TYPE_P
|
|
|
4ac4fd |
+ (TREE_TYPE (TREE_OPERAND (TREE_OPERAND (t, 1), 0))))
|
|
|
4ac4fd |
+ && TYPE_PRECISION (TREE_TYPE (t)) <= BITS_PER_WORD)
|
|
|
4ac4fd |
+ || flag_syntax_only))
|
|
|
4ac4fd |
t = build1 (code, type,
|
|
|
4ac4fd |
build (COND_EXPR,
|
|
|
4ac4fd |
TREE_TYPE (TREE_OPERAND
|