This is the mail archive of the
mailing list for the GCC project.
Re: [Fortran, Patch] PR31188 - Allow array dummy as range for constant arrays
Well, I followed AR_ELEMENT and return SUCCESS if gfc_simplify_expr
cannot be more simplified.
Paul takes the simple route and returns FAILURE in this case.
I would argue that SUCCESS is a bit cleaner conceptually, but
cleaner in terms of the code.
From what I understood of the overall design, simplifying functions
usually return NULL or FAILURE when they don't simplify, don't they?