[Bug target/35504] incorrect code generated on i386 for C++ multiple inheritance, large return structures and regparm or fastcall calling conventions
uros at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 19 07:49:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list