title: Emulating GCC's __builtin_unreachable?
body: <p>I get a whole <em>lot</em> of warnings about switches that only partially covers the range of an enumeration switched over. Therefor, I would like to have a "default" for all those switches and put <code>__builtin_unreachable</code> (GCC builtin) in that case, so that the compiler know that case is not reachable. </p>
  
  <p>However, I came to know that GCC4.3 does not support that builtin yet. Is there any good way to emulate that functionality? I thought about dereferencing a null pointer instead, but that may have other undesirable effects/warnings and such. Do you have any better idea? </p>