------- Comment #3 from rguenth at gcc dot gnu dot org 2008-09-03 09:17 ------- typedef enum RW { rwBitmapGrey, rwBitmapGrey16 } RW; void FindDepth(RW); void ParseDumpBitmap(RW kind, int maxfiles) { static const RW normalTypes[] = { }; const RW *bitmapTypes; int i; switch (kind) { case rwBitmapGrey: case rwBitmapGrey16: bitmapTypes = &kind; break; default: bitmapTypes = normalTypes; } for (i = 0; i < maxfiles; i++) FindDepth(bitmapTypes[i]); }
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-09-03 09:17:30 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37343