public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33230] New: Missing check: specification function must be pure
@ 2007-08-29 15:38 burnus at gcc dot gnu dot org
2007-09-23 9:42 ` [Bug fortran/33230] " fxcoudert at gcc dot gnu dot org
2007-11-09 18:46 ` fxcoudert at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-08-29 15:38 UTC (permalink / raw)
To: gcc-bugs
gfortran -std=f95 -pedantic -Wall -fall-intrinsics
gfortran.dg/char_result_7.f90
Compiles, but as g95 remarks:
Error: Specification function 'fn' at (1) must be PURE
which NAG f95 confirms:
Error: Reference to non-specification function FN in specification
and ifort joins in as well:
An explicit interface is required for a specification function. [FN]
Excerpt of that file (see testsuite for the full program):
function f2 (fn, i)
integer :: i, fn
character (len = fn (i)) :: f2
Called as "f2 (double, 70)" where DOUBLE is pure.
--
Summary: Missing check: specification function must be pure
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: accepts-invalid
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=33230
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/33230] Missing check: specification function must be pure
2007-08-29 15:38 [Bug fortran/33230] New: Missing check: specification function must be pure burnus at gcc dot gnu dot org
@ 2007-09-23 9:42 ` fxcoudert at gcc dot gnu dot org
2007-11-09 18:46 ` fxcoudert at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-09-23 9:42 UTC (permalink / raw)
To: gcc-bugs
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-09-23 09:42:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33230
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/33230] Missing check: specification function must be pure
2007-08-29 15:38 [Bug fortran/33230] New: Missing check: specification function must be pure burnus at gcc dot gnu dot org
2007-09-23 9:42 ` [Bug fortran/33230] " fxcoudert at gcc dot gnu dot org
@ 2007-11-09 18:46 ` fxcoudert at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-11-09 18:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-11-09 18:45 -------
This was fixed (and the testsuite fixed also):
$ gfortran char_result_7.f90
char_result_7.f90:29.20:
character (len = fn (i)) :: f1
1
Error: Specification function 'fn' at (1) must be PURE
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33230
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-09 18:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-29 15:38 [Bug fortran/33230] New: Missing check: specification function must be pure burnus at gcc dot gnu dot org
2007-09-23 9:42 ` [Bug fortran/33230] " fxcoudert at gcc dot gnu dot org
2007-11-09 18:46 ` fxcoudert 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).