C++11 Internal compiler error if too few arguments passed to std::make_shared
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
An attempt to compile following piece of code in C++11 mode with GCC 4.7.3
results in internal compiler error.
#include <memory>
struct A
{
A(int a, float b) {}
};
int main()
{
std:
}
Error messages is correctly printed on GCC 4.6 and GCC 4.8.
ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: g++-4.7 4.7.3-7ubuntu3
ProcVersionSign
Uname: Linux 3.11.0-11-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Mon Oct 7 18:14:38 2013
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2012-08-31 (402 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120828.1)
MarkForUpload: True
SourcePackage: gcc-4.7
UpgradeStatus: Upgraded to saucy on 2013-07-17 (82 days ago)