[RFA v2 2/6] Handle alignof and _Alignof

Tom Tromey tom@tromey.com
Fri Apr 27 20:59:00 GMT 2018


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> - alignof(typedef)

Pedro> (to make sure we're not missing a check_typedef
Pedro> call somewhere.  e.g., add "typedef arrstruct arrstruct_t",
Pedro> then add arrstruct_t to the list of tested types.

Tom> This one is in the patch already:
[..]


I forgot to mention, but for C++ specifically, there's an issue with
using typedefs as template parameters:

https://sourceware.org/bugzilla/show_bug.cgi?id=23103

... which is why this particular form of the test isn't in there.

Tom



More information about the Gdb-patches mailing list