https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121499
Bug ID: 121499 Summary: libgcobol is built with -fno-strict-aliasing Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: cobol Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- $ grep -rsin fno-strict-aliasing libgcobol/ libgcobol/Makefile.in:414:@BUILD_LIBGCOBOL_TRUE@ -DIN_TARGET_LIBS -fno-strict-aliasing libgcobol/Makefile.am:55:AM_CXXFLAGS += -fno-strict-aliasing I don't think we should have code in gcc.git that requires -fno-strict-aliasing. It's not exactly setting a good example. (Of course, it's different for bundled libs like zlib, but we don't even do it there (no need)). Are there aliasing violations in libgcobol, or what's the origin of this?