https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102362

--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Here, to emit 'note: [...]' ('-fopt-info-note') if because of certain input
source code characteristics (derived from
'DECL_ATTRIBUTES(current_function_decl)'), certain code transformations
do/don't need to be done.  Primarily for GCC test suite usage (matching
'dg-note' for the relevant lines), but may also be useful for users.  (I can of
course move the detection of "certain input source code characteristics" and
'dump_printf_loc' into 'execute', but it was surprising that I couldn't do it
in 'gate'.)

Reply via email to