switch(xxx) { case *(const int* const)"abc": break; } does not get compiled. saying: error: case label does not reduce to an integer constant
I think it is the bug. -- Summary: case xxx statement does not recognize const int value Product: gcc Version: unknown Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: socketpair at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44094