This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
optimization/7687: Internal compiler error in use_thunk, at cp/method.c:412
- From: j dot vanbemmel at home dot nl
- To: gcc-gnats at gcc dot gnu dot org
- Date: 22 Aug 2002 20:19:58 -0000
- Subject: optimization/7687: Internal compiler error in use_thunk, at cp/method.c:412
- Reply-to: j dot vanbemmel at home dot nl
>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: