This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/8826] "a >> b" differs from "a.operator>>(b)" in that virtual function calls are not avoided
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jul 2004 14:51:04 -0000
- Subject: [Bug tree-optimization/8826] "a >> b" differs from "a.operator>>(b)" in that virtual function calls are not avoided
- References: <20021205105602.8826.niemayer@isg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-28 14:51 -------
Now only inlining needs to happen after some optimization has happened:
a._vptr.A = &_ZTV1A[2];
__asm__ __volatile__("testlabel1: "::);
r = operator>> (&a, y);
__asm__ __volatile__("testlabel2: "::);
----
__asm__ __volatile__("testlabel3: "::);
__asm__ __volatile__("testlabel4: "::);
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |tree-optimization
Last reconfirmed|2004-04-28 02:32:56 |2004-07-28 14:51:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8826