This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/55832] [4.8 Regression] ICE in fold_convert_loc, at fold-const.c:1967


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55832

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-03 09:02:51 UTC ---
Author: jakub
Date: Thu Jan  3 09:02:41 2013
New Revision: 194836

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194836
Log:
    PR tree-optimization/55832
    * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
    ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
    integer_{one,zero}_node.

    * gcc.c-torture/compile/pr55832.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr55832.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]