https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116886
Thomas Koenig changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116886
--- Comment #4 from anlauf at gcc dot gnu.org ---
(In reply to Thomas Koenig from comment #2)
> The behavior for simplification is correct, as far as I understand:
>
> $ cat mv2.f90
> program memain
> integer, dimension(0,0), parameter :: empt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116886
--- Comment #3 from Mikael Morin ---
(In reply to Thomas Koenig from comment #0)
> If I read J3/23-007 16.9.138 correctly, the following program should
> print the minimum integer value, twice, but it prints nothing:
>
> program memain
> impl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116886
--- Comment #2 from Thomas Koenig ---
The behavior for simplification is correct, as far as I understand:
$ cat mv2.f90
program memain
integer, dimension(0,0), parameter :: empty = reshape([(0,i=1,0)],[0,0])
print *,maxval(empty)
print *,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116886
Thomas Koenig changed:
What|Removed |Added
Keywords||wrong-code
CC|