Re: [PATCH, i386]: Fix PR 53961 in a different way

2012-07-22 Thread Uros Bizjak
On Sun, Jul 22, 2012 at 5:39 PM, Uros Bizjak wrote: > The core of the problem was in fact the possibility of invalid > addresses to sneak through various LEA patterns. > > Attached patch adds handling of SImode SUBREGs of addresses to generic > code. This way, we can use one LEA pattern that acce

[PATCH, i386]: Fix PR 53961 in a different way

2012-07-22 Thread Uros Bizjak
Hello! The core of the problem was in fact the possibility of invalid addresses to sneak through various LEA patterns. Attached patch adds handling of SImode SUBREGs of addresses to generic code. This way, we can use one LEA pattern that accepts all valid address RTXes (modulo segment prefixed on