This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79781] New: ICE on valid C++ code with -std=c++14 (in assemble_integer, at varasm.c:2733)
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Mar 2017 13:54:50 +0000
- Subject: [Bug c++/79781] New: ICE on valid C++ code with -std=c++14 (in assemble_integer, at varasm.c:2733)
- Auto-submitted: auto-generated
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.