re PR target/35504 (incorrect code generated on i386 for C++ multiple inheritance...
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Tue, 18 Mar 2008 20:00:12 +0000 (21:00 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 18 Mar 2008 20:00:12 +0000 (21:00 +0100)
commit34614fff0d46c19981a458834a71b7325e206338
treedc483ddfafcccacac26d2dfd5679a1bd46d3f4d9
parent88ab8cf2a5541c7e6f199f53b4c8d894bc14c74d
re PR target/35504 (incorrect code generated on i386 for C++ multiple inheritance, large return structures and regparm or fastcall calling conventions)

        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.

From-SVN: r133324
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr35504.C [new file with mode: 0644]