[Bug target/45074] GCC Segmentation fault - negating global register variables
steffen-schmidt at siemens dot com
gcc-bugzilla@gcc.gnu.org
Fri Nov 12 08:40:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45074
Steffen Schmidt <steffen-schmidt at siemens dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.5.0
--- Comment #3 from Steffen Schmidt <steffen-schmidt at siemens dot com> 2010-11-12 08:38:41 UTC ---
I've tried different GCC versions always getting the same result:
---------------------------------------------------------
Codesourcery's mips_gcc_sde_4.3.2\bin\mips-sde-elf-gcc.exe -v
Using built-in specs.
Target: mips-sde-elf
Configured with: /scratch/clm/2008q3-sde-lite/src/gcc-4.3/configure
--build=i686-pc-linux-gnu --host=i686-mingw32 --target=mips-sde-elf
--enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch
--with-arch=mips32r2 --enable-sgxx-sde-multilibs --disable-threads
--with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-shared
--with-newlib --with-pkgversion='Sourcery G++ Lite 4.3-81'
--with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls
--prefix=/opt/codesourcery --with-headers=yes
--with-sysroot=/opt/codesourcery/mips-sde-elf
--with-build-sysroot=/scratch/clm/2008q3-sde-lite/install/host-i686-mingw32/mips-sde-elf
--with-libiconv-prefix=/scratch/clm/2008q3-sde-lite/obj/host-libs-4.3-81-mips-sde-elf-i686-mingw32/usr
--with-gmp=/scratch/clm/2008q3-sde-lite/obj/host-libs-4.3-81-mips-sde-elf-i686-mingw32/usr
--with-mpfr=/scratch/clm/2008q3-sde-lite/obj/host-libs-4.3-81-mips-sde-elf-i686-mingw32/usr
--disable-libgomp --enable-poison-system-directories
--with-build-time-tools=/scratch/clm/2008q3-sde-lite/obj/tools-i686-pc-linux-gnu-4.3-81-mips-sde-elf-i686-mingw32/mips-sde-elf/bin
--with-build-time-tools=/scratch/clm/2008q3-sde-lite/obj/tools-i686-pc-linux-gnu-4.3-81-mips-sde-elf-i686-mingw32/mips-sde-elf/bin
Thread model: single
gcc version 4.3.2 (Sourcery G++ Lite 4.3-81)
---------------------------------------------------------
Codesourcery's mips_gcc_sde_4.3.2\bin\mips-sde-elf-gcc.exe -O1 -x c++
test_neg_float_register.c
test_neg_float_register.c: In function 'void negate_float_register()':
test_neg_float_register.c:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://support.codesourcery.com/GNUToolchain/> for instructions.
---------------------------------------------------------
Codesourcery's mips_gcc_sde_4.4.1\bin\mips-sde-elf-gcc.exe -v
Using built-in specs.
Target: mips-sde-elf
Configured with: /scratch/clm/dec2009-sde-lite/src/gcc-4.4/configure
--build=i686-pc-linux-gnu --host=i686-mingw32 --target=mips-sde-elf
--enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch
--with-arch=mips32r2 --enable-sgxx-sde-multilibs --disable-threads
--with-gnu-as --with-gnu-ld --with-specs='%{O2:%{!fno-remove-local-statics:
-fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics:
-fremove-local-statics}}}' --enable-languages=c,c++ --disable-shared
--disable-lto --with-newlib --with-pkgversion='Sourcery G++ Lite 4.4-87'
--with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls
--prefix=/opt/codesourcery --with-headers=yes
--with-sysroot=/opt/codesourcery/mips-sde-elf
--with-build-sysroot=/scratch/clm/dec2009-sde-lite/install/host-i686-mingw32/mips-sde-elf
--with-libiconv-prefix=/scratch/clm/dec2009-sde-lite/obj/host-libs-4.4-87-mips-sde-elf-i686-mingw32/usr
--with-gmp=/scratch/clm/dec2009-sde-lite/obj/host-libs-4.4-87-mips-sde-elf-i686-mingw32/usr
--with-mpfr=/scratch/clm/dec2009-sde-lite/obj/host-libs-4.4-87-mips-sde-elf-i686-mingw32/usr
--with-ppl=/scratch/clm/dec2009-sde-lite/obj/host-libs-4.4-87-mips-sde-elf-i686-mingw32/usr
--with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
--with-cloog=/scratch/clm/dec2009-sde-lite/obj/host-libs-4.4-87-mips-sde-elf-i686-mingw32/usr
--disable-libgomp --enable-poison-system-directories
--with-build-time-tools=/scratch/clm/dec2009-sde-lite/obj/tools-i686-pc-linux-gnu-4.4-87-mips-sde-elf-i686-mingw32/mips-sde-elf/bin
--with-build-time-tools=/scratch/clm/dec2009-sde-lite/obj/tools-i686-pc-linux-gnu-4.4-87-mips-sde-elf-i686-mingw32/mips-sde-elf/bin
Thread model: single
gcc version 4.4.1 (Sourcery G++ Lite 4.4-87)
---------------------------------------------------------
Codesourcery's mips_gcc_sde_4.4.1\bin\mips-sde-elf-gcc.exe -O1 -x c++
test_neg_float_register.c
test_neg_float_register.c: In function 'void negate_float_register()':
test_neg_float_register.c:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://support.codesourcery.com/GNUToolchain/> for instructions.
---------------------------------------------------------
My own compiled MinGW32 Cross-compiler GCC 4.5.0 for mips
cross-gcc\mips-siemens-elf\bin\mips-siemens-elf-gcc.exe -v
Using built-in specs.
COLLECT_GCC=C:\msys\1.0\build\cross-gcc\mips-siemens-elf\bin\mips-siemens-elf-gcc.exe
COLLECT_LTO_WRAPPER=c:/msys/1.0/build/cross-gcc/mips-siemens-elf/bin/../libexec/gcc/mips-siemens-elf/4.5.0/lto-wrapper.exe
Target: mips-siemens-elf
Configured with: ../../gcc-4.5.0//configure --enable-languages=c,c++
--with-arch=mips32r2 --enable-interwork --enable-multilib --with-gcc
--with-gnu-ld --with-gnu-as --with-stabs --disable-shared --disable-threads
--disable-win32-registry --disable-nls --target=mips-siemens-elf --with-newlib
--prefix=/build/cross-gcc/mips-siemens-elf
--with-gmp=/build/cross-gcc/mips-siemens-elf
--with-mpfr=/build/cross-gcc/mips-siemens-elf
--with-mpc=/build/cross-gcc/mips-siemens-elf
--with-sysroot=/build/cross-gcc/mips-siemens-elf -v
Thread model: single
gcc version 4.5.0 (GCC)
---------------------------------------------------------
My own compiled MinGW32 Cross-compiler GCC 4.5.0 for mips
cross-gcc\mips-siemens-elf\bin\mips-siemens-elf-gcc.exe -O1 -x c++
test_neg_float_register.c
test_neg_float_register.c: In function 'void negate_float_register()':
test_neg_float_register.c:5:35: 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.
More information about the Gcc-bugs
mailing list