[Bug sanitizer/80349] [6/7 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 12 06:16:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Apr 12 06:12:26 2017
New Revision: 246865
URL: https://gcc.gnu.org/viewcvs?rev=246865&root=gcc&view=rev
Log:
PR sanitizer/80349
* fold-const.c (fold_binary_loc) <case BIT_IOR_EXPR>: Convert arg0's
first argument to type.
* g++.dg/ubsan/pr80349.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ubsan/pr80349.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list