https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71961
--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to James Greenhalgh from comment #7) > Reducing it would probably prove hard as the bug is a miscompile and > therefore only shows at runtime in a >30 second test. H.J. has narrowed the > miscompilation down to one file, would it be helpful for you if I generated > some diffs of when the dumps first change, and the generated assembly for > x86_64? Use -Warray-temporaries, using a compiler with and one without the patch. The compiler with the patch should be missing a warning about creating an array temporary. Create a minimum test case containing just the offending line, plus any declarations that are needed to make it valid. Check if the two compilers still exhibit the difference with -Warray-temporaries. Voila, minimum test case! BTW, I will only have time to work on this in around two weeks. With a test case, it would be OK with me if somebody reverted the patch. I can then rework it to take care of that particular bug.