On Mon, Jun 3, 2024 at 2:54 AM weizhe wang via Gcc <gcc@gcc.gnu.org> wrote:
>
> Hi Guys,
>
>
>
>      I got some issues in debugging GCC.
>
>      I want to use dump_printf_loc to dump some debug message in GCC. I find 
> the fopt-info-all option which can enable some dump_printf_loc calls.
>
>      But some dump_printf_loc can't be enable by fopt-opt-all option. Because 
> the m_scope_depth variable in class dump_context.
>
>      Are there any options can enable this dump_printf_loc which is disabled 
> by m_scope_depth.
>
>      I want to enable dump_printf_loc in vect_pattern_recog_1.

`-fopt-info-all-internals` as documented
https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Developer-Options.html#index-fopt-info

Note you can find the same information in the vect dump file if you
dump if via -fdump-tree-vect-details too.

Thanks,
Andrew Pinski


>
>
>
> Thanks
> Sent using https://www.zoho.com/mail/

Reply via email to