[Bug optimization/6883] Fails to optimize temporary objects.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 8 07:04:00 GMT 2004


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



More information about the Gcc-bugs mailing list