Integer case values were being compared as unsigned by operator<
on evaluate::value::Integer. Change that to signed so that overlap
can be detected correctly.
Explicit CompareUnsigned and BLT are still available if unsigned
comparison is needed.
Differential D87595
[flang] Correctly detect overlapping integer cases tskeith on Sep 13 2020, 9:42 PM. Authored by
Details Integer case values were being compared as unsigned by operator< Explicit CompareUnsigned and BLT are still available if unsigned
Diff Detail
|