[Bug tree-optimization/82549] [6/7/8 Regression] ICE at -O1 and above: verify_gimple failed
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 17 07:39:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82549
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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
More information about the Gcc-bugs
mailing list