[Bug c/70104] Should give an error when using multiple case value in switch

2016-03-06 Thread np199113 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70104 --- Comment #2 from Niks --- (In reply to Jakub Jelinek from comment #1) > 'a' || 'A' is 1, so there is no reason to give an error about it. > The error in the second case is because you have two case labels with the > same value, 1. That is not

[Bug c/70104] Should give an error when using multiple case value in switch

2016-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70104 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|