From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8039 invoked by alias); 22 Sep 2006 13:57:22 -0000 Received: (qmail 7992 invoked by uid 48); 22 Sep 2006 13:57:14 -0000 Date: Fri, 22 Sep 2006 13:57:00 -0000 Subject: [Bug c++/29182] New: ICE in make_decl_rtl, at varasm.c:890 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "michael dot haubenwallner at salomon dot at" 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-09/txt/msg02143.txt.bz2 List-Id: While building mico-2.3.11 on hppa2.0w-hp-hpux11.11, got this error: $ c++ -I../include -O2 -Wall -g -pthread -D_REENTRANT -DPIC -fPIC -c valuetype_impl.cc -o valuetype_impl.pic.o ../include/mico/valuetype_impl.h: In member function 'void CORBA::DataOutputStream_impl::_ZTv0_n68_N5CORBA21DataOutputStream_impl16write_longdoubleEe(CORBA::LongDouble)': ../include/mico/valuetype_impl.h:44: warning: 'value___2332' is used uninitialized in this function valuetype_impl.cc:638: internal compiler error: in make_decl_rtl, at varasm.c:890 Please subm It is independent of at least those compilerflags: -g/-O*/-pthread/-fPIC Strange: If I remove all the #line directions from preprocessor output, the error is different: $ c++ -c valuetype_impl.ii -o valuetype_impl.o valuetype_impl.ii:32: error: redeclaration of C++ built-in type 'wchar_t' valuetype_impl.ii: In static member function 'static wchar_t std::numeric_limits::min()': valuetype_impl.ii:6640: warning: left shift count >= width of type valuetype_impl.ii: In static member function 'static wchar_t std::numeric_limits::max()': valuetype_impl.ii:6642: warning: left shift count >= width of type valuetype_impl.ii:49485: confused by earlier errors, bailing out Attached is the preprocessor output, from original command with '-save-temps'. I have it bzip2'ed, as I'm unable to reduce it to a small testcase. Have built gcc with one patch, found here: http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00171.html $ g++ -v Using built-in specs. Target: hppa2.0w-hp-hpux11.11 Configured with: /mnt/toolsjunk/snapshot/src/sasrvb/toolsbox-3.5.1.6pre.20060921/buildroot/gcc/gcc-4.1.1/configure --enable-threads=posix --with-gnu-as --with-as=/tools/snapshot/toolsbox-3.5.1.6pre.20060921/hppa2.0w-hp-hpux11.11/hppa2.0w-hp-hpux11.11/bin/as --without-gnu-ld --with-local-prefix=/tools/snapshot/toolsbox-3.5.1.6pre.20060921/hppa2.0w-hp-hpux11.11 --disable-nls --enable-version-specific-runtime-libs --prefix=/tools/snapshot/toolsbox-3.5.1.6pre.20060921/hppa2.0w-hp-hpux11.11 Thread model: posix gcc version 4.1.1 $ /tools/snapshot/toolsbox-3.5.1.6pre.20060921/hppa2.0w-hp-hpux11.11/hppa2.0w-hp-hpux11.11/bin/as --version GNU assembler 2.16.1 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `hppa2.0w-hp-hpux11.11'. -- Summary: ICE in make_decl_rtl, at varasm.c:890 Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: michael dot haubenwallner at salomon dot at GCC build triplet: hppa2.0w-hp-hpux11.11 GCC host triplet: hppa2.0w-hp-hpux11.11 GCC target triplet: hppa2.0w-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29182