On Wed, Oct 03, 2018 at 11:56:15AM -0400, Jason Merrill wrote:
> --- a/gcc/c-family/c-lex.c
> +++ b/gcc/c-family/c-lex.c
> @@ -356,6 +356,8 @@ c_common_has_attribute (cpp_reader *pfile)
>                      || is_attribute_p ("nodiscard", attr_name)
>                      || is_attribute_p ("fallthrough", attr_name))
>               result = 201603;
> +           else if (is_attribute_p ("no_unique_address", attr_name))
> +             result = 20180312;

Seems for all other attributes we return either 0, 1 or yyyymm, you return
here yyyymmdd, is that intentional?  If users think it is yyyymm, then
they'd read it as December 201803.

        Jakub

Reply via email to