public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/22345] New: Internal compiler error compiling BLAS routine dspr.f
@ 2005-07-07 10:29 mick at nag dot co dot uk
2005-07-07 13:20 ` [Bug fortran/22345] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: mick at nag dot co dot uk @ 2005-07-07 10:29 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1578 bytes --]
The following code (cut down from BLAS routine dspr.f)
causes an internal compiler error as shown.
SUBROUTINE DSPR ( N, X, INCX, AP )
* .. Scalar Arguments ..
INTEGER INCX, N
* .. Array Arguments ..
DOUBLE PRECISION AP( * ), X( * )
* .. Local Scalars ..
INTEGER IX, J, JX, K
* .. Executable Statements ..
JX = 1
IF( INCX.NE.1 )THEN
DO 80, J = 1, N
IX = JX
DO 70, K = 1, N
AP( K ) = X( IX )
IX = IX + INCX
70 CONTINUE
JX = JX + INCX
80 CONTINUE
END IF
RETURN
END
when compiled with optimization level -O2 or higher.
This is on a 64-bit AMD64 machine running SuSE Linux 9.3 Professional.
% gfortran --version
GNU Fortran 95 (GCC 4.1.0 20050706 (experimental))
Copyright (C) 2005 Free Software Foundation, Inc.
% gfortran -O2 -c bug.f
bug.f: In function dspr:
bug.f:1: 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.
--
Summary: Internal compiler error compiling BLAS routine dspr.f
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mick at nag dot co dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22345
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/22345] Internal compiler error compiling BLAS routine dspr.f
2005-07-07 10:29 [Bug fortran/22345] New: Internal compiler error compiling BLAS routine dspr.f mick at nag dot co dot uk
@ 2005-07-07 13:20 ` pinskia at gcc dot gnu dot org
2005-07-08 13:33 ` mick at nag dot co dot uk
2005-07-08 14:21 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-07 13:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-07 13:20 -------
I think this was fixed by the patch which fixed PR 21963. Could you update and try again?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22345
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/22345] Internal compiler error compiling BLAS routine dspr.f
2005-07-07 10:29 [Bug fortran/22345] New: Internal compiler error compiling BLAS routine dspr.f mick at nag dot co dot uk
2005-07-07 13:20 ` [Bug fortran/22345] " pinskia at gcc dot gnu dot org
@ 2005-07-08 13:33 ` mick at nag dot co dot uk
2005-07-08 14:21 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: mick at nag dot co dot uk @ 2005-07-08 13:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mick at nag dot co dot uk 2005-07-08 13:32 -------
Subject: Re: Internal compiler error compiling BLAS routine
dspr.f
pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-07 13:20 -------
> I think this was fixed by the patch which fixed PR 21963. Could you update and try again?
>
That seems to have done the trick - thank you
Mick Pont
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22345
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/22345] Internal compiler error compiling BLAS routine dspr.f
2005-07-07 10:29 [Bug fortran/22345] New: Internal compiler error compiling BLAS routine dspr.f mick at nag dot co dot uk
2005-07-07 13:20 ` [Bug fortran/22345] " pinskia at gcc dot gnu dot org
2005-07-08 13:33 ` mick at nag dot co dot uk
@ 2005-07-08 14:21 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-08 14:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-08 14:20 -------
*** This bug has been marked as a duplicate of 21963 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22345
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-08 14:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 10:29 [Bug fortran/22345] New: Internal compiler error compiling BLAS routine dspr.f mick at nag dot co dot uk
2005-07-07 13:20 ` [Bug fortran/22345] " pinskia at gcc dot gnu dot org
2005-07-08 13:33 ` mick at nag dot co dot uk
2005-07-08 14:21 ` pinskia at gcc dot gnu dot org
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).