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 <tuple>
#include <vector>

const std::vector<std::tuple<int,int,int>> 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

Reply via email to