Committed: fix CRIS build errors with --enable-build-with-cxx.
Gabriel Dos Reis
gdr@integrable-solutions.net
Sun Jun 10 11:45:00 GMT 2012
On Sat, Jun 9, 2012 at 3:56 PM, Hans-Peter Nilsson
<hans-peter.nilsson@axis.com> wrote:
> Trying --enable-build-with-cxx revealed a build regression for
> cris-elf from the recent atomic support bits. Tested the same,
> no regressions.
>
> Casting those INTVAL's would've been a tiny bit uglier than
> using a temp, thus. <rant>Hey, those were stashed there as ints
> so what's wrong with passing them as that! And making "and" a
> reserved word, what's up with that?
In fact, even within C standards, "and" is reserved -- just the same way
"bool", with the proper includes.
> Is that supposed to be easier on the eye or to write than "&"?
Some people find it easier to read than "&&" :-)
-- Gaby
More information about the Gcc-patches
mailing list