[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug tree-optimization/26757] [4.1 regression] ICE (Segmentation fault) building 3ddesktop source




------- Comment #6 from ferdinandw+gcc at gmail dot com  2006-03-26 02:35 -------
Sorry for the bugspam, but I noticed it could be reduced a bit more.

=====================================

struct Config {
    int bg_size;
    int autoacquire;

};

Config *cfg;

void load_background_image(void) 
{
    cfg->bg_size++;

    extern Config *cfg;

    cfg->autoacquire++;

}

void 
humbug ()
{
    if (cfg->autoacquire)
    cfg->bg_size++;

}

=====================================


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26757

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: