diff options
| author | Alexander Kabaev <kan@FreeBSD.org> | 2003-02-10 05:41:50 +0000 |
|---|---|---|
| committer | Alexander Kabaev <kan@FreeBSD.org> | 2003-02-10 05:41:50 +0000 |
| commit | 72983f38e19d795e4671ce8231e076df7f6c5bc0 (patch) | |
| tree | 636a10692c73f4e15c4e3c4effae1b84e967dab9 /contrib/gcc/tree.c | |
| parent | 3749dff3f9323596a9326efa4bf2b560c0e9d1d3 (diff) | |
| parent | 7b74929d749aa5688fd0814a9880872323e02cde (diff) | |
Notes
Diffstat (limited to 'contrib/gcc/tree.c')
| -rw-r--r-- | contrib/gcc/tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/gcc/tree.c b/contrib/gcc/tree.c index 5ffb01006f63..6c0c7dcf4be9 100644 --- a/contrib/gcc/tree.c +++ b/contrib/gcc/tree.c @@ -1801,7 +1801,7 @@ unsafe_for_reeval (expr) { int unsafeness = 0; enum tree_code code; - int i, tmp; + int i, tmp, tmp2; tree exp; int first_rtl; @@ -1827,8 +1827,9 @@ unsafe_for_reeval (expr) return unsafeness; case CALL_EXPR: + tmp2 = unsafe_for_reeval (TREE_OPERAND (expr, 0)); tmp = unsafe_for_reeval (TREE_OPERAND (expr, 1)); - return MAX (tmp, 1); + return MAX (MAX (tmp, 1), tmp2); case TARGET_EXPR: unsafeness = 1; |
