diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-04-08 12:12:35 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-04-08 12:12:35 +0200 |
commit | 5a905a2b23dec8efb2aea618962eefbac1092f41 (patch) | |
tree | 6084f11e54aff3a211168c1ae866a10936713072 /gcc/expr.c | |
parent | 7548c1be3a1ed1b10f5752a41d8efa3a3dfe01ac (diff) | |
download | gcc-5a905a2b23dec8efb2aea618962eefbac1092f41.zip gcc-5a905a2b23dec8efb2aea618962eefbac1092f41.tar.gz gcc-5a905a2b23dec8efb2aea618962eefbac1092f41.tar.bz2 |
re PR bootstrap/43681 (bootstrap fails with "unused" var message for an apparently used var.)
PR bootstrap/43681
* expr.c (block_move_libcall_safe_for_call_parm): Avoid
set but not used variable warning.
From-SVN: r158111
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1262,6 +1262,9 @@ block_move_libcall_safe_for_call_parm (void) an outgoing argument. */ #if defined (REG_PARM_STACK_SPACE) fn = emit_block_move_libcall_fn (false); + /* Avoid set but not used warning if *REG_PARM_STACK_SPACE doesn't + depend on its argument. */ + (void) fn; if (OUTGOING_REG_PARM_STACK_SPACE ((!fn ? NULL_TREE : TREE_TYPE (fn))) && REG_PARM_STACK_SPACE (fn) != 0) return false; |