This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault
- From: "stefano dot franzoni at marposs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2006 08:34:21 -0000
- Subject: [Bug c/28476] New: msp430-gcc with -Wunreachable-code Segmentation fault
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I am using the last mspgcc compiler for MSP430 downloaded at
http://sourceforge.net/project/showfiles.php?group_id=42303&package_id=68584.
The bug is easily reproducible applying the following compiler line to the
source main of example tasker
msp430-gcc -mmcu=msp430x147 -g -O3 -Wall -Wcast-align -Wcast-qual -Wimplicit
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wredundant-decls -Wreturn-type -Wshadow -Wstrict-prototypes -Wswitch -Wunused
-Wunreachable-code -c -o main.o main.c
in the original line -Wunreachable-code in missed.
The error raised is
main.c: In function `task1':
main.c:126: internal error: Segmentation fault
compiler version:
Reading specs from /cygdrive/c/mspgcc/bin/../lib/gcc-lib/msp430/3.2.3/specs
Configured with: ./configure --target=msp430
--prefix=/f/prog/msp430/sf/packagin
g/build/installed --disable-nls
Thread model: single
gcc version 3.2.3
--
Summary: msp430-gcc with -Wunreachable-code Segmentation fault
Product: gcc
Version: 3.2.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stefano dot franzoni at marposs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28476