re PR tree-optimization/87059 (internal compiler error: in set_value_range, at tree...
authorMartin Sebor <msebor@redhat.com>
Sat, 25 Aug 2018 19:12:36 +0000 (19:12 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 25 Aug 2018 19:12:36 +0000 (13:12 -0600)
commit75e96bc80cf32a302c27bdbbec1ec7119a690857
tree5a6e123e085eed215bd3edb996c21d13da4f07d2
parent3d6fc627f6cb78ecf280622c05eed59e9150a5c7
re PR tree-optimization/87059 (internal compiler error: in set_value_range, at tree-vrp.c:289)

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.

From-SVN: r263855
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const.c