https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to CTC from comment #2) > (In reply to Andrew Pinski from comment #1) > > The reduced testcase is undefined code .... > > Though the original is most likely well defined valid code. > > I tried to add "-fsanitize=undefined" to make reduced testcase well defined. > But the original testcase with "-fsanitize=undefined" can work successfully > without run-time errors. But this is really obvious that the reduced testcase is undefined. Use your brain before pasting an output of automatic tools into a bug report.