public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "muecker at gwdg dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/97100] -Wformat checks all arms of _Generic leading to irrelevant type expectation warnings Date: Tue, 16 Apr 2024 07:02:03 +0000 [thread overview] Message-ID: <bug-97100-4-2vK3vnNvF6@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-97100-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97100 --- Comment #11 from Martin Uecker <muecker at gwdg dot de> --- A conforming C compiler has to diagnose all violations of constraints with the same correct type of x in all branches (not the type it would have in another context where a different is taken).
next prev parent reply other threads:[~2024-04-16 7:02 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-18 0:56 [Bug c/97100] New: " sherzberg+gcc at freeshell dot org 2023-07-17 12:11 ` [Bug c/97100] " Hi-Angel at yandex dot ru 2023-08-04 6:06 ` muecker at gwdg dot de 2023-08-05 8:40 ` cvs-commit at gcc dot gnu.org 2023-11-03 19:26 ` uecker at gcc dot gnu.org 2024-04-16 3:07 ` alx at kernel dot org 2024-04-16 3:08 ` alx at kernel dot org 2024-04-16 5:35 ` uecker at gcc dot gnu.org 2024-04-16 5:58 ` Hi-Angel at yandex dot ru 2024-04-16 6:03 ` uecker at gcc dot gnu.org 2024-04-16 6:27 ` Hi-Angel at yandex dot ru 2024-04-16 7:02 ` muecker at gwdg dot de [this message] 2024-04-16 7:33 ` Hi-Angel at yandex dot ru 2024-04-16 8:23 ` muecker at gwdg dot de 2024-04-16 9:55 ` alx at kernel dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-97100-4-2vK3vnNvF6@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).