re PR middle-end/70280 (-fcompare-debug failure (length) with --param=integer-share...
authorJakub Jelinek <jakub@redhat.com>
Thu, 17 Mar 2016 23:00:04 +0000 (00:00 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 17 Mar 2016 23:00:04 +0000 (00:00 +0100)
commitfcc2b74fde7ce906d9ef9d97436d826cb8d550c3
treeb831108f83e028084d2e68c483d3e5ba8c73c3ad
parent1b858e76385c2bf5ac39c1dc6bfee316d6f422a5
re PR middle-end/70280 (-fcompare-debug failure (length) with --param=integer-share-limit=4016 -mavx512bw)

PR c/70280
* c-typeck.c (composite_type): Don't count void_list_node
into len, if the list is terminated by void_list_node, start
with void_list_node instead of NULL for newargs.  Stop
at void_list_node.

From-SVN: r234312
gcc/c/ChangeLog
gcc/c/c-typeck.c