]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/115646 - ICE with pow shrink-wrapping from bitfield
authorRichard Biener <rguenther@suse.de>
Tue, 25 Jun 2024 14:13:02 +0000 (16:13 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 26 Jun 2024 06:53:29 +0000 (08:53 +0200)
commit453b1d291d1a0f89087ad91cf6b1bed1ec68eff3
tree0584426c13e1a84d6c0b7d51920e0848c61c093d
parent5a10ac0e5921d5aeac58429457423b611ee325d2
tree-optimization/115646 - ICE with pow shrink-wrapping from bitfield

The following makes analysis and transform agree on constraints.

PR tree-optimization/115646
* tree-call-cdce.cc (check_pow): Check for bit_sz values
as allowed by transform.

* gcc.dg/pr115646.c: New testcase.
gcc/testsuite/gcc.dg/pr115646.c [new file with mode: 0644]
gcc/tree-call-cdce.cc