Re: [patch][DF] fix df_find_def and df_find_use

2013-04-11 Thread Steven Bosscher
Hello, Thanks for the quick ok. Yes, I ran into this with out of tree patches (my new delay slot scheduling pass, based on cfg, DF, and sched-deps). The problem only happens with hard regs and I think that of the existing users of these functions only the mips.c ones maybe are buggy. Ciao! Steven

Re: [patch][DF] fix df_find_def and df_find_use

2013-04-10 Thread Paolo Bonzini
Il 10/04/2013 21:33, Steven Bosscher ha scritto: > Hello, > > df_find_def and df_find_use do not work properly for hard registers > because rtx_equal_p returns false for the case where > REGNO(x)==REGNO(y) but the modes are different. This happened as > follows in my case: > > Breakpoint 9, df_re