public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
@ 2002-04-15  1:16 David.Billinghurst
  0 siblings, 0 replies; 8+ messages in thread
From: David.Billinghurst @ 2002-04-15  1:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6304
>Category:       fortran
>Synopsis:       Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 15 01:16:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc-3.1 and gcc-3.2
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
LAPACK test dtest.out 
 core dumps with -mabi=64 -O2 
 passes with -mabi=64 -O0
This is a regression from gcc-3.0 and gcc-2.95.

The test passes with
 -mabi=64 -O0
 -mabi=n32 -O2

The problem is with file dsptrf.f.  I have been able to reduce the problem size somewhat, but the problem file is still a few hundred lines.

Expected output is:

 ap( 1) =  -4.81355444E-294
 ap( 2) =  -1.08633726E-293
 ap( 3) =  -0.948585352
 ap( 4) =   0.159305733
 ap( 5) =   0.160760447
 ap( 6) =   3.18956091E-294
 ap( 7) =  -0.258576064
 ap( 8) =  -0.806074236
 ap( 9) =  -0.14806115
 ap( 10) =   1.98569967E-293
 ap( 11) =   0.494942444
 ap( 12) =   0.432991687
 ap( 13) =  -1.65005396E-293
 ap( 14) =   1.39914842
 ap( 15) =   3.99198852E-293
 ipiv( 1) =  -2
 ipiv( 2) =  -2
 ipiv( 3) =  3
 ipiv( 4) =  4
 ipiv( 5) =  5
 info =  0

The incorrect output is:

 **** wrong ****
 ap( 1) =  -4.81355444E-294
 ap( 2) =   2.2568297
 ap( 3) =   1.97065467E+293
 ap( 4) =  -1.65986654
 ap( 5) =  -0.173388354
 ap( 6) =   2.77063428E-293
 ap( 7) =   1.88221953
 ap( 8) =  -2.23333691E-293
 ap( 9) =  -4.10223298E-294
 ap( 10) =   1.86933415E+293
 ap( 11) =  -8.42291938E-294
 ap( 12) =  -8.79851537E-295
 ap( 13) =   1.18036543E-293
 ap( 14) =  -1.43259661
 ap( 15) =  -3.11209845E-293
 ipiv( 1) =  -2
 ipiv( 2) =  -2
 ipiv( 3) =  3
 ipiv( 4) =  5
 ipiv( 5) =  5
 info =  0



>How-To-Repeat:
g77 -o bug7 -mabi=64 -O2 bug_7.f dsptrf_02.f lastuff.f
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
@ 2002-05-13 16:34 billingd
  0 siblings, 0 replies; 8+ messages in thread
From: billingd @ 2002-05-13 16:34 UTC (permalink / raw)
  To: David.Billinghurst, echristo, gcc-bugs, gcc-prs

Synopsis: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2

State-Changed-From-To: feedback->closed
State-Changed-By: billingd
State-Changed-When: Mon May 13 16:34:06 2002
State-Changed-Why:
    Confirm fixed on 3.2 (as well as 3.1)

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


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

* Re: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
@ 2002-05-02 18:42 Billinghurst, David (CRTS)
  0 siblings, 0 replies; 8+ messages in thread
From: Billinghurst, David (CRTS) @ 2002-05-02 18:42 UTC (permalink / raw)
  To: echristo; +Cc: gcc-prs

The following reply was made to PR fortran/6304; it has been noted by GNATS.

From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: <gcc-gnats@gcc.gnu.org>,
	<echristo@gcc.gnu.org>
Cc: <rth@redhat.com>
Subject: Re: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
Date: Fri, 3 May 2002 11:25:43 +1000

 This is fixed on 3.1.  Testcase now passes and LAPACK test passes with =
 -mabi=3D64 -O2
 
 Cannot bootstrap 3.2, so will leave PR open at lower priority.


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

* Re: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
@ 2002-05-02 14:12 rth
  0 siblings, 0 replies; 8+ messages in thread
From: rth @ 2002-05-02 14:12 UTC (permalink / raw)
  To: David.Billinghurst, echristo, gcc-bugs, gcc-prs

Synopsis: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2

State-Changed-From-To: open->feedback
State-Changed-By: rth
State-Changed-When: Thu May  2 14:12:45 2002
State-Changed-Why:
    Can't reproduce with 3.1 20020501.

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


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

* Re: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
@ 2002-04-25 12:41 echristo
  0 siblings, 0 replies; 8+ messages in thread
From: echristo @ 2002-04-25 12:41 UTC (permalink / raw)
  To: David.Billinghurst, echristo, gcc-bugs, gcc-prs, nobody

Synopsis: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2

Responsible-Changed-From-To: unassigned->echristo
Responsible-Changed-By: echristo
Responsible-Changed-When: Thu Apr 25 12:41:39 2002
Responsible-Changed-Why:
    mips

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


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

* Re: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
@ 2002-04-23  1:47 mmitchel
  0 siblings, 0 replies; 8+ messages in thread
From: mmitchel @ 2002-04-23  1:47 UTC (permalink / raw)
  To: David.Billinghurst, gcc-bugs, gcc-prs, nobody

Synopsis: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2

State-Changed-From-To: feedback->open
State-Changed-By: mmitchel
State-Changed-When: Tue Apr 23 01:47:33 2002
State-Changed-Why:
    Feedback received.

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


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

* RE: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
@ 2002-04-21  7:26 Billinghurst, David (CRTS)
  0 siblings, 0 replies; 8+ messages in thread
From: Billinghurst, David (CRTS) @ 2002-04-21  7:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR fortran/6304; it has been noted by GNATS.

From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: <toon@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>
Cc: <jh@suse.cz>
Subject: RE: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
Date: Mon, 22 Apr 2002 00:25:06 +1000

 Test case is now attached to PR.  Either GNATS lost the original, or I=20
 forgot to attach it. =20
 
 The reduced test case last passed at 2001-12-13 11:30 UTC.  The patch =
 that=20
 introduced (or uncovered) this failure also broke irix bootstrap.  I=20
 identified and applied the fix by rth that allows bootstrapping to=20
 confirm this analysis.
 
 The test that triggers the failure is =20
 
 Thu Dec 13 12:31:07 CET 2001  Jan Hubicka  <jh@suse.cz>
 
 	* predict.c (estimate_probability): Reorganize opcode heuristics.
 	* predict.def (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL,
 	PRED_FPOPCODE): New.
 
 	* i386.c (override_options): Recognize various CPU variants and set
 	SSE/MMX/3dNOW flags accordingly.
 	* i386.h (MASK_MMX_SET, MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET,
 	MASK_3DNOW_A_SET): New.
 	(MASK_ACCUMULATE_OUTGOING_ARGS_SET): New.
 	(MASK_NO_ACCUMULATE_OUTGOING_ARGS): Delete.
 	(MASK_*): Renumber.
 	(TARGET_FLAGS): Use new masks.
 	(CPP_CPU_SPECS): Recognize new CPU variants.
 	* invoke.texi (-mcpu): Update documentation.
 
 	* flags.h (flag_prefetch_loop_arrays): Declare.
 	* loop.h (LOOP_PREFETCH): Define new constant.
 	* loop.c (strength_reduce): Call emit_prefetch_instructions.
 	(MAX_PREFETCHES, PREFETCH_BLOCKS_BEFORE_LOOP_MAX,
 	PREFETCH_BLOCKS_BEFORE_LOOP_MIN, PREFETCH_BLOCKS_IN_LOOP_MIN): New
 	constants.
 	(check_store_data): New structure.
 	(check_store, emit_prefetch_instructions, rtx_equal_for_prefetch_p):
 	New functions.
 	* toplev.c: Include insn-flags.h.
 	(flag_prefetch_loop_arrays): New global variable.
 	(lang_independent_option): Add -fprefetch-loop-arrays.
 	(rest_of_compilation) Pass LOOP_PREFETCH when flag_prefetch_loop_arrays
 	is set.
 	* Makefile.in (toplev.c): Depend on insn-flags.h.
 	* invoke.texi (-fprefetch-loop-arrays): Document.
 
 	* predict.c (estimate_probability): Distribute the loop exit
 	probability according to number of exit edges.
 
 	* cfgcleanup.c (insns_match_p): Break out from ...;
 	(flow_find_cross_jump): ... here;
 	(outgoing_edges_match): Add parameter MODE; attempt to match everything
 	except for tablejumps.
 	(try_crossjump_to_edge): Accept complex edges.
 	(try_crossjump_bb): Likewise.
 
 
 The patch that enabled irix6.5 bootstrap is
 
 2001-12-16  Richard Henderson  <rth@redhat.com>
 
 	* toplev.c (parse_options_and_default_flags): Don't enable
 	flag_cprop_registers at -O1.


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

* Re: fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2
@ 2002-04-21  5:49 toon
  0 siblings, 0 replies; 8+ messages in thread
From: toon @ 2002-04-21  5:49 UTC (permalink / raw)
  To: David.Billinghurst, gcc-bugs, gcc-prs, nobody

Synopsis: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2

State-Changed-From-To: open->feedback
State-Changed-By: toon
State-Changed-When: Sun Apr 21 05:49:16 2002
State-Changed-Why:
    Please supply the (large) example code that fails.

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


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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-15  1:16 fortran/6304: Failure of LAPACK test dtest on irix6.5 with -mabi=64 -O2 David.Billinghurst
2002-04-21  5:49 toon
2002-04-21  7:26 Billinghurst, David (CRTS)
2002-04-23  1:47 mmitchel
2002-04-25 12:41 echristo
2002-05-02 14:12 rth
2002-05-02 18:42 Billinghurst, David (CRTS)
2002-05-13 16:34 billingd

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