[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 27 21:13:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349
--- Comment #15 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Apr 27 21:12:29 2017
New Revision: 247352
URL: https://gcc.gnu.org/viewcvs?rev=247352&root=gcc&view=rev
Log:
PR sanitizer/80349
* fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Convert
arg10 and arg11 to itype.
* c-c++-common/ubsan/pr80349.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/ubsan/pr80349.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list