[Bug rtl-optimization/121240] missing support for section anchors to FP or vector constants

wilco at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 25 08:46:37 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121240

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilco at gcc dot gnu.org

--- Comment #3 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Can't use section anchors due to merging at link time.

The linker could merge and share multiple sections containing anchored literals
if relocations were used to individual constants (GCC currently uses hardcoded
anchor offsets). However if the reuse factor is very low, there is no point in
sharing.


More information about the Gcc-bugs mailing list