This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add -fsection-anchors (4.2 project)


Richard Earnshaw <rearnsha@arm.com> writes:
> It's also PR 9703

Thanks for the heads-up, but it looks like that's more to do with the
follow-on patch about using a shared pool for rtx constants.  The main
patch still uses per-function constant pools, in the sense that each
function has its own constant->symbol lookup table, and that constants
are not reused by later functions.

The idea of the follow-on patch is to add a "global" lookup table for
constants that can be shared between functions.  There would be yet
another target hook to say whether a shared pool can be used for a
particular constant.  This hook should usually return true whenever
use_blocks_for_constant_p returns true, so the default will use that.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]