On Tue, Mar 06, 2018 at 10:40:14PM +0100, Thomas Koenig wrote:
>
> the attached patch fixes a bug, partly an 8 regression, for
> simplifying an expression containing minloc or maxloc.
>
> The underlying problem was that
>
> integer, dimension(0), parameter :: z=0
>
> ended up as EXPR_CONST
Hello world,
the attached patch fixes a bug, partly an 8 regression, for
simplifying an expression containing minloc or maxloc.
The underlying problem was that
integer, dimension(0), parameter :: z=0
ended up as EXPR_CONSTANT even though the rank was one, which
was then passed to the simpl