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
* [Bug c++/47478] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
@ 2011-01-26 17:52 ` aleaverfay at gmail dot com
2011-01-26 19:11 ` aleaverfay at gmail dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: aleaverfay at gmail dot com @ 2011-01-26 17:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
--- Comment #1 from Andrew Leaver-Fay <aleaverfay at gmail dot com> 2011-01-26 17:30:58 UTC ---
Created attachment 23135
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23135
-save-temps file (.ii) that produces this crash (too big to upload without
bzipping it -- sorry!)
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/47478] internal compiler error
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
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: aleaverfay at gmail dot com @ 2011-01-26 19:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
--- Comment #2 from Andrew Leaver-Fay <aleaverfay at gmail dot com> 2011-01-26 18:21:36 UTC ---
I'd love a suggestion on how the code could be changed so that I no longer get
this segfault.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/47478] internal compiler error
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
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-26 20:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.26 19:13:11
Ever Confirmed|0 |1
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-26 19:13:11 UTC ---
confirmed
for 4.4.3 I get an ICE with
g++ LoopHashMap.ii -O2 -funroll-loops -finline-functions -finline-limit=488
but not with
g++ LoopHashMap.ii -O2 -funroll-loops -finline-functions -finline-limit=487
(the only difference is the inline-limit)
(In reply to comment #2)
> I'd love a suggestion on how the code could be changed so that I no longer get
> this segfault.
use a lower value for -finline-limit
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/47478] [4.4/4.5 Regression] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
` (2 preceding siblings ...)
2011-01-26 20:08 ` redi at gcc dot gnu.org
@ 2011-01-26 21:24 ` hjl.tools at gmail dot com
2011-01-26 21:49 ` [Bug c++/47478] [4.4 " hjl.tools at gmail dot com
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-26 21:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.4/4.5/4.6 Regression] |[4.4/4.5 Regression]
|internal compiler error |internal compiler error
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-26 21:20:06 UTC ---
Works on 4.6.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/47478] [4.4 Regression] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
` (3 preceding siblings ...)
2011-01-26 21:24 ` [Bug c++/47478] [4.4/4.5 Regression] " hjl.tools at gmail dot com
@ 2011-01-26 21:49 ` hjl.tools at gmail dot com
2011-01-27 2:09 ` hjl.tools at gmail dot com
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-26 21:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.5.2, 4.6.0
Summary|[4.4/4.5 Regression] |[4.4 Regression] internal
|internal compiler error |compiler error
Known to fail| |4.4.5
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-26 21:23:25 UTC ---
Works in 4.5.2.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/47478] [4.4 Regression] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
` (4 preceding siblings ...)
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
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-27 2:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-27 01:15:17 UTC ---
It is caused by revision 142056:
http://gcc.gnu.org/ml/gcc-cvs/2008-11/msg00765.html
and is fixed/hidden by revision 145204:
http://gcc.gnu.org/ml/gcc-cvs/2009-03/msg00711.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/47478] [4.4 Regression] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
` (5 preceding siblings ...)
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
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-27 11:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.6
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-27 11:18:17 UTC ---
Looks somewhat familiar:
Program received signal SIGSEGV, Segmentation fault.
0x00000000007648d5 in cancel_loop_tree (loop=0xa5a5a5a5a5a5a5a5)
at /space/rguenther/src/svn/gcc-4_4-branch/gcc/cfgloop.c:1305
1305 while (loop->inner)
#0 0x00000000007648d5 in cancel_loop_tree (loop=0xa5a5a5a5a5a5a5a5)
at /space/rguenther/src/svn/gcc-4_4-branch/gcc/cfgloop.c:1305
#1 0x00000000007648d1 in cancel_loop_tree (loop=0x7fffeeaee7e0)
at /space/rguenther/src/svn/gcc-4_4-branch/gcc/cfgloop.c:1306
#2 0x00000000007677da in remove_path (e=0x7fffee3f2040)
at /space/rguenther/src/svn/gcc-4_4-branch/gcc/cfgloopmanip.c:353
#3 0x00000000009b7afe in peel_loop_completely (loop=0x7fffeeaee480)
at /space/rguenther/src/svn/gcc-4_4-branch/gcc/loop-unroll.c:506
#4 0x00000000009b73bd in peel_loops_completely (flags=2)
at /space/rguenther/src/svn/gcc-4_4-branch/gcc/loop-unroll.c:248
#5 0x00000000009b6aaf in unroll_and_peel_loops (flags=2)
at /space/rguenther/src/svn/gcc-4_4-branch/gcc/loop-unroll.c:157
#6 0x00000000009ac87e in rtl_unroll_and_peel_loops ()
Likely a dup of PR42229, fixed with
2009-12-02 Richard Guenther <rguenther@suse.de>
PR middle-end/42229
* cfgloopmanip.c (remove_path): Avoid cancelling loops twice.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/47478] [4.4 Regression] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
` (6 preceding siblings ...)
2011-01-27 11:32 ` rguenth at gcc dot gnu.org
@ 2011-01-29 17:35 ` mikpe at it dot uu.se
2011-04-16 10:32 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mikpe at it dot uu.se @ 2011-01-29 17:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu.se
--- Comment #8 from Mikael Pettersson <mikpe at it dot uu.se> 2011-01-29 16:15:57 UTC ---
(In reply to comment #7)
> Likely a dup of PR42229
Backporting the PR42229 fix to gcc-4.4.5 eliminates the ICE for both this test
case and the PR42229 one.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/47478] [4.4 Regression] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
` (7 preceding siblings ...)
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
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-04-16 10:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.6 |4.4.7
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/47478] [4.4 Regression] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
` (8 preceding siblings ...)
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
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-13 17:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |FIXED
Target Milestone|4.4.7 |4.5.2
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 13:26:07 UTC ---
Fixed in 4.5+, 4.4 is no longer supported.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/47478] [4.4 Regression] internal compiler error
2011-01-26 17:49 [Bug c++/47478] New: internal compiler error aleaverfay at gmail dot com
` (9 preceding siblings ...)
2012-03-13 17:19 ` jakub at gcc dot gnu.org
@ 2014-02-16 13:17 ` jackie.rosen at hushmail dot com
10 siblings, 0 replies; 12+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 13:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47478
Jackie Rosen <jackie.rosen at hushmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jackie.rosen at hushmail dot com
--- Comment #10 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.
^ 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).