git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] developer: remove gcc 12 workaround

From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
Date
Apr 26, 2023, 01:34 UTC
Message-ID
<20230426013428.53206-1-carenas@gmail.com>

Since 846a29afb0 (config.mak.dev: workaround gcc 12 bug affecting "pedantic" CI job, 2022-04-15), DEVELOPER mode has this workaround for the version of gcc that was released with Fedora 36.

That version of Fedora is about to be EOL and latest versions of the compiler don't have that bug anymore, so remove the workaround.

Tested not to trigger with latest gcc packages from the last 3 Fedora releases, including gcc 13 from Fedora 38.

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
---
 config.mak.dev | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/config.mak.dev b/config.mak.dev
index 981304727c..6d07ef3692 100644
--- a/config.mak.dev
+++ b/config.mak.dev
@@ -94,9 +94,4 @@ endif
 endif
 endif
 
-# https://bugzilla.redhat.com/show_bug.cgi?id=2075786
-ifneq ($(filter gcc12,$(COMPILER_FEATURES)),)
-DEVELOPER_CFLAGS += -Wno-error=stringop-overread
-endif
-
 GIT_TEST_PERL_FATAL_WARNINGS = YesPlease
-- 
2.39.2 (Apple Git-143)
Next: Eric Sunshine
Message 1 of 4 in “developer: remove gcc 12 workaround”
  1. developer: remove gcc 12 workaroundCarlo Marcelo Arenas Belón, Apr 26, 2023
  2. Eric SunshineApr 26, 2023
  3. Carlo ArenasApr 26, 2023
  4. Phillip WoodApr 26, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.