GCC 4.7.3 internal compiler error when using std::make_shared
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Invalid
|
Medium
|
|||
gcc-4.7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
GCC 4.7.3 crashes with an internal compiler error when trying to compile the following stripped-down test-case:
#include <memory>
namespace
{
struct Foo
{
Foo(int) {}
};
}
int main(int, char**)
{
auto foo = std::make_
return 0;
}
Compiler command line is: g++ -std=c++11.
ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: g++-4.7 4.7.2-23ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-7-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Sat Apr 6 08:38:10 2013
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2013-02-23 (41 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130223.1)
MarkForUpload: True
SourcePackage: gcc-4.7
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Confirmed |
Changed in gcc: | |
status: | Confirmed → Invalid |
both 4.6 and 4.8 give correct error messages