This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/7687: [3.2 regression] ICE in use_thunk, at cp/method.c:412
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: j dot vanbemmel at home dot nl, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rth at redhat dot com
- Date: Fri, 20 Dec 2002 14:49:08 -0800
- Subject: Re: optimization/7687: [3.2 regression] ICE in use_thunk, at cp/method.c:412
- Organization: IBM
- Reply-to: janis187 at us dot ibm dot com
The regression reported in PR optimization/7687, which is
still broken on the 3.2 branch, was fixed on the mainline
with this patch:
2002-10-22 Richard Henderson <rth@redhat.com>
* target.h
* target-def.h
* hooks.c
* hooks.h:
* system.h
* config/alpha/alpha.c
* config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
config/stormy16/stormy16.c: Similarly.
* config/i386/i386.c
* config/rs6000/rs6000.c
* config/rs6000/rs6000-protos.h
* config/rs6000/sysv4.h
* config/rs6000/xcoff.h
* config/s390/s390.c
* config/vax/vax.c
* config/vax/vax-protos.h
* config/vax/vax.h
cp/:
2002-10-22 Richard Henderson <rth@redhat.com>
* method.c
Here's a small test case that causes the 3.2 branch compiler to ICE
on i686-linux:
-------------------
class A {
public:
virtual void f1();
};
class B {
public:
virtual void f2();
};
class C : public A, public B
{
public:
virtual void f1();
virtual void f2();
};
void C::f2() {}
-------------------
Output from the the 3.2 branch compiler with -fPIC -mregparm=3:
7687.C: In member function `void C::_ZThn4_N1C2f2Ev()':
7687.C:16: Internal compiler error in x86_output_mi_thunk, at
config/i386/i386.c:12655
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7687