This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: breakage with "[PATCH] combine: Disregard clobbers in another test for two SETs (PR65693)"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]