tiny STL code sample segfaults cc1plus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Fix Released
|
Medium
|
|||
gcc-4.6 (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
gcc-4.7 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 (standard g++ package on 64 bit pangolin)
code:
-------
#include <deque>
int main(){
std:
y.push_back( {2,5} );
}
-------
g++ -std=c++0x bug.cpp
bug.cpp: In function ‘int main()’:
bug.cpp:4:23: internal compiler error: Segmentation fault
I'm sorry if this bug report doesn't follow your guidelines. Just delete it if you want. It seemed important though. I started reading through your bug submitting procedure but it was way too complicated and longwinded. So, take it or leave it.
Ubuntu 12.04 LTS
Installed: 4:4.6.3-1ubuntu5
Candidate: 4:4.6.3-1ubuntu5
Version table:
*** 4:4.6.3-1ubuntu5 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: g++ 4:4.6.3-1ubuntu5
ProcVersionSign
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Sun Jul 1 06:24:20 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: gcc-defaults
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Hi Graspee,
Hey that's a good bug - thank you for reporting it!
Triaged: Trivially repeatable
I confirm this happens also on the gcc-4.6 package in QQ - 4.6.3-8ubuntu1
4.7 doesn't seg, but it's not happy (possibly a separate bug report?)
Dave