Subject: toolchain/29409: g++ 3.3.3 ICE
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 02/16/2005 21:10:00
>Number:         29409
>Category:       toolchain
>Synopsis:       g++ 3.3.3 ICE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 16 21:10:00 +0000 2005
>Originator:     Ted Unangst
>Release:        2.0
NetBSD 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec  1 10:58:25 UTC 2004  builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Using built-in specs.
Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)

query-run-lib.c: In function `void create_query_run_select(std::string&, 
   std::string&, db_t*, const char*)':
query-run-lib.c:124: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

This only happens when compiled with -O2, not -O1 or lower.

I can provide the preprocessed source to a developer or two, but it can't be posted publicly.