[PATCH] Emit DECL_EXPR so that type of what pstr.N points to is gimplified (PR fortran/78757)
Eric Botcazou
ebotcazou@adacore.com
Wed Dec 14 22:20:00 GMT 2016
> The gimplifier (because of Ada :( ) doesn't recurse to POINTER_TYPE's
> type when gimplifying types, so we need a DECL_EXPR to gimplify such
> types if they are VLAs. The following patch is an attempt to do that.
Well, you should rather say thanks... The gimplification point is also the
point where side effects are evaluated and you cannot let the gimplifier
randomly decide to evaluate them when it happens to see a pointer, because
really bad things may happen in that case.
--
Eric Botcazou
More information about the Fortran
mailing list