Hi Jeff,

On 10/25/19 3:22 PM, Jeff Law wrote:
So across Fedora the BOZ stuff tripped 2-3 packages. In comparison the function argument stuff broke 30-40 packages, many of which still don't build without -fallow-argument-mismatch.

Regarding the latter:
The initial patch was too strict – an also rejected valid code (according to the Fortran 2018 standard). That has been fixed.* – Thus, either some valid cases were missed (gfortran bug) or all those packages indeed have an argument mismatch.

*That fix is: 2019-10-14 / r276972 / PR fortran/92004 / https://gcc.gnu.org/ml/fortran/2019-10/msg00128.html

Do you know whether those 30–40 packages have code bugs or could there be gfortran bugs (too strict checking) lurking?


Regarding the BOZ: One difference to the argument mismatch is that the latter has an option to still accept it (-fallow-argument-mismatch) and potentially generates wrong code – depending what the ME does with the mismatches – while the former, once parsed, causes no potential ME problems and as there is no flag, it always requires code changes. (On the other hand, fixing the BOZ issue is straight forward; argument changes are trickier.)

Cheers,

Tobias

Reply via email to