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/67971] Failure to unify conditional argument selection with conditional result selection


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67971

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note we should able to optimize this just to
int
f1 (int cond, double x, double y)
{ 
  double z1, z2;

  z2 = __builtin_cos (cond ? x : y);
  return z2 == z2;
}


But that is 64700.

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