public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107942] New: [10/11/12/13 Regression] Documentation of the volatile style for noreturn is gone
@ 2022-11-30 23:49 pinskia at gcc dot gnu.org
  2022-11-30 23:51 ` [Bug c/107942] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-30 23:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107942
           Summary: [10/11/12/13 Regression] Documentation of the volatile
                    style for noreturn is gone
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

r5-7698-g8648c55f3b703a removed the documentation of the volatile style of
noreturn even though it is still implemented as of today.
Take:
```
typedef void voidfn ();

volatile voidfn fatal;

void fatal() {}
```

This still warns today with the C front-end:
<source>: In function 'fatal':
<source>:8:1: warning: 'noreturn' function does return
    8 | }
      | ^

The reasoning why the documentation was removed was it references an (real) old
version of GCC.

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

end of thread, other threads:[~2024-01-18 18:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30 23:49 [Bug c/107942] New: [10/11/12/13 Regression] Documentation of the volatile style for noreturn is gone pinskia at gcc dot gnu.org
2022-11-30 23:51 ` [Bug c/107942] " pinskia at gcc dot gnu.org
2022-11-30 23:58 ` [Bug c/107942] [10/11/12/13 Regression] Documentation of the volatile style for noreturn is gone and const style for const attribute " pinskia at gcc dot gnu.org
2022-12-01  0:07 ` pinskia at gcc dot gnu.org
2022-12-01  0:09 ` pinskia at gcc dot gnu.org
2022-12-01  0:13 ` pinskia at gcc dot gnu.org
2022-12-01  0:14 ` pinskia at gcc dot gnu.org
2022-12-21 13:33 ` rguenth at gcc dot gnu.org
2023-07-07 10:44 ` [Bug c/107942] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-01-18 18:41 ` cvs-commit at gcc dot gnu.org
2024-01-18 18:43 ` sandra 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).