[Bug target/69634] [6 Regression] -fcompare-debug failure (length) with -O2 -fno-dce -fschedule-insns -fno-tree-vrp @ i686

aoliva at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 6 07:55:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69634

--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Created attachment 37606
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37606&action=edit
Patch I'm testing to fix the bug

REG_N_CALLS_CROSSED's computation didn't always disregard debug insns, which
led to the sched differences.  Fixing the function that computes it without
skipping debug insns removes the -fcompare-debug sched differences.


More information about the Gcc-bugs mailing list