[Bug middle-end/79788] ICE in expand_expr_real_2, at expr.c:9557

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 18 13:16:00 GMT 2017


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 18 13:15:46 2017
New Revision: 246965

URL: https://gcc.gnu.org/viewcvs?rev=246965&root=gcc&view=rev
Log:
        PR middle-end/79788
        PR middle-end/80375
        * c-common.c (c_common_type_for_mode): Don't handle
        widest_*_literal_type_node here.
        c_common_signed_or_unsigned_type): Likewise.
        (c_common_nodes_and_builtins): Set widest_*_literal_type_node
        to *intTI_type_node or *intDI_type_node depending on whether
        TImode is supported by the target or not.

        * gcc.dg/pr79788-1.c: New test.
        * gcc.dg/pr79788-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr79788-1.c
    trunk/gcc/testsuite/gcc.dg/pr79788-2.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list