[Bug c++/79781] New: ICE on valid C++ code with -std=c++14 (in assemble_integer, at varasm.c:2733)
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 1 13:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781
Bug ID: 79781
Summary: ICE on valid C++ code with -std=c++14 (in
assemble_integer, at varasm.c:2733)
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: jason at gcc dot gnu.org
Target Milestone: ---
We do ICE on a LLVM test-case:
g++ const-init.cpp -std=c++14
const-init.cpp:91:17: internal compiler error: in assemble_integer, at
varasm.c:2733
X x = {(long)&k};
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
Looks clang++ accepts the code.
More information about the Gcc-bugs
mailing list