I have a complicated switch statement, and I forgot to put a break at the end of one of the cases. This is quite legal, and as a resu
switch
break
case
Short answer is no, there is no such flag in gcc to do that. Switch case is used for the fall through more often so that is why it does not make sense to have such a flag in gcc.