PR c/84999
commit86f1f5d13acb431eb5e30133161bcb146c6d0ad7
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2018 21:48:47 +0000 (21 21:48 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2018 21:48:47 +0000 (21 21:48 +0000)
treeadb31ecef06999c3280ce6a8428edd5a4a32d542
parentfca97ef58389e6428f4c0e379a92b308fb090d8d
PR c/84999
* c-typeck.c (build_binary_op): If c_common_type_for_size fails when
building vector comparison, diagnose it and return error_mark_node.

* c-c++-common/pr84999.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258747 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr84999.c [new file with mode: 0644]