https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111781

--- Comment #9 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to anlauf from comment #8)
> (In reply to Mikael Morin from comment #7)
> > FAIL: gfortran.dg/pr98016.f90   -O  (test for excess errors)
> > Excess errors:
> > /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/pr98016.f90:16:16: Error:
> > Variable 'n' cannot appear in the expression at (1)
> 
> This is wrong: the testcase looks valid to me.
> 
Yes, to me as well.
So the patch needs more work.  :-(

> > FAIL: gfortran.dg/graphite/pr107865.f90   -O  (test for excess errors)
> > Excess errors:
> > /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/graphite/pr107865.f90:7:18:
> > Error: Variable 'n' cannot appear in the expression at (1)
> 
> Hmmm, not diagnosed by Intel.
> 
Strange that it is able to diagnose the other, but not this one.

> 
> We obviously have several invalid testcases in the testsuite...
> Probably just bad reductions.

Yes, variables named inout especially look like dubious (but valid) reductions.

Reply via email to