This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/43510] New: ICE on wrong -mfpu value
- From: "hans dot buchmann at fhnw dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2010 17:34:51 -0000
- Subject: [Bug c/43510] New: ICE on wrong -mfpu value
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Preprocessing an empty file with a wrong -mfpu value results in:
empty.c:1:0: error: invalid floating point option: -mfpu=xxx
empty.c:1:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
The command:
/home/buchmann/devel/superfluous/eo3s/tc//bin/arm-fhnw-elf-cpp \
-mfpu=xxx empty.c
The version
/home/buchmann/devel/superfluous/eo3s/tc//bin/arm-fhnw-elf-cpp -v
Configured with:
/home/buchmann/devel/gcc/dist/gcc-4.5-20091217/configure -v \
--prefix=/home/buchmann/devel/gcc/target/arm \
--target=arm-fhnw-elf \
--enable-languages=c \
--disable-threads \
--disable-shared \
--disable-multilib \
--disable-nls \
--disable-__cxa_atexit \
--with-as=/home/buchmann/devel/gcc/target/arm/arm-fhnw-elf/bin/as \
--with-ld=/home/buchmann/devel/gcc/target/arm/arm-fhnw-elf/bin/ld \
--with-newlib \
--without-sysroot \
--without-headers \
--disable-libssp \
--disable-nls \
--with-mpfr=/home/buchmann/devel/gcc/target/arm/../infrastructure/ \
--with-mpc=/home/buchmann/devel/gcc/target/arm/../infrastructure/ \
--with-gmp=/home/buchmann/devel/gcc/target/arm/../infrastructure/ \
(reconfigured) /home/buchmann/devel/gcc/dist/gcc-4.5-20091217/configure -v \
--prefix=/home/buchmann/devel/gcc/target/arm \
--target=arm-fhnw-elf --enable-languages=c,c++ \
--disable-threads --disable-shared \
--disable-multilib \
--disable-nls \
--disable-__cxa_atexit \
--with-as=/home/buchmann/devel/gcc/target/arm/arm-fhnw-elf/bin/as \
--with-ld=/home/buchmann/devel/gcc/target/arm/arm-fhnw-elf/bin/ld \
--with-newlib \
--without-sysroot \
--without-headers \
--disable-libssp \
--disable-nls \
--with-mpfr=/home/buchmann/devel/gcc/target/arm/../infrastructure/ \
--with-mpc=/home/buchmann/devel/gcc/target/arm/../infrastructure/ \
--with-gmp=/home/buchmann/devel/gcc/target/arm/../infrastructure/
Thread model: single
gcc version 4.5.0 20091217 (experimental) (GCC)
Best regards
Hans Buchmann
--
Summary: ICE on wrong -mfpu value
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hans dot buchmann at fhnw dot ch
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-fhnw-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43510