http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51714
Bug #: 51714 Summary: internal compiler error: Segmentation fault with -std=c++11 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: hyou...@google.com Created attachment 26205 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26205 Output from /usr/local/google/home/hyounes/gcc-svn-inst/bin/g++ -std=c++11 -c dvlog.cc -save-temps Command triggering bug: /usr/local/google/home/hyounes/gcc-svn-inst/bin/g++ -v -std=c++11 -c dvlog.cc -save-temps (NOTE, the bug is not triggered if -std=c++11 is left out) Compiler output: Using built-in specs. COLLECT_GCC=/usr/local/google/home/hyounes/gcc-svn-inst/bin/g++ COLLECT_LTO_WRAPPER=/usr/local/google/home/hyounes/gcc-svn-inst/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /usr/local/google/home/hyounes/gcc-svn/configure --prefix=/usr/local/google/home/hyounes/gcc-svn-inst : (reconfigured) /usr/local/google/home/hyounes/gcc-svn/configure --prefix=/usr/local/google/home/hyounes/gcc-svn-inst Thread model: posix gcc version 4.7.0 20111229 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-std=c++11' '-c' '-save-temps' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/local/google/home/hyounes/gcc-svn-inst/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/cc1plus -E -quiet -v -D_GNU_SOURCE dvlog.cc -mtune=generic -march=x86-64 -std=c++11 -fpch-preprocess -o dvlog.ii ignoring nonexistent directory "/usr/local/google/home/hyounes/gcc-svn-inst/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/google/home/hyounes/gcc-svn-inst/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0 /usr/local/google/home/hyounes/gcc-svn-inst/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/x86_64-unknown-linux-gnu /usr/local/google/home/hyounes/gcc-svn-inst/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/backward /usr/local/google/home/hyounes/gcc-svn-inst/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/include /usr/local/include /usr/local/google/home/hyounes/gcc-svn-inst/include /usr/local/google/home/hyounes/gcc-svn-inst/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/include-fixed /usr/include End of search list. COLLECT_GCC_OPTIONS='-v' '-std=c++11' '-c' '-save-temps' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/local/google/home/hyounes/gcc-svn-inst/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/cc1plus -fpreprocessed dvlog.ii -quiet -dumpbase dvlog.cc -mtune=generic -march=x86-64 -auxbase dvlog -std=c++11 -version -o dvlog.s GNU C++ (GCC) version 4.7.0 20111229 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.0 20111229 (experimental), GMP version 4.3.2, MPFR version 2.4.2-p1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C++ (GCC) version 4.7.0 20111229 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.0 20111229 (experimental), GMP version 4.3.2, MPFR version 2.4.2-p1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 10d42f4b16e2234d346a8379f60d056c dvlog.cc: In function \u2018void Foo()\u2019: dvlog.cc:31:34: 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.