diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 11:25:24 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 11:25:24 -0400 |
commit | fc1557074c0b134c2dc91a6879dfdafea976d15f (patch) | |
tree | 629b8f01ecc065b4cc17ce9ba572bc199ad6fb19 /gcc | |
parent | 95216deccf22654a633672249bfe66c89a138880 (diff) | |
download | gcc-fc1557074c0b134c2dc91a6879dfdafea976d15f.zip gcc-fc1557074c0b134c2dc91a6879dfdafea976d15f.tar.gz gcc-fc1557074c0b134c2dc91a6879dfdafea976d15f.tar.bz2 |
(expand_expr, case MAX_EXPR): Don't use TARGET directly if it is a
volatile MEM.
From-SVN: r5681
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5022,6 +5022,7 @@ expand_expr (exp, target, tmode, modifier) case MIN_EXPR: target = original_target; if (target == 0 || ! safe_from_p (target, TREE_OPERAND (exp, 1)) + || (GET_CODE (target) == MEM && MEM_VOLATILE_P (target)) || (GET_CODE (target) == REG && REGNO (target) < FIRST_PSEUDO_REGISTER)) target = gen_reg_rtx (mode); |