public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/109155] New: A note is diagnosed, without any warning or error
@ 2023-03-16 12:17 bruno at clisp dot org
2023-03-16 12:25 ` [Bug c/109155] " marxin at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: bruno at clisp dot org @ 2023-03-16 12:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109155
Bug ID: 109155
Summary: A note is diagnosed, without any warning or error
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: bruno at clisp dot org
Target Milestone: ---
Created attachment 54682
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54682&action=edit
test case
In this test case, the compiler emits a 'note', without any 'warning' or
'error'.
$ gcc -Wall -S i.c
i.c: In function ‘main’:
i.c:2:35: note: ‘s’ declared here
2 | struct s { _Bool s: 1; _Bool t; } s;
| ^
Which leaves me, as the user, completely baffled.
This is new in version 12. In versions 11 and older, no diagnostic is emitted.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/109155] A note is diagnosed, without any warning or error
2023-03-16 12:17 [Bug c/109155] New: A note is diagnosed, without any warning or error bruno at clisp dot org
@ 2023-03-16 12:25 ` marxin at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-03-16 12:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109155
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |marxin at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for the report. It's been fixed since r13-2723-g2d9429d5c0f86f58 and
will appear in GCC 12.3.
*** This bug has been marked as a duplicate of bug 106947 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-16 12:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 12:17 [Bug c/109155] New: A note is diagnosed, without any warning or error bruno at clisp dot org
2023-03-16 12:25 ` [Bug c/109155] " marxin 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).