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 optimization/6883] Fails to optimize temporary objects.


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-08 07:04 -------
I have a fix which converts what I gave into:
  if ((bool)(int)!(T.4 > T.6) goto <L0>; else goto <L14>;
which is better but there are still some stores to the stack (at least on powerpc-apple-darwin) but that is caused by the C++ front-end lowering things like &a[b] and such.

-- 


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


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