[Bug ipa/102061] Cloned function names get exposed in warning messages

2024-08-07 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102061 --- Comment #6 from Peter Damianov --- I confirmed this is the case. Compiling the example from the testcase independent-cloneids-1.c confirms that lhd_decl_printable_name is also used for -fdump-rtl-final, my patch results in: ;; Function bar (

[Bug ipa/102061] Cloned function names get exposed in warning messages

2024-08-02 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102061 --- Comment #5 from Peter Damianov --- I finally got some time to look at the test failures this patch causes. https://gcc.gnu.org/cgit/gcc/tree/gcc/testsuite/gcc.dg/independent-cloneids-1.c Perhaps decl_printable_name is also used when writing