aboutsummaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2003-05-13 16:23:02 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-05-13 16:23:02 +0000
commita2a6a79b5b86bff8147e9605128bd5fb6b17da51 (patch)
tree79d7aaa209003c98bf084900f1edde07ad8b22a0 /gcc/integrate.c
parentc707d0b01aa015928fb340f548ff7eee81403a97 (diff)
downloadgcc-a2a6a79b5b86bff8147e9605128bd5fb6b17da51.zip
gcc-a2a6a79b5b86bff8147e9605128bd5fb6b17da51.tar.gz
gcc-a2a6a79b5b86bff8147e9605128bd5fb6b17da51.tar.bz2
varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
* varasm.c (notice_rtl_inlining_of_deferred_constant): New function. * rtl.h: Prototype it. * integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it when appropriate. From-SVN: r66762
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 0fd108f..c150dcb 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -2215,6 +2215,8 @@ copy_rtx_and_substitute (orig, map, for_lhs)
copy_rtx_and_substitute (constant, map, for_lhs)),
0);
}
+ else if (DEFERRED_CONSTANT_P (orig) && inlining)
+ notice_rtl_inlining_of_deferred_constant ();
return orig;