public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/41293] New: FGSL: Wrong code generated
@ 2009-09-07 7:12 burnus at gcc dot gnu dot org
2009-09-07 10:29 ` [Bug fortran/41293] " burnus at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-09-07 7:12 UTC (permalink / raw)
To: gcc-bugs
This is with the Fortran bindings to the GNU Scientific Library,
http://www.lrz-muenchen.de/services/software/mathematik/gsl/fortran/
Compiling works OK, but the test suite shows a couple of failures with
gfortran:
Running montecarlo.exe:
FAIL: fgsl_monte_monte_vegas_getparams
FAIL: 1 of 21 tests failed
fgsl_monte_monte_vegas_getparams: aborting Execution
Running multimin.exe:
FAIL: fgsl_multimin_fdfminimizer_iterate
FAIL: 1 of 12 tests failed
Running error test:
OK: All 6 tests passed
FAIL: fgsl_interp_alloc:nofail
FAIL: 1 of 1 tests failed
The "multimin.exe" test might be a bug in the test suite as g95, ifort and
gfortran show the same error. (For g95 it is the only error, the ifort has
additionally for array.exe/poly.exe a segfault.)
--
Summary: FGSL: Wrong code generated
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41293
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/41293] FGSL: Wrong code generated
2009-09-07 7:12 [Bug fortran/41293] New: FGSL: Wrong code generated burnus at gcc dot gnu dot org
@ 2009-09-07 10:29 ` burnus at gcc dot gnu dot org
2009-09-07 16:05 ` burnus at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-09-07 10:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from burnus at gcc dot gnu dot org 2009-09-07 10:29 -------
With GCC 4.4 one has only the "montecarlo.exe" and "multimin.exe" error, but
not the "error.x" error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41293
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/41293] FGSL: Wrong code generated
2009-09-07 7:12 [Bug fortran/41293] New: FGSL: Wrong code generated burnus at gcc dot gnu dot org
2009-09-07 10:29 ` [Bug fortran/41293] " burnus at gcc dot gnu dot org
@ 2009-09-07 16:05 ` burnus at gcc dot gnu dot org
2009-09-07 16:25 ` burnus at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-09-07 16:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from burnus at gcc dot gnu dot org 2009-09-07 16:05 -------
The "error.x" failure is presumably due to PR 41297.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41293
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/41293] FGSL: Wrong code generated
2009-09-07 7:12 [Bug fortran/41293] New: FGSL: Wrong code generated burnus at gcc dot gnu dot org
2009-09-07 10:29 ` [Bug fortran/41293] " burnus at gcc dot gnu dot org
2009-09-07 16:05 ` burnus at gcc dot gnu dot org
@ 2009-09-07 16:25 ` burnus at gcc dot gnu dot org
2009-09-07 16:56 ` burnus at gcc dot gnu dot org
2010-01-08 9:49 ` burnus at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-09-07 16:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from burnus at gcc dot gnu dot org 2009-09-07 16:24 -------
The montecarlo.exe issue is PR 41298.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn|41298 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41293
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/41293] FGSL: Wrong code generated
2009-09-07 7:12 [Bug fortran/41293] New: FGSL: Wrong code generated burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-09-07 16:25 ` burnus at gcc dot gnu dot org
@ 2009-09-07 16:56 ` burnus at gcc dot gnu dot org
2010-01-08 9:49 ` burnus at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-09-07 16:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from burnus at gcc dot gnu dot org 2009-09-07 16:56 -------
Regarding multimin.exe:
The second call to unit_assert_equal_within fails. For the first, the expected
value is 30 and it succeeds.
For the second one, one does 13 loops with fgsl_multimin_fdfminimizer_iterate
with status == 0 and a minimum of mmin_fmin of 3.5e-317 (unchanged). After the
loop there is a check whether this number matches (within 1e-5) the number 30
which fails:
fgsl_multimin_fdfminimizer_iterate 3.000000000000000000D+01
3.511692129834245077-317 1.0D-05
I currently assume that it is a test bug, FGSL or GSL bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41293
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/41293] FGSL: Wrong code generated
2009-09-07 7:12 [Bug fortran/41293] New: FGSL: Wrong code generated burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-09-07 16:56 ` burnus at gcc dot gnu dot org
@ 2010-01-08 9:49 ` burnus at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-01-08 9:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from burnus at gcc dot gnu dot org 2010-01-08 09:49 -------
I just compiled GSL 1.13, FGSL 0.9.2 and run "make test" without any failure.
Thus: Close as FIXED.
Note: I have a patch for PR 41298 applied,
cf. http://gcc.gnu.org/ml/fortran/2010-01/msg00047.html
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41293
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-01-08 9:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-07 7:12 [Bug fortran/41293] New: FGSL: Wrong code generated burnus at gcc dot gnu dot org
2009-09-07 10:29 ` [Bug fortran/41293] " burnus at gcc dot gnu dot org
2009-09-07 16:05 ` burnus at gcc dot gnu dot org
2009-09-07 16:25 ` burnus at gcc dot gnu dot org
2009-09-07 16:56 ` burnus at gcc dot gnu dot org
2010-01-08 9:49 ` burnus 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).