re PR middle-end/11771 (Segfault with simple double arithmetics)
PR middle-end/11771 * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the logic in negate_expr, i.e. we don't invert (A-B) for floating point types unless flag_unsafe_math_optimizations. * gcc.c-torture/compile/20030804-1.c: New test case. From-SVN: r70159
Showing
- gcc/ChangeLog 7 additions, 0 deletionsgcc/ChangeLog
- gcc/fold-const.c 4 additions, 1 deletiongcc/fold-const.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.c-torture/compile/20030804-1.c 9 additions, 0 deletionsgcc/testsuite/gcc.c-torture/compile/20030804-1.c
Loading
Please register or sign in to comment