This works with "gcc", but not with "g++":

int main()
{
    const char *x[] = (const char *[]){ "test","blabla" };
}


-- 
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ninive at gmx dot at


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

Reply via email to