Initializing a struct member that is a union of function pointers with a NULL
(0) value causes an internal compiler error: in reshape_init_r, at
cp/decl.c:4632.
This code compiles and executes correctly with g++ 3.2, 3,3, and 3.4.
See attached program code that demonstrates the compile error. No options were
used, just 'g++ t.cpp'.


-- 
           Summary: internal compiler error: in reshape_init_r, at
                    cp/decl.c:4632
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mjones at adt-it dot com
 GCC build triplet: 4.1.1 20061011 (Red Hat 4.1.1-30)
  GCC host triplet: i386-pc-linux-gnu
GCC target triplet: i386-pc-linux-gnu


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

Reply via email to