This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/50236] New: compiler throws internal compiler error: Segmentation fault
- From: "bhanus at nds dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Aug 2011 05:51:29 +0000
- Subject: [Bug c/50236] New: compiler throws internal compiler error: Segmentation fault
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: bhanus@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