* [Bug fortran/28971] ICE: Segmentation fault on valid code
2006-09-07 9:29 [Bug fortran/28971] New: ICE: Segmentation fault on valid code enok at lysator dot liu dot se
@ 2006-09-07 9:31 ` enok at lysator dot liu dot se
2006-09-07 16:16 ` paul dot thomas at jet dot uk
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: enok at lysator dot liu dot se @ 2006-09-07 9:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from enok at lysator dot liu dot se 2006-09-07 09:31 -------
Created an attachment (id=12201)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12201&action=view)
Valid code snippet that causes ICE
gfortran -c tst.f90
tst.f90:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28971
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/28971] ICE: Segmentation fault on valid code
2006-09-07 9:29 [Bug fortran/28971] New: ICE: Segmentation fault on valid code enok at lysator dot liu dot se
2006-09-07 9:31 ` [Bug fortran/28971] " enok at lysator dot liu dot se
@ 2006-09-07 16:16 ` paul dot thomas at jet dot uk
2006-09-07 16:59 ` kargl at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: paul dot thomas at jet dot uk @ 2006-09-07 16:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paul dot thomas at jet dot uk 2006-09-07 16:16 -------
Oskar,
This works for me with gcc-4.2.0 20060905; I know of nothing that would have
effected this change so I am at a bit of a loss. I hung a main program on it
and checked the output too.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28971
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/28971] ICE: Segmentation fault on valid code
2006-09-07 9:29 [Bug fortran/28971] New: ICE: Segmentation fault on valid code enok at lysator dot liu dot se
2006-09-07 9:31 ` [Bug fortran/28971] " enok at lysator dot liu dot se
2006-09-07 16:16 ` paul dot thomas at jet dot uk
@ 2006-09-07 16:59 ` kargl at gcc dot gnu dot org
2006-09-12 4:54 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-09-07 16:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from kargl at gcc dot gnu dot org 2006-09-07 16:58 -------
Paul, the code fails with
troutmask:kargl[205] gfc --version
GNU Fortran 95 (GCC) 4.2.0 20060711 (experimental)
Copyright (C) 2006 Free Software Foundation, Inc.
but works with
troutmask:sgk[248] gfc4x --version
GNU Fortran 95 (GCC) 4.2.0 20060906 (experimental)
Copyright (C) 2006 Free Software Foundation, Inc.
On a quick scan of ChangeLog, I did not see an entry that jumps out that
fixed/caused the problem.
Oskar,
Can you update to a newer version and verify the code works?
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28971
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/28971] ICE: Segmentation fault on valid code
2006-09-07 9:29 [Bug fortran/28971] New: ICE: Segmentation fault on valid code enok at lysator dot liu dot se
` (2 preceding siblings ...)
2006-09-07 16:59 ` kargl at gcc dot gnu dot org
@ 2006-09-12 4:54 ` pinskia at gcc dot gnu dot org
2006-09-12 8:59 ` pault at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-12 4:54 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28971
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/28971] ICE: Segmentation fault on valid code
2006-09-07 9:29 [Bug fortran/28971] New: ICE: Segmentation fault on valid code enok at lysator dot liu dot se
` (3 preceding siblings ...)
2006-09-12 4:54 ` pinskia at gcc dot gnu dot org
@ 2006-09-12 8:59 ` pault at gcc dot gnu dot org
2006-09-12 9:15 ` enok at lysator dot liu dot se
2006-09-12 19:39 ` pault at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-09-12 8:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pault at gcc dot gnu dot org 2006-09-12 08:59 -------
Oskar,
We believe that this bug is "fixed"; however, I will take you tst.f90 and put
it in the gfortran testsuite, since we do not know what moved to produce both
the regression and the "fix".
As I said to the list, we will be very grateful if you would submit any
problems that you might have in the future.
Paul Thomas
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28971
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/28971] ICE: Segmentation fault on valid code
2006-09-07 9:29 [Bug fortran/28971] New: ICE: Segmentation fault on valid code enok at lysator dot liu dot se
` (4 preceding siblings ...)
2006-09-12 8:59 ` pault at gcc dot gnu dot org
@ 2006-09-12 9:15 ` enok at lysator dot liu dot se
2006-09-12 19:39 ` pault at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: enok at lysator dot liu dot se @ 2006-09-12 9:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from enok at lysator dot liu dot se 2006-09-12 09:15 -------
Subject: Re: ICE: Segmentation fault on valid code
Yes that's fine with me.
I don't have access to the computer where I originally noticed the
problem until the end of the week so I haven't been able to try any
later snapshot version. I have compiled the latest trunk on a different
machine (i686) and have verified that the testcase compiles without
crash there. So it appears to be fixed.
Thanks for the response!
/Oskar
pault at gcc dot gnu dot org wrote:
> ------- Comment #4 from pault at gcc dot gnu dot org 2006-09-12 08:59 -------
> Oskar,
>
> We believe that this bug is "fixed"; however, I will take you tst.f90 and put
> it in the gfortran testsuite, since we do not know what moved to produce both
> the regression and the "fix".
>
> As I said to the list, we will be very grateful if you would submit any
> problems that you might have in the future.
>
> Paul Thomas
>
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28971
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/28971] ICE: Segmentation fault on valid code
2006-09-07 9:29 [Bug fortran/28971] New: ICE: Segmentation fault on valid code enok at lysator dot liu dot se
` (5 preceding siblings ...)
2006-09-12 9:15 ` enok at lysator dot liu dot se
@ 2006-09-12 19:39 ` pault at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-09-12 19:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pault at gcc dot gnu dot org 2006-09-12 19:38 -------
Subject: Bug 28971
Author: pault
Date: Tue Sep 12 19:38:48 2006
New Revision: 116904
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116904
Log:
2006-09-12 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28971
gfortran.dg/pr28971.f90: New test to act as a backstop in case
this undiagnosed regression reappears.
Added:
trunk/gcc/testsuite/gfortran.dg/pr28971.f90
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28971
^ permalink raw reply [flat|nested] 8+ messages in thread