https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818
--- Comment #14 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #12) > Created attachment 55656 [details] > Assembly code > > The only difference between GCC 9 and GCC 10 is: > #cmpl %edx, 0 > > GCC 10 has this line uncommented. > > So I almost think this is a bug in the binutils ... Hmm, but isn't "cmpl %edx, 0" accessing address 0? Constant 0 should be "$0". I don't think it's correct...