gcc/testsuite/gcc.target/sh/torture/pr64652.c
raw| 1 | /* Check that using -mdiv=call-fp compiles without fuzz. */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-additional-options "-mdiv=call-fp" } */ |
| 4 | |
| 5 | int |
| 6 | test_0 (int a, int b, int c, int d) |
| 7 | { |
| 8 | return (a / b) + c + d; |
| 9 | } |
| 10 | |
| 11 | unsigned int |
| 12 | test_1 (unsigned int a, unsigned int b, unsigned int c, unsigned int d) |
| 13 | { |
| 14 | return (a / b) + c + d; |
| 15 | } |