/* Copyright (C) 2004 Free Software Foundation. Test for composite comparison always true/false optimization. Written by Paolo Bonzini, 26th May 2004. */ extern void link_error0 (); extern void link_error1 (); void test1 (float x, float y) { if ((x==y) && (x!=y)) link_error0(); } void test2 (float x, float y) { if ((xy)) link_error0(); } void test3 (float x, float y) { if ((x=y) || (x