public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/106425] New: implicit-int @ 2022-07-24 7:08 muecker at gwdg dot de 2022-07-24 7:10 ` [Bug c/106425] implicit-int muecker at gwdg dot de ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: muecker at gwdg dot de @ 2022-07-24 7:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106425 Bug ID: 106425 Summary: implicit-int Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: muecker at gwdg dot de Target Milestone: --- With C23 having auto, we should consider making -Wimplicit-int a hard error in previous versions after C90 to catch invalid code that may change behavior. At least where implicit int is combined with auto. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/106425] implicit-int 2022-07-24 7:08 [Bug c/106425] New: implicit-int muecker at gwdg dot de @ 2022-07-24 7:10 ` muecker at gwdg dot de 2022-07-24 21:04 ` redi at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: muecker at gwdg dot de @ 2022-07-24 7:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106425 --- Comment #1 from Martin Uecker <muecker at gwdg dot de> --- Example: int f(void) { auto n = 1.5; return n * 2; } ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/106425] implicit-int 2022-07-24 7:08 [Bug c/106425] New: implicit-int muecker at gwdg dot de 2022-07-24 7:10 ` [Bug c/106425] implicit-int muecker at gwdg dot de @ 2022-07-24 21:04 ` redi at gcc dot gnu.org 2022-07-25 9:33 ` rguenth at gcc dot gnu.org 2023-05-19 21:51 ` muecker at gwdg dot de 3 siblings, 0 replies; 5+ messages in thread From: redi at gcc dot gnu.org @ 2022-07-24 21:04 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106425 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2022-07-24 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/106425] implicit-int 2022-07-24 7:08 [Bug c/106425] New: implicit-int muecker at gwdg dot de 2022-07-24 7:10 ` [Bug c/106425] implicit-int muecker at gwdg dot de 2022-07-24 21:04 ` redi at gcc dot gnu.org @ 2022-07-25 9:33 ` rguenth at gcc dot gnu.org 2023-05-19 21:51 ` muecker at gwdg dot de 3 siblings, 0 replies; 5+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-07-25 9:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106425 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Maybe rather sth for -Wc23-compat? ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/106425] implicit-int 2022-07-24 7:08 [Bug c/106425] New: implicit-int muecker at gwdg dot de ` (2 preceding siblings ...) 2022-07-25 9:33 ` rguenth at gcc dot gnu.org @ 2023-05-19 21:51 ` muecker at gwdg dot de 3 siblings, 0 replies; 5+ messages in thread From: muecker at gwdg dot de @ 2023-05-19 21:51 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106425 Martin Uecker <muecker at gwdg dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #3 from Martin Uecker <muecker at gwdg dot de> --- Duplicate. *** This bug has been marked as a duplicate of bug 91093 *** ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-19 21:51 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-07-24 7:08 [Bug c/106425] New: implicit-int muecker at gwdg dot de 2022-07-24 7:10 ` [Bug c/106425] implicit-int muecker at gwdg dot de 2022-07-24 21:04 ` redi at gcc dot gnu.org 2022-07-25 9:33 ` rguenth at gcc dot gnu.org 2023-05-19 21:51 ` muecker at gwdg dot de
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).