re PR middle-end/79788 (ICE in expand_expr_real_2, at expr.c:9557)
authorJakub Jelinek <jakub@redhat.com>
Tue, 18 Apr 2017 13:15:46 +0000 (15:15 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 18 Apr 2017 13:15:46 +0000 (15:15 +0200)
commit8487c9a550dea622f89a146178e666660c1b2962
tree717ea5c5171337c44df6adde03d5f5eda78543ad
parent38d68cf0f5dae47c558e2ea2a9bf652788a19eeb
re PR middle-end/79788 (ICE in expand_expr_real_2, at expr.c:9557)

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.

From-SVN: r246965
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr79788-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr79788-2.c [new file with mode: 0644]