public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47478] New: internal compiler error
@ 2011-01-26 17:49 aleaverfay at gmail dot com
  2011-01-26 17:52 ` [Bug c++/47478] " aleaverfay at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: aleaverfay at gmail dot com @ 2011-01-26 17:49 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: aleaverfay@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.


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

end of thread, other threads:[~2014-02-16 13:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
2011-01-26 17:52 ` [Bug c++/47478] " aleaverfay at gmail dot com
2011-01-26 19:11 ` aleaverfay at gmail dot com
2011-01-26 20:08 ` redi at gcc dot gnu.org
2011-01-26 21:24 ` [Bug c++/47478] [4.4/4.5 Regression] " hjl.tools at gmail dot com
2011-01-26 21:49 ` [Bug c++/47478] [4.4 " hjl.tools at gmail dot com
2011-01-27  2:09 ` hjl.tools at gmail dot com
2011-01-27 11:32 ` rguenth at gcc dot gnu.org
2011-01-29 17:35 ` [Bug rtl-optimization/47478] " mikpe at it dot uu.se
2011-04-16 10:32 ` jakub at gcc dot gnu.org
2012-03-13 17:19 ` jakub at gcc dot gnu.org
2014-02-16 13:17 ` jackie.rosen at hushmail dot com

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