https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111897
--- Comment #3 from Agner Fog ---
I have asked the authors of the linked document. They say that the example in
the document is wrong. The latest version still has the error in the example:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111897
--- Comment #2 from Agner Fog ---
Thank you Jonathan.
The problem is that the C++ standard is becoming so complicated that nobody can
master it, not even the persons who wrote the example in the proposal.
`_Float16 A{1.0};` gives a warning,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111897
Bug ID: 111897
Summary: Initialization of _Float16 with f.p. constant gives
false warning
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108920
Agner Fog changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108920
--- Comment #3 from Agner Fog ---
It seems to work with gcc 9.4.0.
Thank you
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108920
Bug ID: 108920
Summary: Condition falsely optimized out
Product: gcc
Version: 9.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++