On 04/09/2015 07:21 AM, Steven Bosscher wrote:
On Thu, Apr 9, 2015 at 2:41 PM, Segher Boessenkool wrote:
It would be nice if there would be some cc0 target in the compile farm,
since cc0 isn't going away any time soon :-(
In this case it would be enough to replace the "#ifndef/#ifdef
HAVE_cc0" code with "if (HAVE_cc0)".
That's the simplest way to avoid compile breakage. Likewise for so
many other #ifdef code (HAVE_conditional_move, HAVE_trap, etc.).
Perhaps something to work on in the next stage1...
Most definitely a direction I want to see us moving. The glibc project
recently went through the pain of the transition, but I believe it'll be
worth it long term for them and even more so for us (we have a lot more
conditionally compiled code than glibc).
jeff