From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9537 invoked by alias); 26 Feb 2006 22:30:42 -0000 Received: (qmail 9521 invoked by uid 48); 26 Feb 2006 22:30:40 -0000 Date: Sun, 26 Feb 2006 22:32:00 -0000 Subject: [Bug c++/26476] New: ice for valid code with -O2 and -fpermissive X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dcb314 at hotmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg02991.txt.bz2 List-Id: I just tried to compile Suse Linux package bochs-2.2.1-6 with a recent GNU C++ compiler version 4.2 snapshot 20060225. The compiler snapshot said g++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fpermissive -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -pthread `sdl-config --cflags` `wx-config --cxxflags` -I/opt/gnome/include/gtk-2.0 -DBX_PLUGIN_PATH="\"/usr/lib64/bochs/plugins\"" -DBX_SHARE_PATH='"/usr/share/bochs"' logio.cc logio.cc:277: internal compiler error: in add_virtual_operand, at tree-ssa-operands.c:1867 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source code attached. Flags -fpermissive and -O2 required. -- Summary: ice for valid code with -O2 and -fpermissive Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: x86_64-suse-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26476