------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-02 16:36 ------- Reduced testcase (even though it gives a different ICE, it is the same bug as someone is forgetting to unshare_expr somewhere): struct sockaddr_un { char sun_path[1]; }; const unsigned SI_SUN_HEAD_LEN = (long)(((struct sockaddr_un *)0)->sun_path); int SiGetPeerName () { return SI_SUN_HEAD_LEN; } int SiAccept () { return SI_SUN_HEAD_LEN; }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|middle-end |c++ Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-01-02 16:36:18 date| | Summary|[4.1 Regression] ICE in |[4.1/4.2 Regression] ICE in |make_decl_rtl, at |make_decl_rtl, at |varasm.c:890 |varasm.c:890 Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25632