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

             Bug #: 50236
           Summary: compiler throws internal compiler error: Segmentation
                    fault
    Classification: Unclassified
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: bha...@nds.com


Hi,

I am doing compilation with gcc version 

compiler/bin/mipsel-linux-uclibc-gcc  -Os -fPIC -fno-strict-aliasing -Wall
-fno-builtin -DNeedFunctioPrototypes=1 -Wmissing-prototypes -Wshadow
-Wpointer-arith -c abc.c -o abc.o

abc.c: In function ‘func’:
abc.c:952: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

In the function abc.c, at line 952, I am calling a function abc1();

…
Abc1();
…

And the function definintion of abc1 is  -
void abc1(void)
{
    return;
}
I am using mipsel-uclibc-gcc-4.2.0, the crosstoolchain for mipsel.

Thanks,
Bhanu

Reply via email to