diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-09-22 13:27:33 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-09-22 09:27:33 -0400 |
commit | 6a1d250ead04a1d0ca808448f7907a97fc60481d (patch) | |
tree | fe78e4a119c812c60817dbed80b4703b7c7c1d91 /gcc | |
parent | f42f3c2d589896f3a49c49510adfd65369ddd1d5 (diff) | |
download | gcc-6a1d250ead04a1d0ca808448f7907a97fc60481d.zip gcc-6a1d250ead04a1d0ca808448f7907a97fc60481d.tar.gz gcc-6a1d250ead04a1d0ca808448f7907a97fc60481d.tar.bz2 |
function.c (fix_lexical_address): Use set_mem_alias_set.
* function.c (fix_lexical_address): Use set_mem_alias_set.
(expand_function_start): Likewise.
* config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
From-SVN: r45751
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.h | 4 | ||||
-rw-r--r-- | gcc/function.c | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ddebfc..1a0e10c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + * function.c (fix_lexical_address): Use set_mem_alias_set. + (expand_function_start): Likewise. + * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise. + * varasm.c (output_constant): Fix unused variable warning. * attribs.c: New file, from c-common.c. diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 45ff18c..038cb51 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -1175,7 +1175,7 @@ extern int alpha_memory_latency; tmp = gen_rtx_MEM (BLKmode, \ plus_constant (virtual_incoming_args_rtx, \ ((CUM) + 6)* UNITS_PER_WORD)); \ - MEM_ALIAS_SET (tmp) = set; \ + set_mem_alias_set (tmp, set); \ move_block_from_reg \ (16 + CUM, tmp, \ 6 - (CUM), (6 - (CUM)) * UNITS_PER_WORD); \ @@ -1183,7 +1183,7 @@ extern int alpha_memory_latency; tmp = gen_rtx_MEM (BLKmode, \ plus_constant (virtual_incoming_args_rtx, \ (CUM) * UNITS_PER_WORD)); \ - MEM_ALIAS_SET (tmp) = set; \ + set_mem_alias_set (tmp, set); \ move_block_from_reg \ (16 + (TARGET_FPREGS ? 32 : 0) + CUM, tmp, \ 6 - (CUM), (6 - (CUM)) * UNITS_PER_WORD); \ diff --git a/gcc/function.c b/gcc/function.c index 592842e..ad79837 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -5562,7 +5562,7 @@ fix_lexical_addr (addr, var) addr = memory_address (Pmode, addr); base = gen_rtx_MEM (Pmode, addr); - MEM_ALIAS_SET (base) = get_frame_alias_set (); + set_mem_alias_set (base, get_frame_alias_set ()); base = copy_to_reg (base); #else displacement += (FIRST_PARM_OFFSET (context) - STARTING_FRAME_OFFSET); @@ -6533,7 +6533,7 @@ expand_function_start (subr, parms_have_cleanups) -(HOST_WIDE_INT) GET_MODE_SIZE (Pmode)); #endif last_ptr = gen_rtx_MEM (Pmode, memory_address (Pmode, last_ptr)); - MEM_ALIAS_SET (last_ptr) = get_frame_alias_set (); + set_mem_alias_set (last_ptr, get_frame_alias_set ()); last_ptr = copy_to_reg (last_ptr); /* If we are not optimizing, ensure that we know that this |