------- Comment #6 from nickc at redhat dot com 2006-01-10 13:19 ------- Hi Libor,
I have uploaded a patch which should fix the problem. It is not the most elegant solution but I believe that it should work for now. The patch amends the code in add_branch_dependencies() which searches back from the end of a block to the first instruction which is not a branch. call, cc0 setter, clobber or use. The amendment is that once such an instruction is found, the search is continued backwards until all cc0 setters have been found. In this way none of the cc0 setter/user pairs in the block are disturbed. Please let me know how you get on with this patch and if it solves the problem for you. Cheers Nick -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24376