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/21407] [4.1 Regression] wrong code with upcast in C++


------- Additional Comments From giovannibajo at libero dot it  2005-05-10 13:17 -------
Ehm, bar should obviously be:

-------------------------------
void bar(void)
{
  struct B sb;
  foo1(&sb);
  foo1(&sb.sa);
  foo2(&sb);
  foo2(&sb.sa);
}
-------------------------------

that is, I'm trying all the combinations :)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21407


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