public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58624] New: gcc internal compiler error: Segmentaion fault
@ 2013-10-04 20:45 dimitry.ivanov at gmail dot com
  2013-10-04 20:46 ` [Bug c++/58624] " dimitry.ivanov at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: dimitry.ivanov at gmail dot com @ 2013-10-04 20:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58624
           Summary: gcc internal compiler error: Segmentaion fault
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimitry.ivanov at gmail dot com

Created attachment 30955
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30955&action=edit
preprocessed file

gcc 4.8.1 segfaults while compiling code with templated static thread_local
storage.

Compiler output:
$ gcc -v -std=c++0x -save-temps test.cpp
Reading specs from /usr/lib64/gcc/x86_64-redhat-linux-gnu/4.8.1/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc/4.8.1/libexec/gcc/x86_64-redhat-linux-gnu/4.8.1/lto-wrapper
Target: x86_64-redhat-linux-gnu
Configured with: ./configure --prefix=/usr/local/gcc/4.8.1
--build=x86_64-redhat-linux-gnu --libdir=/usr/lib64 --with-slibdir=/usr/lib64
--enable-version-specific-runtime-libs --enable-threads --enable-static
--enable-languages=c,c++ --disable-multilib --with-cloog=/tmp/gcc-deps
--enable-cloog-backend=isl --disable-cloog-version-check
Thread model: posix
gcc version 4.8.1 (GCC)
COLLECT_GCC_OPTIONS='-v' '-std=c++11' '-save-temps' '-mtune=generic'
'-march=x86-64'
 /usr/local/gcc/4.8.1/libexec/gcc/x86_64-redhat-linux-gnu/4.8.1/cc1plus -E
-quiet -v -D_GNU_SOURCE test.cpp -mtune=generic -march=x86-64 -std=c++11
-fpch-preprocess -o test.ii
ignoring nonexistent directory
"/usr/lib64/gcc/x86_64-redhat-linux-gnu/4.8.1/../../../../../x86_64-redhat-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 .
 /pubmed_gen/Work/boost/include
 /usr/lib64/gcc/x86_64-redhat-linux-gnu/4.8.1/include/c++

/usr/lib64/gcc/x86_64-redhat-linux-gnu/4.8.1/include/c++/x86_64-redhat-linux-gnu
 /usr/lib64/gcc/x86_64-redhat-linux-gnu/4.8.1/include/c++/backward
 /usr/lib64/gcc/x86_64-redhat-linux-gnu/4.8.1/include
 /usr/local/include
 /usr/local/gcc/4.8.1/include
 /usr/lib64/gcc/x86_64-redhat-linux-gnu/4.8.1/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-std=c++11' '-save-temps' '-mtune=generic'
'-march=x86-64'
 /usr/local/gcc/4.8.1/libexec/gcc/x86_64-redhat-linux-gnu/4.8.1/cc1plus
-fpreprocessed test.ii -quiet -dumpbase test.cpp -mtune=generic -march=x86-64
-auxbase test -std=c++11 -version -o test.s
GNU C++ (GCC) version 4.8.1 (x86_64-redhat-linux-gnu)
        compiled by GNU C version 4.8.1, GMP version 5.1.2, MPFR version 3.1.2,
MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.8.1 (x86_64-redhat-linux-gnu)
        compiled by GNU C version 4.8.1, GMP version 5.1.2, MPFR version 3.1.2,
MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4dcc0c9a463b0607e2149021eec6a2a8
test.cpp: In function 'std::unique_ptr<std::basic_string<char> >&
_ZTWN1AIT_E1sE()':
test.cpp:10:18: internal compiler error: Segmentation fault
             if (!s) {
                  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-08-10 22:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-04 20:45 [Bug c++/58624] New: gcc internal compiler error: Segmentaion fault dimitry.ivanov at gmail dot com
2013-10-04 20:46 ` [Bug c++/58624] " dimitry.ivanov at gmail dot com
2013-10-05 21:11 ` paolo.carlini at oracle dot com
2013-10-10 11:49 ` [Bug middle-end/58624] gcc internal compiler error: Segmentaion fault in insert_to_assembler_name_hash rguenth at gcc dot gnu.org
2014-01-10 14:43 ` mpolacek at gcc dot gnu.org
2014-08-26 12:19 ` trippels at gcc dot gnu.org
2014-08-26 12:28 ` trippels at gcc dot gnu.org
2014-08-26 12:39 ` trippels at gcc dot gnu.org
2014-08-26 18:02 ` jason at gcc dot gnu.org
2014-08-26 20:05 ` jason at gcc dot gnu.org
2014-08-26 20:22 ` jason at gcc dot gnu.org
2014-10-15 16:46 ` jason at gcc dot gnu.org
2014-12-14  3:57 ` jason at gcc dot gnu.org
2014-12-15 10:36 ` jakub at gcc dot gnu.org
2021-08-10 22:58 ` pinskia at gcc dot gnu.org

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).