foof(float a)1static float foof( float a) { return ( float) a; }
food(double a)2static double food(double a) { return (double) a; }
fool(long double a)3static long double fool(long double a) { return (long double) a; }
4
5 /*
6 * check-name: fpcast-nop
7 * check-description:
8 * Verify that unneeded casts between same-type
9 * floats are also optimized away.
10 *
11 * check-command: test-linearize $file
12 * check-output-ignore
13 *
14 * check-output-excludes: fpcast\\.
15 */
16