diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36e48a223cc..4d1be8c4de3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-05-14 H.J. Lu + + PR middle-end/40147 + * ipa-utils.h (memory_identifier_string): Moved to ... + * tree.h (memory_identifier_string): Here. Add GTY(()). + 2009-05-14 Paolo Bonzini * doc/tm.texi (TARGET_LEGITIMATE_ADDRESS_P): Refer mainly to this diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 31d78374ff6..e70a01688e2 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -23,9 +23,6 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #include "cgraph.h" -/* Used for parsing attributes of asm code. */ -extern tree memory_identifier_string; - struct ipa_dfs_info { int dfn_number; int low_link; diff --git a/gcc/tree.h b/gcc/tree.h index cb4b369cd63..eaa8e2ed8ff 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -5190,6 +5190,9 @@ extern unsigned HOST_WIDE_INT highest_pow2_factor (const_tree); void init_inline_once (void); +/* In ipa-reference.c. Used for parsing attributes of asm code. */ +extern GTY(()) tree memory_identifier_string; + /* Compute the number of operands in an expression node NODE. For tcc_vl_exp nodes like CALL_EXPRs, this is stored in the node itself, otherwise it is looked up from the node's code. */