diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr35171.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr35171.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr35171.c b/gcc/testsuite/gcc.c-torture/compile/pr35171.c new file mode 100644 index 000000000..3f7ef2cca --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr35171.c @@ -0,0 +1,10 @@ +int f(int a, int b, short c, int d, short e)
+{
+ int i;
+ for (i = 1; i <= 2 ; i++) {
+ c -= 4;
+ a = c;
+ d = d + (b?b:e);
+ }
+ return a + d;
+}
|