]> git.ipfire.org Git - thirdparty/gcc.git/commit
bitintlower: Handle PAREN_EXPR [PR117459]
authorJakub Jelinek <jakub@redhat.com>
Tue, 19 Nov 2024 09:25:57 +0000 (10:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 19 Nov 2024 09:25:57 +0000 (10:25 +0100)
commit600cab162c561c3061317c998972b0ed1b681d5b
tree59dfdc4f49c19effc3d1e301405dffe2020bb760
parent758d2b3d3e28c831c79f5c18727d149c81896434
bitintlower: Handle PAREN_EXPR [PR117459]

The following patch handles PAREN_EXPR in bitint lowering, and handles it
as an optimization barrier, so that temporary arithmetics from PAREN_EXPR
isn't mixed with temporary arithmetics from outside of the PAREN_EXPR.

2024-11-19  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/117459
* gimple-lower-bitint.cc (bitint_large_huge::handle_stmt,
bitint_large_huge::lower_stmt): Handle PAREN_EXPR.

* gcc.dg/torture/bitint-74.c: New test.
gcc/gimple-lower-bitint.cc
gcc/testsuite/gcc.dg/torture/bitint-74.c [new file with mode: 0644]