Internal compiler error when trying to instantiate an incomplete class using make_shared
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
lsb_release -rd:
Description: Linux Mint 15 Olivia
Release: 15
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
command:
/usr/bin/c++ -std=c++11 ../src/main.cpp
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Preprocessed source stored into /tmp/ccp2YqiK.out file, please attach this to your bugreport.
source:
#include <memory>
class Foo {
public:
virtual void bar() = 0;
};
int main() {
std::make_
}
expected result:
Some errors and warnings about the class not being complete.
description: | updated |