]> git.ipfire.org Git - thirdparty/gcc.git/commit
Support {CEIL,FLOOR,ROUND}_{DIV,MOD}_EXPR and EXACT_DIV_EXPR in GIMPLE FE
authorRichard Biener <rguenther@suse.de>
Wed, 17 Apr 2024 09:22:00 +0000 (11:22 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 30 Apr 2024 11:03:55 +0000 (13:03 +0200)
commitab785f9a3901ca29710592a2d5480b5a44328bf2
tree260b1976de76c005c2063c43019c8bdc03b43a8e
parent667c19de86b33648f5f4599f589a5e02adbb35cb
Support {CEIL,FLOOR,ROUND}_{DIV,MOD}_EXPR and EXACT_DIV_EXPR in GIMPLE FE

The following adds support for the various division and modulo operators
to the GIMPLE frontend via __{CEIL,FLOOR,ROUND}_{DIV,MOD} and
__EXACT_DIV operators.

gcc/c/
* gimple-parser.cc (c_parser_gimple_binary_expression):
Parse __{CEIL,FLOOR,ROUND}_{DIV,MOD} and __EXACT_DIV.

gcc/testsuite/
* gcc.dg/gimplefe-53.c: New testcase.
gcc/c/gimple-parser.cc
gcc/testsuite/gcc.dg/gimplefe-53.c [new file with mode: 0644]