[Bug debug/64511] [5 Regression] ICE at -O3 with -g enabled on x86_64-linux-gnu
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 22:00:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64511
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 21 21:59:34 2015
New Revision: 219974
URL: https://gcc.gnu.org/viewcvs?rev=219974&root=gcc&view=rev
Log:
PR debug/64511
* simplify-rtx.c (simplify_relational_operation_1): Don't try to
optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
* gcc.dg/pr64511.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr64511.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/simplify-rtx.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list