[Bug middle-end/37343] [4.4 Regression] ICE in expand_expr_real_1, at expr.c:7290

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 3 09:18:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list