public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29182]  New: ICE in make_decl_rtl, at varasm.c:890
@ 2006-09-22 13:57 michael dot haubenwallner at salomon dot at
  2006-09-22 13:59 ` [Bug c++/29182] " michael dot haubenwallner at salomon dot at
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: michael dot haubenwallner at salomon dot at @ 2006-09-22 13:57 UTC (permalink / raw)
  To: gcc-bugs

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<snip>

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<wchar_t>::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<wchar_t>::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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/29182] ICE in make_decl_rtl, at varasm.c:890
  2006-09-22 13:57 [Bug c++/29182] New: ICE in make_decl_rtl, at varasm.c:890 michael dot haubenwallner at salomon dot at
@ 2006-09-22 13:59 ` michael dot haubenwallner at salomon dot at
  2006-09-22 14:46 ` [Bug c++/29182] ICE when using long double with virtual inheritance and virtual methods michael dot haubenwallner at salomon dot at
  2006-09-22 15:44 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: michael dot haubenwallner at salomon dot at @ 2006-09-22 13:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from michael dot haubenwallner at salomon dot at  2006-09-22 13:59 -------
Created an attachment (id=12307)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12307&action=view)
valuetype_impl.ii.bz2 (1.5MB unpacked)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29182


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/29182] ICE when using long double with virtual inheritance and virtual methods
  2006-09-22 13:57 [Bug c++/29182] New: ICE in make_decl_rtl, at varasm.c:890 michael dot haubenwallner at salomon dot at
  2006-09-22 13:59 ` [Bug c++/29182] " michael dot haubenwallner at salomon dot at
@ 2006-09-22 14:46 ` michael dot haubenwallner at salomon dot at
  2006-09-22 15:44 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: michael dot haubenwallner at salomon dot at @ 2006-09-22 14:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from michael dot haubenwallner at salomon dot at  2006-09-22 14:46 -------
was playing around somewhat after posting and indeed found the small testcase:

$ cat aa.cc

class A {
        virtual void f(long double);
};

class B : virtual public A
{
        void f(long double);
};

void B::f(long double x)
{
}

$ c++ -c aa.cc        
aa.cc: In member function 'void B::_ZTv0_n12_N1B1fEe(long double)':
aa.cc:7: internal compiler error: in make_decl_rtl, at varasm.c:890
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 

michael dot haubenwallner at salomon dot at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in make_decl_rtl, at    |ICE when using long double
                   |varasm.c:890                |with virtual inheritance and
                   |                            |virtual methods


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29182


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/29182] ICE when using long double with virtual inheritance and virtual methods
  2006-09-22 13:57 [Bug c++/29182] New: ICE in make_decl_rtl, at varasm.c:890 michael dot haubenwallner at salomon dot at
  2006-09-22 13:59 ` [Bug c++/29182] " michael dot haubenwallner at salomon dot at
  2006-09-22 14:46 ` [Bug c++/29182] ICE when using long double with virtual inheritance and virtual methods michael dot haubenwallner at salomon dot at
@ 2006-09-22 15:44 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-22 15:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-09-22 15:44 -------


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


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29182


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-22 15:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-22 13:57 [Bug c++/29182] New: ICE in make_decl_rtl, at varasm.c:890 michael dot haubenwallner at salomon dot at
2006-09-22 13:59 ` [Bug c++/29182] " michael dot haubenwallner at salomon dot at
2006-09-22 14:46 ` [Bug c++/29182] ICE when using long double with virtual inheritance and virtual methods michael dot haubenwallner at salomon dot at
2006-09-22 15:44 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).