This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gfortran, PR33269] Simplify FORMAT expressions before checking them



Hi,


this patch is completely straightforward: call gfc_simplify_expr() on the format string before checking its validity via check_format_string(). This is done during resolutions, so the call to gfc_simplify_expr() doesn't happen unduly early. I also moved some checks into check_format as they belonged there IMO.

Built and tested on i386-darwin with clean testsuite runs except for the known do_3.f90 failures and the ones I mentioned in my earlier mail. Ok?

Cheers,
- Tobi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]