Re: [SPARC] Disable U constraint with LRA

2016-12-05 Thread Eric Botcazou
> Fixed by disabling the relevant alternatives in the few patterns using the > constraint and replacing it with a simple r constraint. This yields a clean > C testsuite in 32-bit mode. There was a thinko in the patch: the U constraint cannot be just replaced with r as-is, because it is matched w

[SPARC] Disable U constraint with LRA

2016-12-03 Thread Eric Botcazou
As diagnosed by DaveM, there is a bad interaction between the U constraint used by the SPARC port to represent "aligned" double-word registers in 32-bit mode and LRA; more precisely, LRA doesn't play as nice as reload with it because it's not declared with define_register_constraint. Fixed by d