On Thu, Oct 24, 2024 at 07:38:49PM +0200, Jakub Jelinek wrote:
> The only changed parts are extend.texi, c-parser.cc and the 2 testcases.

Bootstrapped/regtested successfully on both x86_64-linux and i686-linux.

> 2024-10-24  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR c/117030
> gcc/
>       * doc/extend.texi (__builtin_stdc_rotate_left,
>       __builtin_stdc_rotate_right): Document.
> gcc/c-family/
>       * c-common.cc (c_common_reswords): Add __builtin_stdc_rotate_left
>       and __builtin_stdc_rotate_right.
> gcc/c/
>       * c-parser.cc: Include asan.h and c-family/c-ubsan.h.
>       (c_parser_postfix_expression): Handle __builtin_stdc_rotate_left
>       and __builtin_stdc_rotate_right.
>       * c-fold.cc (c_fully_fold_internal): Handle LROTATE_EXPR and
>       RROTATE_EXPR.
> gcc/testsuite/
>       * gcc.dg/builtin-stdc-rotate-1.c: New test.
>       * gcc.dg/builtin-stdc-rotate-2.c: New test.

        Jakub

Reply via email to