https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
--- Comment #9 from Thomas Koenig ---
(In reply to Thomas Koenig from comment #6)
> Somewhat reduced:
>
> program main
> integer, dimension(2), parameter :: n=[1,4]
> logical, parameter :: a = logical(.true.,minval([(n(i),i=1,4)]))
> end pr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
--- Comment #8 from Steve Kargl ---
On Wed, Oct 02, 2019 at 06:25:15PM +, sgk at troutmask dot
apl.washington.edu wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
>
> --- Comment #7 from Steve Kargl ---
> On Wed, Oct 02, 2019 at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
--- Comment #7 from Steve Kargl ---
On Wed, Oct 02, 2019 at 06:10:48PM +, tkoenig at gcc dot gnu.org wrote:
>
> You're right, Steve, the problem lies in the simplification
> of the implied DO loop (the error message is a catch-all
> which is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
Thomas Koenig changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
--- Comment #5 from Steve Kargl ---
On Wed, Oct 02, 2019 at 07:07:08AM -0700, Steve Kargl wrote:
> On Wed, Oct 02, 2019 at 02:03:21PM +, kargl at gcc dot gnu.org wrote:
> > --- Comment #3 from kargl at gcc dot gnu.org ---
> > (In reply to Ric
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
--- Comment #4 from Steve Kargl ---
On Wed, Oct 02, 2019 at 02:03:21PM +, kargl at gcc dot gnu.org wrote:
> --- Comment #3 from kargl at gcc dot gnu.org ---
> (In reply to Richard Biener from comment #1)
> > But is it valid fortran?
>
> Yes.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
--- Comment #2 from Thomas Koenig ---
(In reply to Richard Biener from comment #1)
> But is it valid fortran?
I had to check, but yes.
LOGICAL is an elemental type conversion function, which has only constant
arguments, so it should be simplifi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91963
Richard Biener changed:
What|Removed |Added
Keywords||rejects-valid
--- Comment #1 from Richa