Re: [committed] Fix call branch shortening on PA

2012-12-05 Thread John David Anglin
On Mon, 12 Nov 2012, John David Anglin wrote: > The attached change fixes PR target/55195. The attached change updates the above fix. It results in slightly better code being generated by genattrab. However, the main reason for the change is that eliminating the use of match_test makes the fix

[committed] Fix call branch shortening on PA

2012-11-12 Thread John David Anglin
The attached change fixes PR target/55195. A recent change to shorten_branches broke branch shortening on PA. Several years ago we changed to using function calls to estimate the length of the call patterns because the "cond" expressions became unmanageable. The functions returned the maximum cu