[Bug c/44094] case xxx statement does not recognize const int value

2010-05-12 Thread redi at gcc dot gnu dot org
--- 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 --

[Bug c/44094] case xxx statement does not recognize const int value

2010-05-12 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-05-12 11:37 --- Indeed -- rguenth at gcc dot gnu dot org changed: What|Removed |Added