This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16369] New: fatal signal 11 when compiling a large array initialization


g++/gcc version
 
[host ~]g++ -v
 gcc -v
Reading specs from /usr/local/tools/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc version 2.8.1
 
Simple program  that resulted in 'internal compiler error'
[host ~]g++ sample.c
gcc: Internal compiler error: program cc1plus got fatal signal 11
 
sample.c file contents
 
#include <stdio.h>
 

main()
{
   unsigned char cfg[110377] = 
   {
 
      .................
      .................
       0x34, 0x21, 0x33, 0x3f, 0x6f, 0x16, 0x19, 0x17, 0x2e, 0x69,
       0x1e, 0x19, 0x1a, 0x1a, 0x44, 0x18, 0x69, 0x13, 0x20, 0x70,
       0x11, 0x17, 0x15, 0x10, 0x63, 0x1f, 0x75, 0x1c, 0x14, 0x20,
        ................. 
      .................
       
   };
   printf("%s",cfg);
}

-- 
           Summary: fatal signal 11 when compiling a large array
                    initialization
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kasamajay at rediffmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]