15 Nov
2019
15 Nov
'19
12:48 p.m.
Hi Junchao,
Could you check if it is a gcc bug in handling type(*), dimension(..)
Unfortunately, I don't know the code that well to be able to do it. If you could put together a simple, self-contained test case showing i there is a problem, you could submit that to gcc's bugzilla (or I could do that for you). I could also check a simplified test case against current gfortran trunk, which will not compile mpich 3.3.1 because it now flags argument mismatches as errors. (And yes, argument mismatches are real errors, which cause wrong code; see for example https://bugs.debian.org/944127 .)