[Bug mi/32571] GDB Mi crashes when setting a disabled breakpoint
sam at gentoo dot org via Gdb-prs <[email protected]> Sun, 02 Aug 2026 14:59:34 +0000
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=3D32571
--- Comment #48 from Sam James <sam at gentoo dot org> ---
One possible explanation is that the bug wasn't fully fixed in GCC, maybe
because the testcase was over-reduced.
0e8dbf5c5d6ae1d2b78322e5fed70200bc999cba does:
+#if defined (__GNUC__) && !defined (__clang__) \
+ && ((__GNUC__ >=3D 12 && __GNUC__ <=3D 15) \
+ || (__GNUC__ =3D=3D 16 && __GNUC_MINOR__ < 1))
+/* Work around PR gcc/120987 starting gcc 12, and assume it will be fixed =
in
+ the gcc 16.1 release. */
+#pragma GCC optimize("-fno-ipa-modref")
+#endif
+
If you change it '1' to '2', does it then work again?
--=20
You are receiving this mail because:
You are on the CC list for the bug.=