public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55553] New: Segmentation fault when calling vector::push_back with an initialized list
@ 2012-11-30 19:52 matt at godbolt dot org
2012-11-30 19:59 ` [Bug c++/55553] " paolo.carlini at oracle dot com
0 siblings, 1 reply; 2+ messages in thread
From: matt at godbolt dot org @ 2012-11-30 19:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55553
Bug #: 55553
Summary: Segmentation fault when calling vector::push_back with
an initialized list
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: matt@godbolt.org
The following code:
---
#include <vector>
std::vector<int[2]> v;
void test() {
v.push_back({1, 2});
}
---
Causes a segmentation fault on GCC 4.8.0 [gcc version 4.8.0 20120314
(experimental) [trunk revision 185382] (Ubuntu/Linaro 20120314-0ubuntu2)] when
compiled as: g++ -std=c++11 crash.cc
(For what it's worth I'm fairly sure the code is not actually valid).
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/55553] Segmentation fault when calling vector::push_back with an initialized list
2012-11-30 19:52 [Bug c++/55553] New: Segmentation fault when calling vector::push_back with an initialized list matt at godbolt dot org
@ 2012-11-30 19:59 ` paolo.carlini at oracle dot com
0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-30 19:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55553
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-30 19:58:56 UTC ---
Dup. Already fixed.
*** This bug has been marked as a duplicate of bug 54502 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-30 19:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-30 19:52 [Bug c++/55553] New: Segmentation fault when calling vector::push_back with an initialized list matt at godbolt dot org
2012-11-30 19:59 ` [Bug c++/55553] " paolo.carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).