aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2014-10-20 11:21:09 +0200
committerUros Bizjak <uros@gcc.gnu.org>2014-10-20 11:21:09 +0200
commitd3f027a1850feb210f81f71b6d126309329363bb (patch)
tree2abb7c6d28ed77aa75087a134696d4d4c9875be0 /gcc/varasm.c
parent70480968b46b95f2f1a6b290b271290c210f2cd4 (diff)
downloadgcc-d3f027a1850feb210f81f71b6d126309329363bb.zip
gcc-d3f027a1850feb210f81f71b6d126309329363bb.tar.gz
gcc-d3f027a1850feb210f81f71b6d126309329363bb.tar.bz2
varasm.c (const_alias_set): Remove.
* varasm.c (const_alias_set): Remove. (init_varasm_once): Remove initialization of const_alias_set. (build_constant_desc): Do not set alias set to const_alias_set. From-SVN: r216454
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 1aad9d5..d4b5c6b 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -98,11 +98,6 @@ tree last_assemble_variable_decl;
bool first_function_block_is_cold;
-/* We give all constants their own alias set. Perhaps redundant with
- MEM_READONLY_P, but pre-dates it. */
-
-static alias_set_type const_alias_set;
-
/* Whether we saw any functions with no_split_stack. */
static bool saw_no_split_stack;
@@ -3231,7 +3226,6 @@ build_constant_desc (tree exp)
rtl = gen_const_mem (TYPE_MODE (TREE_TYPE (exp)), symbol);
set_mem_attributes (rtl, exp, 1);
set_mem_alias_set (rtl, 0);
- set_mem_alias_set (rtl, const_alias_set);
/* We cannot share RTX'es in pool entries.
Mark this piece of RTL as required for unsharing. */
@@ -5928,7 +5922,6 @@ init_varasm_once (void)
object_block_htab = hash_table<object_block_hasher>::create_ggc (31);
const_desc_htab = hash_table<tree_descriptor_hasher>::create_ggc (1009);
- const_alias_set = new_alias_set ();
shared_constant_pool = create_constant_pool ();
#ifdef TEXT_SECTION_ASM_OP