On Thu, Apr 09, 2015 at 03:21:44PM +0200, 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.).

If the code inside the #ifdef can actually compile for the opposite
condition, yeah.

The bad effect of not breaking compilation for cc0 targets is we are
even less likely to consider whether something would break on cc0 ;-)

> Perhaps something to work on in the next stage1...

Thanks for volunteering!


Segher

Reply via email to