diff options
| -rw-r--r-- | gcc/ChangeLog | 12 | ||||
| -rw-r--r-- | gcc/cfgexpand.c | 1 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30398d2..b6f1147 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-18 Eric Botcazou <ebotcazou@adacore.com> + + PR lto/48492 + * cfgexpand.c (expand_debug_expr) <VAR_DECL>: Return NULL for a + DECL_IN_CONSTANT_POOL without RTL. + 2011-04-18 Ulrich Weigand <ulrich.weigand@linaro.org> Ira Rosen <ira.rosen@linaro.org> @@ -28,7 +34,8 @@ 2011-04-17 Jan Hubicka <jh@suse.cz> * cgrpah.h (struct cgraph_node): Remove finalized_by_frontend. - * cgrpahunit.c (cgraph_finalize_function): Do not set finalized_by_frontend. + * cgrpahunit.c (cgraph_finalize_function): Do not set + finalized_by_frontend. * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream finalized_by_frontend. @@ -37,7 +44,8 @@ * cgraph.c (cgraph_clone_node): Do not handle vtable_method * cgraph.h (struct cgraph_local_info): Drop vtable_method. * cgraphunit.c (cgraph_copy_node_for_versioning): Drop vtable_method. - * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable method. + * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable + method. * gimple-fold.c (can_refer_decl_in_current_unit_p): Mention PR20991 in gimple-fold.c * varasm.c (mark_decl_referenced): Drop vtable_method handling code. diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 359c2da..effb844 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -2495,6 +2495,7 @@ expand_debug_expr (tree exp) || !TREE_STATIC (exp) || !DECL_NAME (exp) || DECL_HARD_REGISTER (exp) + || DECL_IN_CONSTANT_POOL (exp) || mode == VOIDmode) return NULL; |
