summaryrefslogtreecommitdiffstats
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-13 16:23:02 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-13 16:23:02 +0000
commit91b9ca14b495fffaa922bac3eeef90dfa78aa41a (patch)
tree79d7aaa209003c98bf084900f1edde07ad8b22a0 /gcc/integrate.c
parentce9de670c75486827611050c9189451557465257 (diff)
downloadppe42-gcc-91b9ca14b495fffaa922bac3eeef90dfa78aa41a.tar.gz
ppe42-gcc-91b9ca14b495fffaa922bac3eeef90dfa78aa41a.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66762 138bc75d-0d04-0410-961f-82ee72b054a4
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 0fd108f2b1d..c150dcbd709 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;
OpenPOWER on IntegriCloud