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 target/79971] ICE in const_binop, at fold-const.c:1554 on ARM target with saturated integers


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79971

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Mar  9 13:20:50 2017
New Revision: 246002

URL: https://gcc.gnu.org/viewcvs?rev=246002&root=gcc&view=rev
Log:
2017-03-09  Richard Biener  <rguenther@suse.de>

        PR middle-end/79971
        * gimple-expr.c (useless_type_conversion_p): Preserve
        TYPE_SATURATING for fixed-point types.

        * gcc.dg/fixed-point/pr79971.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/fixed-point/pr79971.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-expr.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]