------- Comment #1 from redi at gcc dot gnu dot org 2010-05-12 11:36 ------- the case label must be an integer constant, this is not the same as a const int.
the * operator is not allowed in an integer constant expression, so the code is invalid -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44094