re PR tree-optimization/69802 (gcc ICE at -O1 and above on valid code on…
re PR tree-optimization/69802 (gcc ICE at -O1 and above on valid code on x86_64-linux-gnu with “seg fault”) PR tree-optimization/69802 * tree-ssa-reassoc.c (update_range_test): If op is SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive op == 1 test of precision 1 integral op, otherwise handle that case as op itself. Fix up formatting. (optimize_range_tests_to_bit_test, optimize_range_tests): Fix up formatting. * gcc.dg/pr69802.c: New test. From-SVN: r233446
Showing
gcc/testsuite/gcc.dg/pr69802.c
0 → 100644
Please
register
or
sign in
to comment