Closed Quuxplusone closed 7 years ago
Bugzilla Link | PR33537 |
Status | RESOLVED INVALID |
Importance | P enhancement |
Reported by | Dmitry Babokin (babokin@gmail.com) |
Reported on | 2017-06-20 18:16:17 -0700 |
Last modified on | 2017-06-21 09:50:22 -0700 |
Version | trunk |
Hardware | PC All |
CC | babokin@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk, Vsevolod.Livinskij@frtk.ru |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
What do you think is illegitimate about this? The warning appears correct to me. Please keep in mind that unary - is an operator, not part of the literal itself.
Ouch. You are right. I was confused by missing warning for INT_MIN. I've re-read literals section in the standard and now the warning makes sense. Sorry for false alarm.