diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-04-18 10:13:49 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-04-18 10:13:49 +0000 |
commit | 7d5fc81417a90f3b2a2d043ebe6334c3246f7a3a (patch) | |
tree | 05b99c9098d55bd2746c8f784f15b02637e036f4 /gcc/cfgexpand.c | |
parent | 7e7cfcf6eb7ed4bbc1cc7d8c4f689fa72cc7deb0 (diff) | |
download | gcc-7d5fc81417a90f3b2a2d043ebe6334c3246f7a3a.zip gcc-7d5fc81417a90f3b2a2d043ebe6334c3246f7a3a.tar.gz gcc-7d5fc81417a90f3b2a2d043ebe6334c3246f7a3a.tar.bz2 |
re PR lto/48492 (LTO bootstrap failure in copy_constant)
PR lto/48492
* cfgexpand.c (expand_debug_expr) <VAR_DECL>: Return NULL for a
DECL_IN_CONSTANT_POOL without RTL.
From-SVN: r172641
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |