This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/25378] [Fortran 2003] maxloc for all-false mask
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2006 21:44:42 -0000
- Subject: [Bug libfortran/25378] [Fortran 2003] maxloc for all-false mask
- References: <bug-25378-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pault at gcc dot gnu dot org 2006-03-08 21:44 -------
I have a patch which is just now regtesting. It does the obvious:
set initial index = 0
if (the max/min condition is met or index = 0)
{
set index to the current position
update the value for comparison
}
This has been done in trans-intrinsic.c and in the library. Have updated the
present testcases; I do not see a need for any more.
Will submit in the morning.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25378