https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104156
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Chengnian Sun from comment #7) > A quick question. Besides the flags `-fcompare-debug -g3 -O3`, are there any > other flags I should enable to better/faster find such -fcompare-debug > failures? -fcompare-debug failures will be spread out through the compiler so I really doubt there are any flag besides -O2 or -O3 will help in finding the failures really. Most passes are designed to ignore the debug information statements (instructions in the case of RTL) but some mistakes happen so I doubt there is any pattern to them really.