using ACE 5.4.1
command line:g++ -I/usr/local/ACE_wrappers test.cpp
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
source:
#include <ace/INET_Addr.h>

struct ERR
{
    ACE_INET_Addr err[10][2]; /// right: int err[10][2]; or ACE_INET_Addr [10];
};

ERR temp = {0};
int main()
{
    return 0;
}


-- 
           Summary: g++ core when init a struct
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tiramisu dot xc at gmail dot com


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

Reply via email to