[Bug 2101084] Re: GCC produces wrong code for arm64+sve in some cases

Chengen Du 2101084 at bugs.launchpad.net
Wed May 28 02:40:52 UTC 2025


** Also affects: gcc-13 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: gcc-14 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: gcc-8 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: gcc-9 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: gcc-10 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: gcc-11 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: gcc-13 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: gcc-14 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: gcc-8 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: gcc-9 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: gcc-10 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: gcc-11 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: gcc-13 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: gcc-14 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: gcc-8 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: gcc-9 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: gcc-10 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: gcc-11 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: gcc-13 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: gcc-14 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: gcc-8 (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: gcc-9 (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: gcc-10 (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: gcc-11 (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: gcc-13 (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: gcc-14 (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** No longer affects: gcc-9 (Ubuntu Oracular)

** No longer affects: gcc-8 (Ubuntu Jammy)

** No longer affects: gcc-8 (Ubuntu Noble)

** No longer affects: gcc-8 (Ubuntu Oracular)

** No longer affects: gcc-10 (Ubuntu Oracular)

** No longer affects: gcc-11 (Ubuntu Focal)

** Also affects: gcc-8 (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: gcc-9 (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: gcc-10 (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: gcc-11 (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: gcc-13 (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: gcc-14 (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: gcc-8 (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: gcc-9 (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: gcc-10 (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: gcc-11 (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: gcc-13 (Ubuntu Questing)
   Importance: Undecided
       Status: New

** Also affects: gcc-14 (Ubuntu Questing)
   Importance: Undecided
       Status: New

** No longer affects: gcc-8 (Ubuntu Plucky)

** No longer affects: gcc-8 (Ubuntu Questing)

** No longer affects: gcc-9 (Ubuntu Plucky)

** No longer affects: gcc-9 (Ubuntu Questing)

** No longer affects: gcc-10 (Ubuntu Plucky)

** No longer affects: gcc-10 (Ubuntu Questing)

** No longer affects: gcc-13 (Ubuntu Focal)

** No longer affects: gcc-13 (Ubuntu Jammy)

** Changed in: gcc-13 (Ubuntu Plucky)
       Status: New => Won't Fix

** Changed in: gcc-13 (Ubuntu Questing)
       Status: New => Won't Fix

** No longer affects: gcc-14 (Ubuntu Focal)

** No longer affects: gcc-14 (Ubuntu Jammy)

** Changed in: gcc-14 (Ubuntu Plucky)
       Status: New => Won't Fix

** Changed in: gcc-14 (Ubuntu Questing)
       Status: New => Won't Fix

** Changed in: gcc-9 (Ubuntu Focal)
     Assignee: (unassigned) => Chengen Du (chengendu)

** Changed in: gcc-11 (Ubuntu Jammy)
     Assignee: (unassigned) => Chengen Du (chengendu)

** Changed in: gcc-13 (Ubuntu Noble)
     Assignee: (unassigned) => Chengen Du (chengendu)

** Changed in: gcc-14 (Ubuntu Oracular)
     Assignee: (unassigned) => Chengen Du (chengendu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-9 in Ubuntu.
https://bugs.launchpad.net/bugs/2101084

Title:
  GCC produces wrong code for arm64+sve in some cases

Status in gcc:
  Fix Released
Status in gcc-10 package in Ubuntu:
  New
Status in gcc-11 package in Ubuntu:
  New
Status in gcc-13 package in Ubuntu:
  New
Status in gcc-14 package in Ubuntu:
  New
Status in gcc-8 package in Ubuntu:
  New
Status in gcc-9 package in Ubuntu:
  New
Status in gcc-10 source package in Focal:
  New
Status in gcc-8 source package in Focal:
  New
Status in gcc-9 source package in Focal:
  New
Status in gcc-10 source package in Jammy:
  New
Status in gcc-11 source package in Jammy:
  New
Status in gcc-9 source package in Jammy:
  New
Status in gcc-10 source package in Noble:
  New
Status in gcc-11 source package in Noble:
  New
Status in gcc-13 source package in Noble:
  New
Status in gcc-14 source package in Noble:
  New
Status in gcc-9 source package in Noble:
  New
Status in gcc-11 source package in Oracular:
  New
Status in gcc-13 source package in Oracular:
  New
Status in gcc-14 source package in Oracular:
  New
Status in gcc-11 source package in Plucky:
  New
Status in gcc-13 source package in Plucky:
  Won't Fix
Status in gcc-14 source package in Plucky:
  Won't Fix
Status in gcc-11 source package in Questing:
  New
Status in gcc-13 source package in Questing:
  Won't Fix
Status in gcc-14 source package in Questing:
  Won't Fix

Bug description:
  This bug-report is to request patching of the GCC bug 118976 in the
  Ubuntu gcc packages to avoid correctness issues, especially in 24.04
  and 22.04 LTS releases.

  This issue effects SVE vectorization which involves bitwise-not during
  optimization on arm64 platforms.  It was reported and fixed in
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118976.

  For gcc 8-11 there will be no minor releases as they are EOL from GCC
  team.  For gcc 11 through trunk the fix will be included in the next
  minor version, but my understanding is that Ubuntu LTS releases are
  unlikely to upgrade minor versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/2101084/+subscriptions




More information about the foundations-bugs mailing list