Hello,

Le 10/11/2022 à 11:20, Bernhard Reutner-Fischer via Fortran a écrit :
Tiny cleanup opportunity since we now have ext_attr_args in
struct symbol_attribute.
Bootstrapped and regtested on x86_64-unknown-linux with no new
regressions.
Ok for trunk if the prerequisite was approved ([PATCH 2/2] Fortran: add
attribute target_clones) ?

gcc/fortran/ChangeLog:

        * gfortran.h (struct ext_attr_t): Remove middle_end_name.
        * trans-decl.cc (add_attributes_to_decl): Move building
        tree_list to ...
        * decl.cc (gfc_match_gcc_attributes): ... here. Add the attribute to
        the tree_list for the middle end.

I prefer to not do any middle-end stuff at parsing time, so I would rather not do this change.
Not OK.

Reply via email to