PR tree-optimization/87059
commita55f0871f40837404e4837bd75aa6d2dfc9a9ccf
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Aug 2018 19:12:36 +0000 (25 19:12 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Aug 2018 19:12:36 +0000 (25 19:12 +0000)
tree5a6e123e085eed215bd3edb996c21d13da4f07d2
parent9bd3a9f724261a295b67e15fbb1fe496c2203a15
PR tree-optimization/87059
* builtins.c (expand_builtin_strncmp): Convert MIN_EXPR operand
to the same type as the other.
* fold-const.c (fold_binary_loc): Assert expectation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263855 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const.c