This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/8826] "a >> b" differs from "a.operator>>(b)" in that virtual function calls are not avoided


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]