[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi
--- Comment #6 from riku dot voipio at iki dot fi 2008-05-09 10:05 --- The attached testcases compile now fine with gcc 4.3 branch updated to 20080501 Using built-in specs. Target: arm-linux-gnueabi Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.0-4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libssp --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi Thread model: posix gcc version 4.3.1 20080501 (prerelease) (Debian 4.3.0-4) -- riku dot voipio at iki dot fi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964
[Bug target/35399] [4.3 regression] bootstrap error, ICE in free_list, at lists.c:52
--- Comment #2 from riku dot voipio at iki dot fi 2008-04-28 12:26 --- Newer arm builds of gcc-4.3 in debian have succeeded fine, so I'd say this bug can be closed. One theory could be that this build machine simply ran out of Memory during the build (although a later build on similar machine succeeded fine). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35399
[Bug target/35965] -fstack-protector produces segfaulting binaries on arm/armel
--- Comment #3 from riku dot voipio at iki dot fi 2008-04-23 13:49 --- This is also reproducible with codesourcery 2008q1 Using built-in specs. Target: arm-none-linux-gnueabi Configured with: /scratch/sandra/lite/src/gcc-4.2/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion=Sourcery G++ Lite 2008q1-126 --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/sandra/lite/linux/install/arm-none-linux-gnueabi/libc --enable-poison-system-directories --with-build-time-tools=/scratch/sandra/lite/linux/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/sandra/lite/linux/install/arm-none-linux-gnueabi/bin Thread model: posix gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965
[Bug c/35964] New: ICE with -funroll-loops on arm/arm eabi
Since the upgrade to gcc-4.3, gcc has started to ICE on selected packages. After some debugging, all cases so far seem to relate to using -funroll-loops, so I'll start putting all ICE's to same bugreport. Using built-in specs. Target: arm-linux-gnueabi Configured with: ../src/configure linux gnueabi Thread model: posix gcc version 4.3.1 20080401 (prerelease) (Debian 4.3.0-3) libcoveb: coveb-tree.i: $ gcc-4.3 -S -g -O2 -funroll-loops coveb-tree.i ../../../src/coveb-tree.c: In function 'coveb__ibq_remove': ../../../src/coveb-tree.c:1053: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. Removing -funroll-loops make compile succeed. john: $ gcc -S -Wall -O2 -fomit-frame-pointer -funroll-loops DES_bs.i DES_bs.c: In function 'DES_bs_cmp_all': DES_bs.c:175: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. Removing -funroll-loops make compile succeed. pymol: $ gcc -g -O2 -fwrapv -funroll-loops -S Match.i layer0/Match.c: In function 'MatchAlign': layer0/Match.c:578: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. removing either -funroll-loops or -fwrapv makes compile succeed. openarena: $ gcc -S -O3 -ffast-math -funroll-loops files.i code/qcommon/files.c: In function 'FS_Seek': code/qcommon/files.c:1454: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. Removing -funroll-loops make compile succeed. -- Summary: ICE with -funroll-loops on arm/arm eabi Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: riku dot voipio at iki dot fi GCC build triplet: arm-linux-gnueabi GCC host triplet: arm-linux-gnueabi GCC target triplet: arm-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964
[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi
--- Comment #1 from riku dot voipio at iki dot fi 2008-04-17 11:19 --- Created an attachment (id=15485) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15485action=view) test case from libcoveb ICE when compiled as: gcc-4.3 -S -g -O2 -funroll-loops coveb-tree.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964
[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi
--- Comment #2 from riku dot voipio at iki dot fi 2008-04-17 11:22 --- Created an attachment (id=15486) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15486action=view) test case from john gcc -S -Wall -O2 -fomit-frame-pointer -funroll-loops DES_bs.i DES_bs.c: In function 'DES_bs_cmp_all': DES_bs.c:175: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. Removing -funroll-loops make compile succeed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964
[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi
--- Comment #3 from riku dot voipio at iki dot fi 2008-04-17 11:23 --- Created an attachment (id=15487) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15487action=view) test case from openarena, a quake3 port gcc -S -O3 -ffast-math -funroll-loops files.i code/qcommon/files.c: In function 'FS_Seek': code/qcommon/files.c:1454: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. Removing -funroll-loops make compile succeed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964
[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi
--- Comment #4 from riku dot voipio at iki dot fi 2008-04-17 11:24 --- Created an attachment (id=15488) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15488action=view) test case from pymol $ gcc -g -O2 -fwrapv -funroll-loops -S Match.i layer0/Match.c: In function 'MatchAlign': layer0/Match.c:578: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions. removing either -funroll-loops or -fwrapv makes compile succeed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964
[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi
--- Comment #5 from riku dot voipio at iki dot fi 2008-04-17 11:32 --- Current debian/arm eabi gcc is built as: Package source: gcc-4.3 GCC version: 4.3.1 Base Debian version: 4.3 Configured with: -v --with-pkgversion='Debian 4.3.0-3' --with-bugurl='file:///usr/share/doc/gcc-4.3/README.Bugs' --enable-languages=c,c++,fortran,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-libffi --enable-mpfr --disable-libssp --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi Target: arm-linux-gnueabi Configured with: ../src/configure linux gnueabi Thread model: posix gcc version 4.3.1 20080401 (prerelease) (Debian 4.3.0-3) all6500-2:/usr/share/doc/gcc-4.3# -- riku dot voipio at iki dot fi changed: What|Removed |Added Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964
[Bug c/35965] New: -fstack-protector produces segfaulting binaries on arm/armel
-snip- #include stdio.h main() { printf (Hello World!\n); } -snip- $ gcc -save-temps -fstack-protector -fPIE hello.c -o hello $ ./hello $ Hello World! $ gcc -save-temps -fstack-protector-all -fPIE helloall.c -o helloall $ ./helloall $ Segmentation fault helloall.s segfaults, hello.s runs fine. if -fstack-protector isn't to be supported on arm, it gcc should ignore the option like done on mips/mipsel. Package source: gcc-4.3 GCC version: 4.3.1 Base Debian version: 4.3 Configured with: -v --with-pkgversion='Debian 4.3.0-3' --with-bugurl='file:///usr/share/doc/gcc-4.3/README.Bugs' --enable-languages=c,c++,fortran,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-libffi --enable-mpfr --disable-libssp --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi Target: arm-linux-gnueabi Configured with: ../src/configure linux gnueabi Thread model: posix gcc version 4.3.1 20080401 (prerelease) (Debian 4.3.0-3) -- Summary: -fstack-protector produces segfaulting binaries on arm/armel Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: riku dot voipio at iki dot fi GCC build triplet: arm-linux-gnueabi GCC host triplet: arm-linux-gnueabi GCC target triplet: arm-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965
[Bug c/35965] -fstack-protector produces segfaulting binaries on arm/armel
--- Comment #1 from riku dot voipio at iki dot fi 2008-04-17 11:48 --- Created an attachment (id=15489) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15489action=view) working arm assembly produced from hello world -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965
[Bug c/35965] -fstack-protector produces segfaulting binaries on arm/armel
--- Comment #2 from riku dot voipio at iki dot fi 2008-04-17 11:49 --- Created an attachment (id=15490) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15490action=view) segfaulting arm assemble of hello world -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965