[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2009-03-30 Thread ramana at gcc dot gnu dot org


--- Comment #19 from ramana at gcc dot gnu dot org  2009-03-30 21:25 ---
*** Bug 36350 has been marked as a duplicate of this bug. ***


-- 

ramana at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||raj dot khem at gmail dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2009-03-30 Thread ramana at gcc dot gnu dot org


--- Comment #20 from ramana at gcc dot gnu dot org  2009-03-30 21:27 ---
The commit http://gcc.gnu.org/viewcvs?view=revrevision=143942 fixed this. 


-- 

ramana at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2009-03-17 Thread ramana dot r at gmail dot com


--- Comment #18 from ramana dot r at gmail dot com  2009-03-17 14:27 ---
This commit here 

http://gcc.gnu.org/viewcvs?view=revrevision=143942 which is essentially a
backport of the patch http://gcc.gnu.org/viewcvs?view=revrevision=137235 . If
this fixes the problem, then the bug can be closed out.


-- 

ramana dot r at gmail dot com changed:

   What|Removed |Added

 CC||ramana dot r at gmail dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-11-04 Thread jakub at gcc dot gnu dot org


--- Comment #17 from jakub at gcc dot gnu dot org  2008-11-04 12:06 ---
And even fixed on the trunk:
http://gcc.gnu.org/viewcvs?root=gccview=revrev=137235
No idea why it hasn't been applied to 4.3 though.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-11-03 Thread jakub at gcc dot gnu dot org


--- Comment #16 from jakub at gcc dot gnu dot org  2008-11-03 17:06 ---
It actually has been submitted:
http://gcc.gnu.org/ml/gcc-patches/2008-05/msg01349.html
but the regrename.c change has never been reviewed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-28 Thread rguenth at gcc dot gnu dot org


--- Comment #15 from rguenth at gcc dot gnu dot org  2008-05-28 22:16 
---
Patches should be sumbitted to the gcc-patches mailinglist.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-13 Thread aurelien at aurel32 dot net


--- Comment #14 from aurelien at aurel32 dot net  2008-05-13 10:34 ---
Created an attachment (id=15633)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15633action=view)
Patch to fix the problem

This patch fixes the problem. It has been extracted from
gfortran-armel-updates.dpatch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-13 Thread aurelien at aurel32 dot net


--- Comment #13 from aurelien at aurel32 dot net  2008-05-13 10:32 ---
 (The Unshare RTX earlier... one). Andrew and I actually did this work (ObjC


Good catch, I confirm that this part of the patch fixes the problem. This is
clearly a regression from gcc 4.2.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-12 Thread jules at gcc dot gnu dot org


--- Comment #12 from jules at gcc dot gnu dot org  2008-05-12 15:27 ---
I think this was probably fixed by one of Andrew Jenner's patches in
gfortran-armel-updates:

  http://lists.debian.org/debian-gcc/2008/04/msg00351.html

(The Unshare RTX earlier... one). Andrew and I actually did this work (ObjC
and Fortran improvements for ARM EABI) primarily against Debian's version of
4.3, with the intention of then forward-porting the patches to FSF mainline --
but, that particular patch hasn't made it to FSF submission yet.

If this is a regression, we'll consider submitting the patch for FSF 4.3 as
well, when the time comes.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-10 Thread aurelien at aurel32 dot net


--- Comment #8 from aurelien at aurel32 dot net  2008-05-10 08:28 ---
I confirm that those patches actually fix the problem on ARM oldabi, so the
problem is *not* fixed in the gcc 4.3 branch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-10 Thread tbm at gcc dot gnu dot org


--- Comment #9 from tbm at gcc dot gnu dot org  2008-05-10 08:34 ---
Seems like we should reopen this bug then.

Aurelien, how big are those patches you're talking about?  Are they aimed at
4.3 or only or 4.4?


-- 

tbm at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|FIXED   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-10 Thread tbm at gcc dot gnu dot org


--- Comment #10 from tbm at gcc dot gnu dot org  2008-05-10 08:35 ---
Also confirm the bug.


-- 

tbm at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-05-10 08:35:25
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-10 Thread aurelien at aurel32 dot net


--- Comment #11 from aurelien at aurel32 dot net  2008-05-10 09:09 ---
About 20kB in total:
-rw-r--r-- 1 aurel32 aurel32  3975 May  9 15:15 armel-hilo-union-class.dpatch
-rw-r--r-- 1 aurel32 aurel32 15153 May  9 15:15 gfortran-armel-updates.dpatch
-rw-r--r-- 1 aurel32 aurel32 11092 May  9 15:15 libobjc-armel.dpatch

I don't know if they will be applied for 4.3, but I would guess they are
originally aimed to 4.4.

I a currently running the testsuite to make sure they don't introduce any
regression, and then I will try to find which one actually fixes the problem.
But my machine is not really fast...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-09 Thread riku dot voipio at iki dot fi


--- 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 middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-05-09 Thread aurelien at aurel32 dot net


--- Comment #7 from aurelien at aurel32 dot net  2008-05-09 20:19 ---
This bug is actually only fixed on Debian arm EABI gcc 4.3. The problem is
still present in oldABI.

I guess that the problem is actually still present in upstream gcc, as Debian
applies backports of libobjc and gfortran support.

I am currently rebuilding gcc 4.3 on arm oldABI with the same patches to see if
it fixes the problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964



[Bug middle-end/35964] ICE with -funroll-loops on arm/arm eabi

2008-04-17 Thread riku dot voipio at iki dot fi


--- 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

2008-04-17 Thread riku dot voipio at iki dot fi


--- 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

2008-04-17 Thread riku dot voipio at iki dot fi


--- 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

2008-04-17 Thread riku dot voipio at iki dot fi


--- 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

2008-04-17 Thread riku dot voipio at iki dot fi


--- 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