Re: [PING][PATCH 0/3] GNAT test suite fixes for build sysroot
Maciej Rozycki <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.sysutils.dejagnu.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 20 Jun 2019, Arnaud Charlet wrote: > > Technically both variants of the expression achieve the same effect here > > as there is no problem with evaluating both sides of the OR operation in > > all cases, but your suggestion might help the readers avoid scratching > > their heads. > > The performance isn't the same, and more importantly, this is the documented > Ada coding style for GNAT: https://gcc.gnu.org/onlinedocs/gnat-style/Statements.html#Statements Thanks for the pointer, good to know! Maciej