diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2004-02-12 18:25:09 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2004-02-12 13:25:09 -0500 |
commit | a5e9c8103348cb036a6f29773fd9e08ec925ffcb (patch) | |
tree | 7b4a430fb294344fe468f64ca7e6d902b0ac2a90 /gcc/emit-rtl.c | |
parent | 2e9a1f6b05e79f1b7de15d5ae64f3222d989e7e5 (diff) | |
download | gcc-a5e9c8103348cb036a6f29773fd9e08ec925ffcb.zip gcc-a5e9c8103348cb036a6f29773fd9e08ec925ffcb.tar.gz gcc-a5e9c8103348cb036a6f29773fd9e08ec925ffcb.tar.bz2 |
emit-rtl.c (set_mem_attributes_minus_bitpos): Don't kill previous MEM_VOLATILE in REF.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Don't kill
previous MEM_VOLATILE in REF.
* function.c (fixup_var_refs): Save volatile_ok and set to 1.
* expr.c (emit_block_move_via_movstr): Save and restore volatile_ok.
From-SVN: r77718
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 722d697..76f292c 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -1479,7 +1479,7 @@ set_mem_attributes_minus_bitpos (rtx ref, tree t, int objectp, front-end routine) and use it. */ alias = get_alias_set (t); - MEM_VOLATILE_P (ref) = TYPE_VOLATILE (type); + MEM_VOLATILE_P (ref) |= TYPE_VOLATILE (type); MEM_IN_STRUCT_P (ref) = AGGREGATE_TYPE_P (type); RTX_UNCHANGING_P (ref) |= ((lang_hooks.honor_readonly |