public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/35079] [arm] ICE (segfault) with gfortran -O3 -funroll-loops
       [not found] <bug-35079-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-10 18:40 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-10 18:40 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-10 18:40:23 UTC ---
Assuming fixed.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/35079] [arm] ICE (segfault) with gfortran -O3 -funroll-loops
  2008-02-04 17:25 [Bug target/35079] New: " debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2009-05-27 13:02 ` ramana at gcc dot gnu dot org
@ 2009-05-28  8:40 ` mikpe at it dot uu dot se
  3 siblings, 0 replies; 5+ messages in thread
From: mikpe at it dot uu dot se @ 2009-05-28  8:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mikpe at it dot uu dot se  2009-05-28 08:40 -------
(In reply to comment #3)
> I just tried this with gfortran 4.3.3 that I have on my ubuntu box. I don't get
> a failure with arm-linux-gnueabi. Can you verify that this still exists with
> arm-linux configurations ?

This problem looks like a dupe of PR35964 and PR39076. If so then it's probably
fixed in current 4.3 branch, and Debian used to backport the fix to their 4.3
compilers which may be why it appears fixed on Ubuntu.


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/35079] [arm] ICE (segfault) with gfortran -O3 -funroll-loops
  2008-02-04 17:25 [Bug target/35079] New: " debian-gcc at lists dot debian dot org
  2008-02-04 17:25 ` [Bug target/35079] " debian-gcc at lists dot debian dot org
  2008-03-21 17:07 ` kmccarty at debian dot org
@ 2009-05-27 13:02 ` ramana at gcc dot gnu dot org
  2009-05-28  8:40 ` mikpe at it dot uu dot se
  3 siblings, 0 replies; 5+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-05-27 13:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ramana at gcc dot gnu dot org  2009-05-27 13:01 -------
I just tried this with gfortran 4.3.3 that I have on my ubuntu box. I don't get
a failure with arm-linux-gnueabi. Can you verify that this still exists with
arm-linux configurations ?

Thanks.


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/35079] [arm] ICE (segfault) with gfortran -O3 -funroll-loops
  2008-02-04 17:25 [Bug target/35079] New: " debian-gcc at lists dot debian dot org
  2008-02-04 17:25 ` [Bug target/35079] " debian-gcc at lists dot debian dot org
@ 2008-03-21 17:07 ` kmccarty at debian dot org
  2009-05-27 13:02 ` ramana at gcc dot gnu dot org
  2009-05-28  8:40 ` mikpe at it dot uu dot se
  3 siblings, 0 replies; 5+ messages in thread
From: kmccarty at debian dot org @ 2008-03-21 17:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from kmccarty at debian dot org  2008-03-21 17:06 -------
Hi gfortran developers,

I can confirm that this ICE still happens on arm with gfortran 4.3 rc2 [*], and
with the optimization reduced to -O2 (-funroll-loops -O1 is OK, as is -O3
without -funroll-loops).

[*] This is on a machine that I don't administer so unfortunately I cannot test
with the very latest gfortran.

(sid)kmccarty@agnesi:~$ gfortran-4.3 -v
Using built-in specs.
Target: arm-linux-gnu
Configured with: ../src/configure linux gnu
Thread model: posix
gcc version 4.3.0 20080301 (prerelease) [gcc-4_3-branch revision 132801]
(Debian 4.3.0~rc2-1)

(sid)kmccarty@agnesi:~$ gfortran-4.3 -funroll-loops -O2 -c seispack.f
seispack.f: In function 'invit':
seispack.f:1742: 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.

I have also observed a similar ICE, which could very well be the same bug, with
a smaller FORTRAN file "ranecu.F" that may be easier to run tests on.  In that
case the ICE occurs with -funroll-loops and with optimization as low as -O1.

That ICE I have reported in Debian's BTS at http://bugs.debian.org/466791 --
and I prepared a simple test case for it at
http://people.debian.org/~kmccarty/arm-ICE-test.tar.gz .  (The .f and .s files
in that tarball were generated by gfortran from svn 20080202, Debian package
version 4.3-20080202-1, but since the ICE still occurs I'm guessing this
doesn't matter so much, and you can easily regenerate them with the Makefile in
the test case tarball.)

best regards,

Kevin McCarty


-- 

kmccarty at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmccarty at debian dot org


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/35079] [arm] ICE (segfault) with gfortran -O3 -funroll-loops
  2008-02-04 17:25 [Bug target/35079] New: " debian-gcc at lists dot debian dot org
@ 2008-02-04 17:25 ` debian-gcc at lists dot debian dot org
  2008-03-21 17:07 ` kmccarty at debian dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2008-02-04 17:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from debian-gcc at lists dot debian dot org  2008-02-04 17:24 -------
Created an attachment (id=15094)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15094&action=view)
code


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-10 18:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-35079-4@http.gcc.gnu.org/bugzilla/>
2012-01-10 18:40 ` [Bug target/35079] [arm] ICE (segfault) with gfortran -O3 -funroll-loops pinskia at gcc dot gnu.org
2008-02-04 17:25 [Bug target/35079] New: " debian-gcc at lists dot debian dot org
2008-02-04 17:25 ` [Bug target/35079] " debian-gcc at lists dot debian dot org
2008-03-21 17:07 ` kmccarty at debian dot org
2009-05-27 13:02 ` ramana at gcc dot gnu dot org
2009-05-28  8:40 ` mikpe at it dot uu dot se

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).