re PR tree-optimization/86945 (BUG with optimisation of select case statement in...
authorRichard Biener <rguenther@suse.de>
Wed, 22 Aug 2018 08:07:36 +0000 (08:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 22 Aug 2018 08:07:36 +0000 (08:07 +0000)
commit66c4f4d8c4399c499f1af5f550bf28878a8d69db
treeccf1184d6515c05526f1c1d696d6b0a13464e475
parent30379cbf93b793ecce02968a8db989e8c2b627b3
re PR tree-optimization/86945 (BUG with optimisation of select case statement in gfortran)

2018-08-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86945
* tree-cfg.c (generate_range_test): Use unsigned arithmetic.

* gcc.dg/torture/pr86945.c: New testcase.

From-SVN: r263761
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr86945.c [new file with mode: 0644]
gcc/tree-cfg.c