diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2009-05-14 15:45:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2009-05-14 08:45:32 -0700 |
commit | 61c273538b0349c662b68ed92c8bd0387d737c51 (patch) | |
tree | 91e1cdcaf20de0c1f7ca4977c856c2469d473891 /gcc | |
parent | c6c3dba931548987c78719180e30ebc863404b89 (diff) | |
download | gcc-61c273538b0349c662b68ed92c8bd0387d737c51.zip gcc-61c273538b0349c662b68ed92c8bd0387d737c51.tar.gz gcc-61c273538b0349c662b68ed92c8bd0387d737c51.tar.bz2 |
re PR middle-end/40147 (Memory leak in revision 147436)
2009-05-14 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/40147
* ipa-utils.h (memory_identifier_string): Moved to ...
* tree.h (memory_identifier_string): Here. Add GTY(()).
From-SVN: r147535
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ipa-utils.h | 3 | ||||
-rw-r--r-- | gcc/tree.h | 3 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36e48a2..4d1be8c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-05-14 H.J. Lu <hongjiu.lu@intel.com> + + 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 <bonzini@gnu.org> * doc/tm.texi (TARGET_LEGITIMATE_ADDRESS_P): Refer mainly to this diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 31d7837..e70a016 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; @@ -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. */ |