diff options
author | Richard Biener <rguenther@suse.de> | 2013-06-19 08:15:31 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-06-19 08:15:31 +0000 |
commit | 3fd0303a574dc611fc411137b59adf683ea2d236 (patch) | |
tree | ec53baa4a14ad4fecb222e2721a038a827fc79d7 /gcc/expr.c | |
parent | 22fc7d3d46881819c51a2e38cfd5626172b3338e (diff) | |
download | gcc-3fd0303a574dc611fc411137b59adf683ea2d236.zip gcc-3fd0303a574dc611fc411137b59adf683ea2d236.tar.gz gcc-3fd0303a574dc611fc411137b59adf683ea2d236.tar.bz2 |
expr.c (expand_expr_real_1): Use SCOPE_FILE_SCOPE_P to check for global context.
2013-06-19 Richard Biener <rguenther@suse.de>
* expr.c (expand_expr_real_1): Use SCOPE_FILE_SCOPE_P to check
for global context.
From-SVN: r200190
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9353,7 +9353,7 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, /* Variables inherited from containing functions should have been lowered by this point. */ context = decl_function_context (exp); - gcc_assert (!context + gcc_assert (SCOPE_FILE_SCOPE_P (context) || context == current_function_decl || TREE_STATIC (exp) || DECL_EXTERNAL (exp) |