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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-01-23
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |wilco at gcc dot gnu.org

--- Comment #7 from Wilco <wilco at gcc dot gnu.org> ---
We should return true for cannot_force_const_mem for CONST as that avoids
literals requiring relocations. If we check for CONST_INT/CONST_DOUBLE (and
CONST_VECTOR in the future) in aarch64_select_rtx_section then selecting .text
or .rodata should be  safe. Testing a patch.

Reply via email to