aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2012-11-28 20:22:58 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2012-11-28 15:22:58 -0500
commit361a58da83a1f870af4e53b6a22eabc53e1c2879 (patch)
treed1265a7f21fa36333e53d93d90b783011f0aed2f /gcc/varasm.c
parent00efe3ea3c907b4d7b090da19add210432b3de2c (diff)
downloadgcc-361a58da83a1f870af4e53b6a22eabc53e1c2879.zip
gcc-361a58da83a1f870af4e53b6a22eabc53e1c2879.tar.gz
gcc-361a58da83a1f870af4e53b6a22eabc53e1c2879.tar.bz2
target.def (use_blocks_for_decl_p): New hook.
* target.def (use_blocks_for_decl_p): New hook. * varasm.c (use_blocks_for_decl_p): Apply hook as final condition. * doc/tm.texi.in (USE_BLOCKS_FOR_DECL_P): New description. * doc/tm.texi: Regenerated. From-SVN: r193906
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 4598cf2..4c98f86 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1113,7 +1113,7 @@ use_blocks_for_decl_p (tree decl)
if (lookup_attribute ("alias", DECL_ATTRIBUTES (decl)))
return false;
- return true;
+ return targetm.use_blocks_for_decl_p (decl);
}
/* Create the DECL_RTL for a VAR_DECL or FUNCTION_DECL. DECL should