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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 22 20:55:40 2018
New Revision: 261934

URL: https://gcc.gnu.org/viewcvs?rev=261934&root=gcc&view=rev
Log:
        Backported from mainline
        2018-03-21  Jakub Jelinek  <ja...@redhat.com>

        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.

Added:
    branches/gcc-7-branch/gcc/testsuite/c-c++-common/pr84999.c
Modified:
    branches/gcc-7-branch/gcc/c/ChangeLog
    branches/gcc-7-branch/gcc/c/c-typeck.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to