This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/3466: Internal error in gcc 3.0 / Linux



>Number:         3466
>Category:       c++
>Synopsis:       Internal error in gcc 3.0 / Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 28 14:31:06 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Peter Simons
>Release:        3.0
>Organization:
>Environment:
System: Linux peti.cryp.to 2.2.18 #25 Wed Jun 27 15:37:05 CEST 2001 i686 unknown
Architecture: i686

        
host: i586-pc-linux-gnu
build: i586-pc-linux-gnu
target: i586-pc-linux-gnu
configured with: ../configure --prefix=/usr/local/gcc3 --with-gnu-as --with-gnu-ld --disable-nls
>Description:
When compiling Mozilla with -O3 enabled, gcc aborts with a
segmentation fault:

 | c++ -o nsFormControlHelper.o -c -DOSTYPE=\"Linux2.2\"
 |     -DOSARCH=\"Linux\" -DOJI -D_IMPL_NS_HTML -DENDER_LITE
 |     -I../../../../dist/include -I../../../../dist/include
 |     -I/usr/local/src/mozilla/dist/include/nspr -I./../../../base/src
 |     -I./../../base/src -I./../../style/src -I./../../../xul/base/src
 |     -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions
 |     -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align
 |     -Woverloaded-virtual -Wsynth -pedantic -Wno-long-long -pipe
 |     -fshort-wchar -pthread -O3 -DNDEBUG -DTRIMMED -I/usr/X11R6/include
 |     -DMOZILLA_CLIENT -include ../../../../config-defs.h
 |     -Wp,-MD,.deps/nsFormControlHelper.pp nsFormControlHelper.cpp
 |     nsFormControlHelper.cpp: In static member function `static void
 |    nsFormControlHelper::PaintFixedSizeCheckMark(nsIRenderingContext&, float)':
 | nsFormControlHelper.cpp:733: Internal error: Segmentation fault
 | Please submit a full bug report,

>How-To-Repeat:
Get Mozilla from www.mozilla.org, configure it with the options

 | --disable-debug
 | --disable-logrefcnt
 | --disable-dtd-debug
 | --enable-crypto
 | --disable-logging
 | --disable-xprint
 | --disable-mailnews
 | --disable-editor-api-log
 | --disable-tests
 | --enable-optimize=-O3
 | --enable-strip-libs
 | --disable-ldap
 | --disable-shared
 | --enable-static

and compile away. The error occurs in mozilla/layout/html/forms/src
when compiling nsFormControlHelper.o.

>Fix:
        
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]