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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to anlauf from comment #3)
> The code in comment#0 compiles at r14-9893-gded646c91d2c0f
> and gives the indicated results.

which is the commit:
 Fortran: fix argument checking of intrinsics C_SIZEOF, C_F_POINTER [PR106500]

It looks as if the issue is fixed, but gfortran misses a tescast to check that
the obtained value is correct.

c_sizeof_7.f90 contains tests, but I think there should be a run time trst that
the obtained values are correct; I think some are constants such that  a
tree-dump scan test would work as well, but for the dynamic ones, a run time
test seems zo be easier than trying to capture the generated code...

Reply via email to