[PATCH] Fix testsuite/gcc.c-torture/execute/ieee/920810-1.c on i686, sparc64 and other platforms

Jeffrey A Law law@cygnus.com
Wed Sep 6 18:33:00 GMT 2000


  In message < 20000904090539.H21753@devserv.devel.redhat.com >you write:
  > Hi!
  > 
  > This patch fixes testsuite/gcc.c-torture/execute/ieee/920810-1.c on
  > platforms with conditional move instructions. We cannot optimize
  > a == b ? b : a into a if it is a float comparison.
  > Ok to commit?
  > 
  > 2000-09-04  Jakub Jelinek  <jakub@redhat.com>
  > 
  > 	* combine.c (simplify_if_then_else): Don't convert a == b ? b : a
  > 	to a if the comparison is floating mode and not -ffast-math.
  > 	* simplify-rtx.c (simplify_ternary_operation): Likewise.
  > 
This is fine. Please install this patch.

Thanks,
jeff



More information about the Gcc-patches mailing list