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

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |tnfchris at gcc dot 
gnu.org
                 CC|                            |tnfchris at gcc dot gnu.org
   Last reconfirmed|2023-08-07 00:00:00         |2025-1-11
            Summary|-march does not override    |-march does not override
                   |-mcpu (big.little on        |-mcpu in calls to assembler
                   |aarch64)                    |

--- Comment #5 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
This is not unique to big little and is a bug.

There's an inconsistency in how we call cc1 vs as:

 > gcc -O1 -march=armv8.2-a+sve -mcpu=cortex-a72

gives

as -EL "-march=armv8.2-a+sve" "-march=armv8-a+crc" "-mabi=lp64"

to gas but

cc1 .. "-march=armv8.2-a+sve" "-mcpu=cortex-a72"

to cc1.

Mine.

Reply via email to