https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63307
--- Comment #5 from Igor Zamyatin <izamyatin at gmail dot com> --- (In reply to Jakub Jelinek from comment #4) > I don't think so. They copy declarations, i.e. create new declarations, and > the different ordering of their DECL_UID values may result in code > generation differences (e.g. various other spots in the compiler sort based > on DECL_UIDs, > if you create them in pretty random order, you'll surely trigger some > -fcompare-debug (perhaps not with current limited testsuite coverage, but > with other tests). Right, thanks for the clarification. Will prepare the whole patch then