Hello, Giuliano, thanks for turning my suggestion into a patch! On Nov 19, 2021, Richard Biener <rguent...@suse.de> wrote:
>> +/* { dg-options "-fdump-ipa-clones -o /dev/null" } */ May I suggest actually checking that the ipa-clones dump file is created with the same name and the location it would without -o /dev/null? I think just using any of the normal dump file scanners would do. There's a larger set of tests in gcc.misc/outputs.exp, where this test would be a slightly better fit. Copying some of the tests under "Driver-chosen aux outputs", and some of the link tests that use '$oaout', changing them to use -o /dev/null without any changes to the expected output file names, would give us more coverage of expected behavior than just checking that we just don't get an error. Thanks again, -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about <https://stallmansupport.org>