[Bug c/37538] New: 4.3.1 compiler crash at function call

kranthi dot d at redpinesignals dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 16 05:23:00 GMT 2008


Hi,

   Iam porting cross compiler from gcc 3.3 to gcc 4.3.1.

   I have tried to compile a simple program whose preprocessor output is as
follows

           # 1 "test.c"
           # 1 "<built-in>"
           # 1 "<command-line>"
           # 1 "test.c"

           int add(a,b)
           {
                return (a+b);
           }

           int main()
           {
               int a,b,c;
                a=1;
                b=2;
                c=add(a,b);
               return 0;
           }

   The compiler is giving internal compiler error as follows
               rpine-elf32-gcc: Internal error: Segmentation fault (program
cc1)
               Please submit a full bug report.
               See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: 4.3.1 compiler crash at function call
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kranthi dot d at redpinesignals dot com
  GCC host triplet: intel 686
GCC target triplet: rpine 32


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



More information about the Gcc-bugs mailing list