aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-unswitch.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2021-05-27 23:54:52 -0400
committerJason Merrill <jason@redhat.com>2021-05-28 08:56:42 -0400
commitf838e3ccf8d2849980e9d0f70aa60ecd2eb5772c (patch)
treee0f056341410f152dc66aa4d174ff5f2d5193aca /gcc/tree-ssa-loop-unswitch.c
parent359c0a86e2974a9f3036bc05b6e6c661f2c463cf (diff)
downloadgcc-f838e3ccf8d2849980e9d0f70aa60ecd2eb5772c.zip
gcc-f838e3ccf8d2849980e9d0f70aa60ecd2eb5772c.tar.gz
gcc-f838e3ccf8d2849980e9d0f70aa60ecd2eb5772c.tar.bz2
c++: 'this' adjustment for devirtualized call
My patch for 95719 made us do a better job of finding the actual virtual function we want to call, but didn't update the 'this' pointer adjustment to match. PR c++/100797 PR c++/95719 gcc/cp/ChangeLog: * call.c (build_over_call): Adjust base_binfo in resolves_to_fixed_type_p case. gcc/testsuite/ChangeLog: * g++.dg/inherit/virtual15.C: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions