The pdp11 port fails to build with the trunk because of a warning.
Essentially VRP determines that the result of using BRANCH_COST is a
constant with the range [0..1]. That's always less than 4, 3 and the
various other magic constants used with BRANCH_COST and VRP issues a
warning about that comparison.
I expect we're going to be overhauling BRANCH_COST shortly. In the mean
time, this just revectors BRANCH_COST for the pdp11 into a function to
prevent VRP from collapsing the test and issuing the warning.
Yes, this means more code in the pdp11 cross compiler. I'm not terribly
concerned about that and I couldn't stand the idea of scattering
diagnostic push/pop stuff all over the place to make just the pdp11 port
happy.
Tested by building the pdp11 targets from config-all.mk.
Installed on the trunk.
Jeff