public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107448] New: GCC no longer diagnoses missing input file with -MG
@ 2022-10-28 6:31 boris at kolpackov dot net
2022-11-10 14:26 ` [Bug driver/107448] GCC no longer diagnoses missing input file with -MG since r11-6855-g4804de453e7f5f90 marxin at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: boris at kolpackov dot net @ 2022-10-28 6:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107448
Bug ID: 107448
Summary: GCC no longer diagnoses missing input file with -MG
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: boris at kolpackov dot net
Target Milestone: ---
With GCC 10 when trying to extract dependency information with -MG we get
diagnostics if the input file does not exist:
$ g++-10 -M -MG /tmp/no-such-file.cxx
g++-10: error: /tmp/no-such-file.cxx: No such file or directory
g++-10: fatal error: no input files
compilation terminated.
$ echo $?
1
In GCC 11 and 12 this diagnostics is gone:
$ g++-11 -M -MG /tmp/no-such-file.cxx
$ echo $?
1
$ g++-12 -M -MG /tmp/no-such-file.cxx
$ echo $?
1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug driver/107448] GCC no longer diagnoses missing input file with -MG since r11-6855-g4804de453e7f5f90
2022-10-28 6:31 [Bug c/107448] New: GCC no longer diagnoses missing input file with -MG boris at kolpackov dot net
@ 2022-11-10 14:26 ` marxin at gcc dot gnu.org
2022-11-10 23:37 ` [Bug driver/107448] [11/12/13 Regression] " pinskia at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-11-10 14:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107448
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-11-10
CC| |marxin at gcc dot gnu.org,
| |nathan at gcc dot gnu.org
Ever confirmed|0 |1
Summary|GCC no longer diagnoses |GCC no longer diagnoses
|missing input file with -MG |missing input file with -MG
| |since
| |r11-6855-g4804de453e7f5f90
Status|UNCONFIRMED |NEW
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Likely started with r11-6855-g4804de453e7f5f90.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug driver/107448] [11/12/13 Regression] GCC no longer diagnoses missing input file with -MG since r11-6855-g4804de453e7f5f90
2022-10-28 6:31 [Bug c/107448] New: GCC no longer diagnoses missing input file with -MG boris at kolpackov dot net
2022-11-10 14:26 ` [Bug driver/107448] GCC no longer diagnoses missing input file with -MG since r11-6855-g4804de453e7f5f90 marxin at gcc dot gnu.org
@ 2022-11-10 23:37 ` pinskia at gcc dot gnu.org
2023-02-21 13:47 ` rguenth at gcc dot gnu.org
2023-05-29 10:07 ` [Bug preprocessor/107448] [11/12/13/14 " jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-10 23:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107448
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Summary|GCC no longer diagnoses |[11/12/13 Regression] GCC
|missing input file with -MG |no longer diagnoses missing
|since |input file with -MG since
|r11-6855-g4804de453e7f5f90 |r11-6855-g4804de453e7f5f90
Target Milestone|--- |11.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug driver/107448] [11/12/13 Regression] GCC no longer diagnoses missing input file with -MG since r11-6855-g4804de453e7f5f90
2022-10-28 6:31 [Bug c/107448] New: GCC no longer diagnoses missing input file with -MG boris at kolpackov dot net
2022-11-10 14:26 ` [Bug driver/107448] GCC no longer diagnoses missing input file with -MG since r11-6855-g4804de453e7f5f90 marxin at gcc dot gnu.org
2022-11-10 23:37 ` [Bug driver/107448] [11/12/13 Regression] " pinskia at gcc dot gnu.org
@ 2023-02-21 13:47 ` rguenth at gcc dot gnu.org
2023-05-29 10:07 ` [Bug preprocessor/107448] [11/12/13/14 " jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-02-21 13:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107448
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|accepts-invalid |diagnostic
Priority|P3 |P2
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's a diagnostic issue, the driver still exits with an error. Supposedly cc1
(as preprocessor) is supposed to diagnose the missing file now.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug preprocessor/107448] [11/12/13/14 Regression] GCC no longer diagnoses missing input file with -MG since r11-6855-g4804de453e7f5f90
2022-10-28 6:31 [Bug c/107448] New: GCC no longer diagnoses missing input file with -MG boris at kolpackov dot net
` (2 preceding siblings ...)
2023-02-21 13:47 ` rguenth at gcc dot gnu.org
@ 2023-05-29 10:07 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107448
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.4 |11.5
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-29 10:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 6:31 [Bug c/107448] New: GCC no longer diagnoses missing input file with -MG boris at kolpackov dot net
2022-11-10 14:26 ` [Bug driver/107448] GCC no longer diagnoses missing input file with -MG since r11-6855-g4804de453e7f5f90 marxin at gcc dot gnu.org
2022-11-10 23:37 ` [Bug driver/107448] [11/12/13 Regression] " pinskia at gcc dot gnu.org
2023-02-21 13:47 ` rguenth at gcc dot gnu.org
2023-05-29 10:07 ` [Bug preprocessor/107448] [11/12/13/14 " jakub at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).