[Bug c++/42301] New: Segmentation fault during brace initialization of an empty vector of tuples.

2009-12-05 Thread kgsmith at gmail dot com
I built gcc-4.4.2 from source with "../gcc-4.4.2/configure --prefix=/my/path"
and no other modifications.  I built it with gmp-4.3.1.tar.bz2 and
mpfr-2.4.1.tar.bz2.

Here is the source file that triggers the bug.

#include 
#include 

const std::vector> input {};
EOF

Here is the compile command and resultant output.

g++ --save-temps -std=c++0x -c -g -I/usr/local/include main.cpp -o main.o
main.cpp:4: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

I will upload the .ii file next.


-- 
   Summary: Segmentation fault during brace initialization of an
empty vector of tuples.
   Product: gcc
   Version: 4.4.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
    ReportedBy: kgsmith at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42301



[Bug c++/42301] Segmentation fault during brace initialization of an empty vector of tuples.

2009-12-05 Thread kgsmith at gmail dot com


--- Comment #1 from kgsmith at gmail dot com  2009-12-05 18:03 ---
Created an attachment (id=19237)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19237&action=view)
saved intermediate compiler output

autogenerated file


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42301