This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35504] incorrect code generated on i386 for C++ multiple inheritance, large return structures and regparm or fastcall calling conventions
- From: "uros at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2008 07:49:01 -0000
- Subject: [Bug target/35504] incorrect code generated on i386 for C++ multiple inheritance, large return structures and regparm or fastcall calling conventions
- References: <bug-35504-1600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from uros at gcc dot gnu dot org 2008-03-19 07:49 -------
Subject: Bug 35504
Author: uros
Date: Wed Mar 19 07:48:16 2008
New Revision: 133336
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133336
Log:
PR target/35504
* config/i386/i386.c (x86_this_parameter): Calculate correct location
of "this" pointer when "regparm = N" or "fastcall" is in effect.
testsuite/ChangeLog
PR target/35504
* g++.dg/other/pr35504.C: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/pr35504.C
- copied unchanged from r133324,
trunk/gcc/testsuite/g++.dg/other/pr35504.C
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35504