https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
--- Comment #7 from Marek Polacek ---
Author: mpolacek
Date: Thu Jun 20 22:35:34 2019
New Revision: 272527
URL: https://gcc.gnu.org/viewcvs?rev=272527=gcc=rev
Log:
PR c++/79781
* g++.dg/ext/goto1.C: New test.
Added:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
Paolo Carlini changed:
What|Removed |Added
CC||paolo.carlini at oracle dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
--- Comment #4 from Marek Polacek ---
With -std=c++0x GCC 4.6 says
const-init.cpp:33:29: error: ‘constexpr’ needed for in-class initialization of
static data member ‘d’ of non-integral type
const-init.cpp:34:28: error: ‘d’ was not declared in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
--- Comment #2 from Martin Liška ---
There's back-trace coming from trunk:
g++ const-init.cpp -std=c++14 -c
const-init.cpp:91:17: internal compiler error: in assemble_integer, at
varasm.c:2754
X x = {(long)};
^
0x1550515
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
--- Comment #1 from Martin Liška ---
Created attachment 40861
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40861=edit
test-case