https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
--- Comment #12 from GCC Commits ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
:
https://gcc.gnu.org/g:26a9e8cee4d20e5b08c0336439c8f69a2f06af1c
commit r12-10090-g26a9e8cee4d20e5b08c0336439c8f69a2f06af1c
Author: Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
--- Comment #11 from GCC Commits ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
:
https://gcc.gnu.org/g:22601c1c25652c71c8bab4707866c020d6dad79a
commit r13-8193-g22601c1c25652c71c8bab4707866c020d6dad79a
Author: Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
Jonathan Wakely changed:
What|Removed |Added
Target Milestone|--- |12.4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
--- Comment #10 from GCC Commits ---
The master branch has been updated by Jonathan Wakely :
https://gcc.gnu.org/g:15cc291887dc9dd92b2c93f4545e20eb6c190122
commit r14-6944-g15cc291887dc9dd92b2c93f4545e20eb6c190122
Author: Jonathan Wakely
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
Jiang An changed:
What|Removed |Added
CC||de34 at live dot cn
--- Comment #9 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
--- Comment #8 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #7)
> Why does GCC accept this reduced version, which is invalid for the same
> reason as the original?
Looks like PR 70248
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
--- Comment #7 from Jonathan Wakely ---
Why does GCC accept this reduced version, which is invalid for the same reason
as the original?
#include
constexpr int N = 5;
struct S
{
char data_[ N ];
constexpr S( char const* p )
{
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
Jonathan Wakely changed:
What|Removed |Added
Component|c++ |libstdc++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
--- Comment #4 from Peter Dimov ---
I didn't notice your subsequent comment, sorry. :-)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
--- Comment #3 from Peter Dimov ---
I think that the compiler is correct; string literal address comparisons aren't
constant expressions. Clang gives the same error:
https://godbolt.org/z/xPWEf4z63.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
Andrew Pinski changed:
What|Removed |Added
Component|c++ |libstdc++
--- Comment #2 from Andrew
12 matches
Mail list logo