Bug 39419 - internal compiler error: Segmentation fault In function ‘void std::sort_heap'
Summary: internal compiler error: Segmentation fault In function ‘void std::sort_heap'
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.3.3
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-10 07:55 UTC by Ralf Schmitt
Modified: 2014-11-20 15:11 UTC (History)
1 user (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source file which triggers segfault (123.38 KB, text/plain)
2009-03-10 07:59 UTC, Ralf Schmitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Schmitt 2009-03-10 07:55:49 UTC
[py25] ~/bbot/ % gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch--with-tune=generic
Thread model: posix
gcc version 4.3.3 (GCC)

[py25] ~/bbot/ % g++ _ezindex.ii -c -O2
easyindex/src/_ezindex.cc: In function ‘PyObject* SortingContainer_new(PyTypeObject*, PyObject*, PyObject*)’:
easyindex/src/_ezindex.cc:163: warning: deprecated conversion from string constant to ‘char*’
easyindex/src/_ezindex.cc:163: warning: deprecated conversion from string constant to ‘char*’
easyindex/src/_ezindex.cc:163: warning: deprecated conversion from string constant to ‘char*’
easyindex/src/_ezindex.cc:163: warning: deprecated conversion from string constant to ‘char*’
easyindex/src/_ezindex.cc: At global scope:
easyindex/src/_ezindex.cc:810: warning: deprecated conversion from string constant to ‘char*’
easyindex/src/_ezindex.cc:810: warning: deprecated conversion from string constant to ‘char*’
easyindex/src/_ezindex.cc: In function ‘void std::sort_heap(_RAIter, _RAIter, _Compare) [with _RAIter = Ranking**, _Compare = DummyRanker::_RankingLt]’:
easyindex/src/_ezindex.cc:1476: 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.
Comment 1 Ralf Schmitt 2009-03-10 07:59:27 UTC
Created attachment 17434 [details]
preprocessed source file which triggers segfault
Comment 2 Ralf Schmitt 2009-03-10 08:06:22 UTC
just downgraded to gcc 4.3.2, which compiles this file without problems...
Comment 3 Richard Biener 2009-03-10 11:22:55 UTC
It works for me.
Comment 4 tbsaunde 2014-11-20 15:11:50 UTC
works on a variety of versions here too, I'm assuming this got fixed at some pointand calling it wfm