https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88215
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Nov 28 08:49:08 2018 New Revision: 266546 URL: https://gcc.gnu.org/viewcvs?rev=266546&root=gcc&view=rev Log: PR c++/88215 * c-ubsan.c: Include langhooks.h. (ubsan_instrument_division): Change gcc_assert that main variants of op0 and op1 types are equal to gcc_checking_assert that the main variants are compatible types. * c-c++-common/ubsan/pr88215.c: New test. Added: trunk/gcc/testsuite/c-c++-common/ubsan/pr88215.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-ubsan.c trunk/gcc/testsuite/ChangeLog