public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments
[not found] <bug-36313-4@http.gcc.gnu.org/bugzilla/>
@ 2011-08-26 0:49 ` tkoenig at gcc dot gnu.org
2014-12-09 18:27 ` [Bug fortran/36313] [F03] " Bil.Kleb at NASA dot gov
2014-12-09 18:57 ` dominiq at lps dot ens.fr
2 siblings, 0 replies; 8+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2011-08-26 0:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |tkoenig at gcc dot gnu.org
|gnu.org |
--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-08-26 00:06:48 UTC ---
Created attachment 25108
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25108
patch doing maxloc0* at least.
Still missing: A lot, like minloc*, maxloc1*, etc.
Also: Don't forget the inlined versions, that should be fun too.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/36313] [F03] {MIN,MAX}{LOC,VAL} should accept character arguments
[not found] <bug-36313-4@http.gcc.gnu.org/bugzilla/>
2011-08-26 0:49 ` [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments tkoenig at gcc dot gnu.org
@ 2014-12-09 18:27 ` Bil.Kleb at NASA dot gov
2014-12-09 18:57 ` dominiq at lps dot ens.fr
2 siblings, 0 replies; 8+ messages in thread
From: Bil.Kleb at NASA dot gov @ 2014-12-09 18:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
Bil Kleb <Bil.Kleb at NASA dot gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Bil.Kleb at NASA dot gov
--- Comment #7 from Bil Kleb <Bil.Kleb at NASA dot gov> ---
Hi,
Regression or documentation skew?
Per 4.4.5 documentation, viz.,
https://gcc.gnu.org/onlinedocs/gcc-4.4.5/gfortran/MINLOC.html
the MINLOC ARRAY argument could be INTEGER, REAL, or CHARACTER;
but as of 4.9.1, this is no longer the case?
$ cat > test_char_maxloc.f90 << EOF
program test_f2003_minloc_char
character(20), dimension(5) :: strings
data strings / 'close', 'closer', 'find_my_index', 'far', 'farther' /
print*,sum(minloc(strings,strings=='find_my_index'))
end program
EOF
$ gfortran --version | head -1
GNU Fortran (Homebrew gcc 4.9.1) 4.9.1
$ gfortran test_char_maxloc.f90
test_char_maxloc.f90:4.20:
print*,sum(minloc(strings,strings=='find_my_index'))
1
Error: 'array' argument of 'minloc' intrinsic at (1) must be INTEGER or REAL
And wasn't the case at 4.4.7:
$ gfortran --version | head -1
GNU Fortran (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
$ gfortran test_char_maxloc.f90
test_char_maxloc.f90:4.20:
print*,sum(minloc(strings,strings=='find_my_index'))
1
Error: 'array' argument of 'minloc' intrinsic at (1) must be INTEGER or REAL
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/36313] [F03] {MIN,MAX}{LOC,VAL} should accept character arguments
[not found] <bug-36313-4@http.gcc.gnu.org/bugzilla/>
2011-08-26 0:49 ` [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments tkoenig at gcc dot gnu.org
2014-12-09 18:27 ` [Bug fortran/36313] [F03] " Bil.Kleb at NASA dot gov
@ 2014-12-09 18:57 ` dominiq at lps dot ens.fr
2 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-12-09 18:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Regression or documentation skew?
>
> Per 4.4.5 documentation, viz.,
This has been changed starting at 4.5.4 up to trunk (5.0):
ARRAY Shall be an array of type INTEGER or REAL.
Note that I did not have the patience to check all the revisions in between for
the four combinations of {MIN,MAX}{LOC,VAL} (if you want to do it, be my
guest!-).
AFAICT these F2003 intrinsics have never been implemented. If you have the man
power to do it, please feel free to contribute.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/36313] New: [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments
@ 2008-05-23 12:47 fxcoudert at gcc dot gnu dot org
2008-05-25 20:04 ` [Bug fortran/36313] " tkoenig at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-05-23 12:47 UTC (permalink / raw)
To: gcc-bugs
Starting with Fortran 2003, MINVAL, MAXVAL, MINLOC and MAXLOC accept character
arguments. (Also, when implementing this, please remember to support wide
characters!)
--
Summary: [F2003] {MIN,MAX}{LOC,VAL} should accept character
arguments
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments
2008-05-23 12:47 [Bug fortran/36313] New: [F2003] " fxcoudert at gcc dot gnu dot org
@ 2008-05-25 20:04 ` tkoenig at gcc dot gnu dot org
2008-06-04 19:06 ` tkoenig at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2008-05-25 20:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tkoenig at gcc dot gnu dot org 2008-05-25 20:03 -------
This should be fun :-)
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-05-25 20:03:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments
2008-05-23 12:47 [Bug fortran/36313] New: [F2003] " fxcoudert at gcc dot gnu dot org
2008-05-25 20:04 ` [Bug fortran/36313] " tkoenig at gcc dot gnu dot org
@ 2008-06-04 19:06 ` tkoenig at gcc dot gnu dot org
2009-01-03 23:03 ` dfranke at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2008-06-04 19:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tkoenig at gcc dot gnu dot org 2008-06-04 19:06 -------
No time for now (Real Time is catching up with me big time).
Unassigning (for now).
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|tkoenig at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments
2008-05-23 12:47 [Bug fortran/36313] New: [F2003] " fxcoudert at gcc dot gnu dot org
2008-05-25 20:04 ` [Bug fortran/36313] " tkoenig at gcc dot gnu dot org
2008-06-04 19:06 ` tkoenig at gcc dot gnu dot org
@ 2009-01-03 23:03 ` dfranke at gcc dot gnu dot org
2009-01-24 9:51 ` dfranke at gcc dot gnu dot org
2010-02-09 13:10 ` dfranke at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2009-01-03 23:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dfranke at gcc dot gnu dot org 2009-01-03 23:02 -------
Patch at
http://gcc.gnu.org/ml/fortran/2009-01/msg00010.html
impliments simplifiers for MINVAL/MAXVAL and character arguments.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments
2008-05-23 12:47 [Bug fortran/36313] New: [F2003] " fxcoudert at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-01-03 23:03 ` dfranke at gcc dot gnu dot org
@ 2009-01-24 9:51 ` dfranke at gcc dot gnu dot org
2010-02-09 13:10 ` dfranke at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2009-01-24 9:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dfranke at gcc dot gnu dot org 2009-01-24 09:51 -------
*** Bug 38951 has been marked as a duplicate of this bug. ***
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments
2008-05-23 12:47 [Bug fortran/36313] New: [F2003] " fxcoudert at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-01-24 9:51 ` dfranke at gcc dot gnu dot org
@ 2010-02-09 13:10 ` dfranke at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-02-09 13:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from dfranke at gcc dot gnu dot org 2010-02-09 13:10 -------
*** Bug 43006 has been marked as a duplicate of this bug. ***
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |domob at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36313
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-12-09 18:57 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-36313-4@http.gcc.gnu.org/bugzilla/>
2011-08-26 0:49 ` [Bug fortran/36313] [F2003] {MIN,MAX}{LOC,VAL} should accept character arguments tkoenig at gcc dot gnu.org
2014-12-09 18:27 ` [Bug fortran/36313] [F03] " Bil.Kleb at NASA dot gov
2014-12-09 18:57 ` dominiq at lps dot ens.fr
2008-05-23 12:47 [Bug fortran/36313] New: [F2003] " fxcoudert at gcc dot gnu dot org
2008-05-25 20:04 ` [Bug fortran/36313] " tkoenig at gcc dot gnu dot org
2008-06-04 19:06 ` tkoenig at gcc dot gnu dot org
2009-01-03 23:03 ` dfranke at gcc dot gnu dot org
2009-01-24 9:51 ` dfranke at gcc dot gnu dot org
2010-02-09 13:10 ` dfranke 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).