diff options
author | Zack Weinberg <zack@codesourcery.com> | 2003-05-13 16:23:02 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-05-13 16:23:02 +0000 |
commit | a2a6a79b5b86bff8147e9605128bd5fb6b17da51 (patch) | |
tree | 79d7aaa209003c98bf084900f1edde07ad8b22a0 /gcc/varasm.c | |
parent | c707d0b01aa015928fb340f548ff7eee81403a97 (diff) | |
download | gcc-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/varasm.c')
-rw-r--r-- | gcc/varasm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 97125f1..811aa38 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2672,6 +2672,15 @@ output_constant_def_contents (symbol) align); } + +/* A constant which was deferred in its original location has been + inserted by the RTL inliner into a different function. The + current function's deferred constant count must be incremented. */ +void +notice_rtl_inlining_of_deferred_constant () +{ + n_deferred_constants++; +} /* Used in the hash tables to avoid outputting the same constant twice. Unlike 'struct constant_descriptor_tree', RTX constants |