https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119335
Bug ID: 119335 Summary: cobol frontend ignores -M Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assignee: unassigned at gcc dot gnu.org Reporter: simonsobisch at gnu dot org Target Milestone: --- touch def.h cat test.c #include "def.h" gcc -M test.c test.o: test.c /usr/include/stdc-predef.h def.h touch def.cob cat test.cob COPY "def.cob". gcc -M test.cob gcobol -M test.cob --> the COBOL frontend accepts -M, but ignores it. Ideally this function (possibly with related -M options) should be implemented, otherwise at least raise a warning.