public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: fortran/5837: bug in loop unrolling
@ 2002-04-13  7:23 toon
  0 siblings, 0 replies; 2+ messages in thread
From: toon @ 2002-04-13  7:23 UTC (permalink / raw)
  To: Valera.Veryazov, gcc-bugs, gcc-prs, nobody, toon

Synopsis: bug in loop unrolling

Responsible-Changed-From-To: unassigned->toon
Responsible-Changed-By: toon
Responsible-Changed-When: Sat Apr 13 07:23:52 2002
Responsible-Changed-Why:
    My job
State-Changed-From-To: open->closed
State-Changed-By: toon
State-Changed-When: Sat Apr 13 07:23:52 2002
State-Changed-Why:
    Apparently fixed for 3.1

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5837


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

* fortran/5837: bug in loop unrolling
@ 2002-03-05  5:46 Valera.Veryazov
  0 siblings, 0 replies; 2+ messages in thread
From: Valera.Veryazov @ 2002-03-05  5:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5837
>Category:       fortran
>Synopsis:       bug in loop unrolling
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 05 05:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Valera.Veryazov@teokem.lu.se
>Release:        3.0.4
>Organization:
>Environment:
Linux Mandrake 8.1. GCC/G77 compiled from the source code.
>Description:
The code (see attachment) produces a Segnematation fault,
if flags " -O  -funroll-loops" are used.

Change of parameter to 12, 16 gives a correct result.
Also, a change of declaration Character *64 to, say,
Character*45 produces a funny number instead 0.

Removing -unroll-loops flag or using unrolling by hands
also 'fix' the problem.

>How-To-Repeat:
just compile the code with -O  -funroll-loops flags.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="main.f"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="main.f"

YyAgICAgZzc3ICAtTyAgLWZ1bnJvbGwtbG9vcHMgICBtYWluLmYKICAgICAgcHJvZ3JhbSBtYWlu
CiAgICAgIFBhcmFtZXRlciAobiA9IDExKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIAogICAgICBDb21tb24gL1RULyBNTQogICAgICBDaGFyYWN0ZXIqNjQgRmxkKG4pLFN0YXQo
bikgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAKICAgICAgQ29tbW9uIC9USU1DLyBGbGQsU3RhdCAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgCioKICAgICAgTU09MAogICAgICBkbyBpPTEsbgogICAgICAgIEZs
ZChpKT0nICcKICAgICAgICBTdGF0KGkpPScgJwogICAgICBlbmQgZG8KICAgICAgd3JpdGUoKiwq
KSBNTQogICAgICBlbmQK


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

end of thread, other threads:[~2002-04-13 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-13  7:23 fortran/5837: bug in loop unrolling toon
  -- strict thread matches above, loose matches on Subject: below --
2002-03-05  5:46 Valera.Veryazov

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