: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dragonroot at gmail dot com
The following does not compile:
== te
++
Assignee: unassigned at gcc dot gnu.org
Reporter: dragonroot at gmail dot com
The following code causes an ICE:
test.cc =
struct B {};
struct A
{
A( B );
};
struct Bar
{
template< unsigned v >
struct Foo
{
A z = B();
unsigned
++
Assignee: unassigned at gcc dot gnu.org
Reporter: dragonroot at gmail dot com
Target Milestone: ---
The following code snippet makes the compiler ICE. Affects at least 4.8.2 and
4.9.3. Does not seem to affect 5.x. Compile with --std=c++11
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67870
--- Comment #1 from Konstantin Isakov ---
$ g++-4.9 --std=c++11 bug.cc
bug.cc: In destructor ‘Foo::~Foo()’:
bug.cc:17:3: internal compiler error: in type_throw_all_p, at cp/except.c:1306
{}
^
Please submit a full bug report,
with preproces
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dragonroot at gmail dot com
Target Milestone: ---
The following program incorrectly outputs 1 on every GCC I