4.3.1 compiler crash at function call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


--

Thanks & Regards,
D.kranthi kiran



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux