This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26757] [4.1 regression] ICE (Segmentation fault) building 3ddesktop source
- From: "ferdinandw+gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2006 02:35:55 -0000
- Subject: [Bug tree-optimization/26757] [4.1 regression] ICE (Segmentation fault) building 3ddesktop source
- References: <bug-26757-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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