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

            Bug ID: 123460
           Summary: aarch64: configure --with-arch incorrectly rejects
                    extension names containing hyphens
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acarlotti at gcc dot gnu.org
  Target Milestone: ---

The code in config.gcc to check the validity of an aarch64 --with-{arch|cpu}
extension string uses `sed -E -e 's/[a-z0-9]+//'` to remove an initial
extension name from the string before parsing the remaining extensions. This
fails for extensions containing a "-" character, which were first added in
r10-593-g28108a53416535.
  • [Bug target/123460] New: aarch64... acarlotti at gcc dot gnu.org via Gcc-bugs

Reply via email to