[Bug c++/17827] New: ICE: in make_decl_rtl, at varasm.c:752

Woebbeking at web dot de gcc-bugzilla@gcc.gnu.org
Mon Oct 4 08:48:00 GMT 2004


Hi, 
 
the following code doesn't compile. It's related to my PR 14203 (or from Debian 
BR #233548). GCC 3.4.1 works fine. 
 
 
André 
 
 
struct Dummy 
{ 
    void foo(); 
}; 
 
const bool g_bAlways = false; 
 
int main() 
{ 
    bool test; 
    if (g_bAlways) 
    { 
        if (Dummy* dummy = 0) 
        { 
            if (!test) 
            { 
                int d; 
                d = 1; 
            } 
            dummy->foo(); 
         } 
     } 
 
     return 0; 
}

-- 
           Summary: ICE: in make_decl_rtl, at varasm.c:752
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Woebbeking at web dot de
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list