This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r253805 - in /trunk/gcc: ChangeLog fold-const.c...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Oct 2017 07:38:33 -0000
- Subject: r253805 - in /trunk/gcc: ChangeLog fold-const.c...
Author: jakub
Date: Tue Oct 17 07:38:32 2017
New Revision: 253805
URL: https://gcc.gnu.org/viewcvs?rev=253805&root=gcc&view=rev
Log:
PR tree-optimization/82549
* fold-const.c (optimize_bit_field_compare, fold_truth_andor_1):
Formatting fixes. Instead of calling make_bit_field_ref with negative
bitpos return 0.
* gcc.c-torture/compile/pr82549.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr82549.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog