gcc/testsuite/gcc.dg/torture/pr98786.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-fno-tree-dce" } */ |
| 3 | |
| 4 | void |
| 5 | func_30 (void); |
| 6 | |
| 7 | int __attribute__ ((pure, returns_twice)) |
| 8 | func_38 (int g_15, int p_39) |
| 9 | { |
| 10 | return !!g_15 ? p_39 : 0; |
| 11 | } |
| 12 | |
| 13 | void |
| 14 | func_26 (int func_26___trans_tmp_1) |
| 15 | { |
| 16 | long int l_37 = 0; |
| 17 | int __trans_tmp_1; |
| 18 | |
| 19 | func_26___trans_tmp_1 = func_38 (func_26___trans_tmp_1, 1); |
| 20 | __trans_tmp_1 = func_38 (func_26___trans_tmp_1, l_37); |
| 21 | l_37 = 1; |
| 22 | func_30 (); |
| 23 | } |