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

           Summary: internal compiler error
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: aleaver...@gmail.com


This file compiles just fine with earlier versions of G++.  The compiler error
appears at the end of a function which is the last function in the file.

$ g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--disable-werror --with-arch-32=i686 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) 

...

Command line:

$ g++ -save-temps -o
build/src/release/linux/2.6/64/x86/gcc/protocols/loophash/LoopHashMap.os -c
-std=c++98 -pipe -ffor-scope -W -Wall -pedantic -Wno-long-long -O3 -ffast-math
-funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable
-fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc
-Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/boost_1_38_0
-I/usr/local/include -I/usr/include src/protocols/loophash/LoopHashMap.cc 
g++: warning: -pipe ignored because -save-temps specified
In file included from src/protocols/loophash/LoopHashMap.cc:18:
src/protocols/loophash/LoopHashMap.hh:120: warning: type qualifiers ignored on
function return type
src/protocols/loophash/LoopHashMap.cc:360: warning: type qualifiers ignored on
function return type
In file included from external/boost_1_38_0/boost/unordered_map.hpp:17,
                 from src/protocols/loophash/LoopHashMap.hh:22,
                 from src/protocols/loophash/LoopHashMap.cc:18:
external/boost_1_38_0/boost/unordered/detail/hash_table_impl.hpp: In member
function ‘typename
boost::unordered_detail::hash_types_equivalent_keys<std::pair<const Key, T>,
Key, Hash, Pred, Alloc>::iterator boost::unordered_multimap<Key, T, Hash, Pred,
Alloc>::insert(const std::pair<const Key, T>&) [with Key = long unsigned int, T
= long unsigned int, Hash = protocols::match::bin_index_hasher, Pred =
std::equal_to<long unsigned int>, Alloc = std::allocator<std::pair<const long
unsigned int, long unsigned int> >]’:
external/boost_1_38_0/boost/unordered/detail/hash_table_impl.hpp:101: warning:
‘<anonymous>’ may be used uninitialized in this function
external/boost_1_38_0/boost/unordered/detail/hash_table_impl.hpp:210: note:
‘<anonymous>’ was declared here
src/protocols/loophash/LoopHashMap.cc: In member function ‘void
protocols::loophash::LoopHashMap::read_db(std::string, std::pair<long unsigned
int, long unsigned int>, std::map<long unsigned int, bool, std::less<long
unsigned int>, std::allocator<std::pair<const long unsigned int, bool> > >&)’:
src/protocols/loophash/LoopHashMap.cc:436: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.

Reply via email to