Am 06.02.19 um 21:27 schrieb Thomas Koenig:
Hello world,
this patch fixes a 7/8/9 regression where we tried to accept invalid
code, which led to an ICE later on.
The patch is rather straightforward. The reason why I could not
use gfc_expr_attr is that it does not actually return the
flags the way they can be found in the original attributes;
for example, an expression containing a pointer attribute is
shown as having the target attribute, for reasons I cannot
fathom.
Regression-tested. OK for trunk and other open branches?
Ping?
And please disregard the ChangeLog entry in the patch :-)
Regards
Thomas