[mid-end] [obvious] Cast to avoid -Wsign-compare warning from r279124
authorMatthew Malcomson <matthew.malcomson@arm.com>
Mon, 9 Dec 2019 13:16:07 +0000 (13:16 +0000)
committerMatthew Malcomson <matmal01@gcc.gnu.org>
Mon, 9 Dec 2019 13:16:07 +0000 (13:16 +0000)
commite6130412c18618b8c6cc0dbc63b27ff2b7d6f8ff
tree95215649b62a7dffb983a45825cfc13b78b57ca5
parent21a098f4a173fd5da3a36e86e4e41e6a8c920b51
[mid-end] [obvious] Cast to avoid -Wsign-compare warning from r279124

The previous revision adds a comparison that triggers a warning.
Here we simply cast the unsigned integer to a signed one before the
comparison.

gcc/ChangeLog:

2019-12-09  Matthew Malcomson  <matthew.malcomson@arm.com>

* regstat.c (regstat_bb_compute_calls_crossed): Add a cast to
avoid a warning.

From-SVN: r279126
gcc/ChangeLog
gcc/regstat.c