gcc crashed when compile the following example , and report "internal compiler
error: Segmentation fault".
//comandline: gcc -c a.c
/* a.c */
int main()
{
  void fun(a)
    int a[({void h(){}2;})];
  {

  }
  return 0;
}


-- 
           Summary: gcc crashed when compiling an example
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chenwj at gcrj dot com
 GCC build triplet: Kernel 2.6.11-1.1369_FC4 on an i686
  GCC host triplet: Kernel 2.6.11-1.1369_FC4 on an i686
GCC target triplet: Kernel 2.6.11-1.1369_FC4 on an i686


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

Reply via email to