public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/110345] New: [C++26] P2552R3 - On the ignorability of standard attributes
@ 2023-06-21 16:20 mpolacek at gcc dot gnu.org
  2023-08-25  9:29 ` [Bug c++/110345] " jakub at gcc dot gnu.org
  2023-11-23  8:44 ` jakub at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-06-21 16:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345

            Bug ID: 110345
           Summary: [C++26] P2552R3 - On the ignorability of standard
                    attributes
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

See <https://wg21.link/P2552R3>.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/110345] [C++26] P2552R3 - On the ignorability of standard attributes
  2023-06-21 16:20 [Bug c++/110345] New: [C++26] P2552R3 - On the ignorability of standard attributes mpolacek at gcc dot gnu.org
@ 2023-08-25  9:29 ` jakub at gcc dot gnu.org
  2023-11-23  8:44 ` jakub at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-08-25  9:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 55791
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55791&action=edit
gcc14-pr110345-wip.patch

So, parts of this paper has been already fixed in r13-3848-g05119c345797bc04c .
The fallthrough stuff is still outstanding I think and I'll have a look.
The largest nightmare is diagnostics on standard attributes which appertain to
something that shouldn't allow them, I'm lost there.
I went through the grammar (except for modules) and tried to find all spots
where standard allows attribute-specifier-seq and tried to write that into a
testcase in the attached patch, for now for deprecated attribute and marked all
-pedantic-errors diagnostics.  I've added lots of FIXMEs in there where I don't
really know.  There are
even 4 spots where we don't parse the attributes at all (and clang++ does), on
the other side there are 4 spots where we do parse them and clang++ doesn't.
I think to mark this paper fully resolved we'd need to resolve the FIXMEs and
copy/adjust the test for all other standard attributes and verify we emit at
least some diagnostics with -pedantic-errors where the standard attributes
aren't allowed to appertain to.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/110345] [C++26] P2552R3 - On the ignorability of standard attributes
  2023-06-21 16:20 [Bug c++/110345] New: [C++26] P2552R3 - On the ignorability of standard attributes mpolacek at gcc dot gnu.org
  2023-08-25  9:29 ` [Bug c++/110345] " jakub at gcc dot gnu.org
@ 2023-11-23  8:44 ` jakub at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-11-23  8:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The fallthrough stuff is still outstanding I think and I'll have a look.
part is done in r14-5561-g52eedfa00960f2d255ec542626e3531a65aa8bb8
The rest unresolved.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-23  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21 16:20 [Bug c++/110345] New: [C++26] P2552R3 - On the ignorability of standard attributes mpolacek at gcc dot gnu.org
2023-08-25  9:29 ` [Bug c++/110345] " jakub at gcc dot gnu.org
2023-11-23  8:44 ` 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).