This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/42719] "-fcompare-debug failure" with "-O2 -ftracer"



------- Comment #2 from jakub at gcc dot gnu dot org  2010-01-14 15:36 -------
The problem here seems to be that trivially_conflicts_p called
insert_backedge_copies returns 0 for -g0 and 1 for -g in:
<bb 5>:
# i_25 = PHI <i_11(5), a_3(D)(4)>
# DEBUG last => i_25
D.2725_8 = (long unsigned int) i_25;
D.2726_9 = D.2725_8 * 4;
prephitmp.9_10 = pretmp.12_39 + D.2726_9;
i_11 = *prephitmp.9_10;
# DEBUG i => i_11
# DEBUG last => i_25
# DEBUG i => i_11
if (i_11 != -1)
  goto <bb 5>;
else
  goto <bb 6>;
(for -g0 of course without the # DEBUG lines).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42719


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]