[ADA PATCH] Fix Unwind_Exception struct layout on 64-bit

Geert Bosch bosch@gnat.com
Wed Apr 28 13:13:00 GMT 2004


On Apr 28, 2004, at 04:15, Arnaud Charlet wrote:
> OK, will a style fix (spaces needed around operators), thanks:

Not, for exponentiation operator, where it's actually preferred
to omit spaces to emphasize operator priority. Note that all
simple style rules are checked during bootstrap/library build,
so no chance they can be violated accidentally.

> +    type Unwind_Word is mod 2 ** System.Word_Size;
>

Snippet from coding-style.texi:
> @item
> Every operator must be surrounded by spaces, except for the
> exponentiation operator.
> @cindex Operators
>
> @smallexample @c adanocomment
>        E := A * B**2 + 3 * (C - D);
> @end smallexample

Ulrich's original patch is just fine.

   -Geert



More information about the Gcc-patches mailing list