PR sanitizer/80349
commitb0d3d72faedcc2bca41d8a85b8a5c4e71184bf78
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 2017 21:12:29 +0000 (27 21:12 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 2017 21:12:29 +0000 (27 21:12 +0000)
tree76d8381120643982630eae02550e5044ba926547
parentd4e8fb3a8af7df96e6911fc1ed5ff44860d0952b
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.

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