Bug 17599 - internal gcc bug
Summary: internal gcc bug
Status: RESOLVED DUPLICATE of bug 17525
Alias: None
Product: gcc
Classification: Unclassified
Component: pending (show other bugs)
Version: 4.0.0
: P2 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 05:15 UTC by Grzegorz Jaskiewcz
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i486-pc-linux-gnu
Target: i486-pc-linux-gnu
Build: i486-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
offending file, .ii version (191.01 KB, application/octet-stream)
2004-09-22 05:18 UTC, Grzegorz Jaskiewcz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Jaskiewcz 2004-09-22 05:15:46 UTC
NOTE: Defaulting component because reported component no longer exists
	
	./khtml/xml/dom_docimpl.cpp:2293: internal compiler error: in emit_move_insn, at expr.c:2485

Environment:
System: Linux thinkpaddie 2.6.9-rc2-mm1 #5 Thu Sep 16 23:14:11 CEST 2004 i686 GNU/Linux
Architecture: i686

	
host: i486-pc-linux-gnu
build: i486-pc-linux-gnu
target: i486-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc --prefix=/usr/lib/gcc-snapshot --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --disable-werror --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk i486-linux-gnu

How-To-Repeat:

	g++ -DHAVE_CONFIG_H -I./khtml/xml -I./khtml/xml -I. -I./kimgio -I./kio -I./dcop -I./khtml -I. -I./kwallet/client -I./kutils -I./dcop -I./libltdl -I./kdefx -I./kdecore -I./kdeui -I./kio -I./kio/kio -I./kio/kfile -I. -I/usr/local/qt-copy//include -I/usr/X11R6/include -I/opt/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -g -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -Woverloaded-virtual -fPIC -DPIC -c ./khtml/xml/dom_docimpl.cpp -o ./khtml/xml/.libs/dom_docimpl.o -Wp,-MD,./khtml/xml/.deps/dom_docimpl.TUlo
	In file included from ./khtml/misc/htmlhashes.h:6,
	                 from ./khtml/xml/dom_docimpl.cpp:36:
			 ./khtml/misc/htmltags.h:10: warning: 'visibility' attribute ignored on non-class types
			 In file included from ./khtml/html/html_documentimpl.h:29,
			                  from ./khtml/xml/dom_docimpl.cpp:65:
					  ./khtml/html/html_miscimpl.h: In constructor `DOM::HTMLCollectionImpl::CollectionInfo::CollectionInfo()':
					  ./khtml/html/html_miscimpl.h:87: warning: converting of negative value `-0x000000001' to `unsigned int'
					  ./khtml/xml/dom_docimpl.cpp: In copy constructor `DOM::DocumentFragmentImpl::DocumentFragmentImpl(const DOM::DocumentFragmentImpl&)':
					  ./khtml/xml/dom_docimpl.cpp:2293: internal compiler error: in emit_move_insn, at expr.c:2485

using latest KDElibs HEAD version.

.ii.bz2 file will be attached to bug. (it's 1.3MB, so I'll bz2 it first).
Comment 1 Grzegorz Jaskiewcz 2004-09-22 05:18:49 UTC
Created attachment 7188 [details]
offending file, .ii version
Comment 2 Grzegorz Jaskiewcz 2004-09-22 05:38:23 UTC
there's identical bug triggered by:
kdelibs/khtml/rendering/render_style.cpp
I guess attaching another .ii file is pointless.
Comment 3 Grzegorz Jaskiewcz 2004-09-22 09:11:58 UTC
./xml/dom_docimpl.cpp:2293: internal compiler error: in emit_move_insn, at
expr.c:2485
on 20040922 version of gcc.

Btw, would it be possible to insert some sort of backtrace() function in asserts ?
Just like kernel does it for instance, so I am able to see backtrace
immiedately. And thus help in fixing bugs. I know gdb can do the same. It's just
such function would make it more convinient.
Comment 4 Andrew Pinski 2004-09-22 11:28:02 UTC

*** This bug has been marked as a duplicate of 17525 ***