public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/7687: Internal compiler error in use_thunk, at cp/method.c:412
@ 2002-08-22 13:36 j.vanbemmel
  0 siblings, 0 replies; 2+ messages in thread
From: j.vanbemmel @ 2002-08-22 13:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7687
>Category:       optimization
>Synopsis:       Internal compiler error in use_thunk, at cp/method.c:412
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 22 13:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     me
>Release:        gcc 3.1 & gcc 3.2 (at least)
>Organization:
>Environment:
Linux Redhat 7.2 (i686-pc-linux-gnu)
>Description:
Compiler generates internal error when compiling the attached .cpp file with flags -c -fPIC -mregparm=3

For gcc 3.2, the generated error is slightly different:
Internal compiler error in x86_output_mi_thunk, at
   config/i386/i386.c:12615
>How-To-Repeat:
Compile the attached .cpp file using gcc 3.1 or 3.2 and flags
-c -fPIC -mregparm=3
>Fix:
Check sourcecode in cp/method.c:412 where thunk is generated
( config/i386/i386.c:12615 for gcc 3.2)

When compiling with -mregparm=2 everything goes ok
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* RE: optimization/7687: Internal compiler error in use_thunk, at cp/method.c:412
@ 2002-08-22 13:46 j.vanbemmel
  0 siblings, 0 replies; 2+ messages in thread
From: j.vanbemmel @ 2002-08-22 13:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/7687; it has been noted by GNATS.

From: "j.vanbemmel" <j.vanbemmel@home.nl>
To: gcc-gnats@gcc.gnu.org,
    nobody@gcc.gnu.org
Cc:  
Subject: RE: optimization/7687: Internal compiler error in use_thunk, at cp/method.c:412
Date: Thu, 22 Aug 2002 22:37:41 +0200

 Something went wrong with the attachement, so I'll repeat it here:
  
 I was compiling the following .cpp file with -fPIC -mregparm=3  
 on gcc 3.1 and gcc 3.2:
  
 class A {
    virtual void f1(); 
 }; 
 class B {
    virtual void f2(); 
 }; 
 class C : public A, public B 
 {
    virtual void f1();
    virtual void f2(); 
 };
  
 void C::f2() {}
 
 >===== Original Message From gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org =====
 >Thank you very much for your problem report.
 >It has the internal identification `optimization/7687'.
 >The individual assigned to look at your
 >report is: unassigned.
 >
 >>Category:       optimization
 >>Responsible:    unassigned
 >>Synopsis:       Internal compiler error in use_thunk, at cp/method.c:412
 >>Arrival-Date:   Thu Aug 22 13:26:00 PDT 2002 
 


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

end of thread, other threads:[~2002-08-22 20:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 13:36 optimization/7687: Internal compiler error in use_thunk, at cp/method.c:412 j.vanbemmel
2002-08-22 13:46 j.vanbemmel

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).