diff options
Diffstat (limited to 'gcc/cp/decl.c')
| -rw-r--r-- | gcc/cp/decl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 60dac525eb5..a6a203706d5 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -7434,6 +7434,7 @@ make_rtl_for_local_static (decl) && ! TREE_PUBLIC (decl) && ! DECL_EXTERNAL (decl) && ! TYPE_NEEDS_DESTRUCTOR (type) + && ! TREE_ADDRESSABLE (decl) && DECL_MODE (decl) != BLKmode) { /* As an optimization, we try to put register-sized static |

