cris: Parenthesize parameter to as_a.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 12 Jan 2022 01:07:13 +0000 (02:07 +0100)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 12 Jan 2022 02:50:53 +0000 (03:50 +0100)
commitf8feccb8b08a42fa44caff69c8d82860caef3574
tree578000491b653aed51fd20641c3b119f616df639
parent01a254e3e53cc1cf9e16688ed785ca931b1459aa
cris: Parenthesize parameter to as_a.

Noted by Richard Sandiford in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974#c7 (thanks!)

Mea culpa: I wrongly thought the default development-level value
("yes,extra") would include everything interesting to normal target
hacking (i.e. as opposed to hacking stuff like GC).  I see
rtl-checking is marked as "expensive" and presumably therefore left
out.  Maybe it could be split into rtl-static (cheap; catching type
errors including this kind of foulups) and rtl-dynamic (the expensive
parts).  I suppose that's for whomever feels a strong enough itch.

A quick (error-prone) grep-and-eyeball in config/ shows this was the
only file missing the parenthesis.  This lets cris-elf configured with
--enable-checking=yes,extra,rtl survive make all-gcc.

2022-01-11  Hans-Peter Nilsson  <hp@axis.com>

* config/cris/cris.c (cris_postdbr_cmpelim): Parenthesize
parameter to as_a.
gcc/config/cris/cris.c