re PR middle-end/87854 (gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t)
authorJakub Jelinek <jakub@redhat.com>
Fri, 16 Nov 2018 16:41:54 +0000 (17:41 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 16 Nov 2018 16:41:54 +0000 (17:41 +0100)
commit258b3854633d78954f9f9aba5cc433c992a5010e
treef908eaeb33bb5702b4ae09cf8c2f344702a08fc0
parent7f46559c8282d7e6e9b2b8d67cd390b7775ce1bc
re PR middle-end/87854 (gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t)

PR middle-end/87854
* c-common.c (fix_string_type): Reject string literals larger than
TYPE_MAX_VALUE (ssizetype) bytes.

From-SVN: r266217
gcc/c-family/ChangeLog
gcc/c-family/c-common.c