rs6000.c (def_builtin): Set TREE_READONLY instead of TREE_CONSTANT.
* config/rs6000/rs6000.c (def_builtin): Set TREE_READONLY instead of TREE_CONSTANT. From-SVN: r153038
This commit is contained in:
parent
3af4ba41cc
commit
ddd0c78101
@ -1,3 +1,8 @@
|
||||
2009-10-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/rs6000/rs6000.c (def_builtin): Set TREE_READONLY instead
|
||||
of TREE_CONSTANT.
|
||||
|
||||
2009-10-20 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* rtl.h (simplify_replace_fn_rtx): Declare.
|
||||
|
@ -8530,7 +8530,7 @@ def_builtin (int mask, const char *name, tree type, int code)
|
||||
|
||||
/* const function, function only depends on the inputs. */
|
||||
case RS6000_BTC_CONST:
|
||||
TREE_CONSTANT (t) = 1;
|
||||
TREE_READONLY (t) = 1;
|
||||
TREE_NOTHROW (t) = 1;
|
||||
break;
|
||||
|
||||
@ -8554,7 +8554,7 @@ def_builtin (int mask, const char *name, tree type, int code)
|
||||
DECL_IS_NOVOPS (t) = 1;
|
||||
}
|
||||
else
|
||||
TREE_CONSTANT (t) = 1;
|
||||
TREE_READONLY (t) = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user