[Bug target/103085] [12 Regression] -fPIC and -fstack-protector-strong broken AArch64

wilco at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 4 19:30:07 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2021-11-04
           Assignee|unassigned at gcc dot gnu.org      |wilco at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Wilco <wilco at gcc dot gnu.org> ---
Yes there is something hacky about the way the salt thingy works. It adds some
unspec around a memory operand and still expects the standard movdi pattern to
recognize it.

It looks like adding support for CONST in Usw constraint and stripping the salt
before checking the symbol in mov_operand_p fixes it. I'm testing a patch.


More information about the Gcc-bugs mailing list