------- Comment #6 from jakub at gcc dot gnu dot org 2010-05-27 17:10 ------- redhat/gcc-4_4-branch doesn't have a -fcompare-debug failure here, though, I see now that S::f3 doesn't end a basic block before inlining either, just inlining happens in a different order.
So the question is now what to do with the debug stmts. Alex? Just dropping them on the floor might result in wrong debug, as older debug stmt expression would be still in place. Sometimes we could move/copy the debug stmts to the beginning of the successor bbs. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44182