public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/68193] _Generic -Woverflow false alarm
[not found] <bug-68193-4@http.gcc.gnu.org/bugzilla/>
@ 2023-08-04 6:27 ` 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
2 siblings, 0 replies; 3+ messages in thread
From: muecker at gwdg dot de @ 2023-08-04 6:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193
Martin Uecker <muecker at gwdg dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |muecker at gwdg dot de
--- Comment #7 from Martin Uecker <muecker at gwdg dot de> ---
PATCH: https://gcc.gnu.org/pipermail/gcc-patches/2023-August/626319.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/68193] _Generic -Woverflow false alarm
[not found] <bug-68193-4@http.gcc.gnu.org/bugzilla/>
2023-08-04 6:27 ` [Bug c/68193] _Generic -Woverflow false alarm 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
2 siblings, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-08-05 8:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Uecker <uecker@gcc.gnu.org>:
https://gcc.gnu.org/g:54be338589ea93ad4ff53d22adde476a0582537b
commit r14-3004-g54be338589ea93ad4ff53d22adde476a0582537b
Author: Martin Uecker <uecker@tugraz.at>
Date: Fri Aug 4 07:48:21 2023 +0200
c: _Generic should not warn in non-active branches
[PR68193,PR97100,PR110703]
To avoid false diagnostics, use c_inhibit_evaluation_warnings when
a generic association is known to not match during parsing. We may
still generate false positives if the default branch comes earler than
a specific association that matches.
PR c/68193
PR c/97100
PR c/110703
gcc/c/:
* c-parser.cc (c_parser_generic_selection): Inhibit evaluation
warnings branches that are known not be taken during parsing.
gcc/testsuite/ChangeLog:
* gcc.dg/pr68193.c: New test.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/68193] _Generic -Woverflow false alarm
[not found] <bug-68193-4@http.gcc.gnu.org/bugzilla/>
2023-08-04 6:27 ` [Bug c/68193] _Generic -Woverflow false alarm 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
2 siblings, 0 replies; 3+ messages in thread
From: uecker at gcc dot gnu.org @ 2023-11-03 19:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193
uecker at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |uecker at gcc dot gnu.org
Known to fail| |4.9.0
Target Milestone|--- |14.0
Status|NEW |RESOLVED
--- Comment #9 from uecker at gcc dot gnu.org ---
Fixed on trunk.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-03 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-68193-4@http.gcc.gnu.org/bugzilla/>
2023-08-04 6:27 ` [Bug c/68193] _Generic -Woverflow false alarm 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
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).