Re: [PATCH] Reset `used' flags after verify RTL sharing

2013-04-13 Thread Eric Botcazou
> 2013-04-11 Andreas Krebbel > > * emit-rtl.c (reset_all_used_flags): New function. > (verify_rtl_sharing): Call reset_all_used_flags before and after > performing the checks. OK for mainline and 4.8 branch (verify_rtl_sharing isn't invoked in release mode) modulo: > ! /* G

[PATCH] Reset `used' flags after verify RTL sharing

2013-04-11 Thread Andreas Krebbel
Hi, enable-checking sometimes hides RTL checking bugs instead of detecting them. The problem is that the `used' flag in the RTXs used in verify_rtl_sharing is not reset after doing the checks. But the flag is also used by other passes in order to fix RTX sharing (e.g. ifcvt). These passes then d