diff options
| author | Richard Biener <rguenther@suse.de> | 2026-01-28 10:55:56 +0100 |
|---|---|---|
| committer | Richard Biener <rguenth@gcc.gnu.org> | 2026-01-28 12:52:30 +0100 |
| commit | 8c0458505a9b1b276fbad81d20849b88eda12d24 (patch) | |
| tree | fd4bc97aaca28db4534cc7716b005f9a5e1790c1 /libjava/gnu/java | |
| parent | 974182ec0985dfce4960d07cae5f28ae2f70874e (diff) | |
| download | gcc-8c0458505a9b1b276fbad81d20849b88eda12d24.zip gcc-8c0458505a9b1b276fbad81d20849b88eda12d24.tar.gz gcc-8c0458505a9b1b276fbad81d20849b88eda12d24.tar.bz2 | |
ipa/111036 - strip nop conversions around __builtin_constant_p arguments
The PR is about inconsistent behavior wrt inline predicate analysis
and later folding of __builtin_constant_p which ultimatively results
from fold_builtin_constant_p stripping nops off its argument but
this not being done on GIMPLE. The following adds a match.pd pattern
for this.
PR ipa/111036
* match.pd (__builtin_constant_p ((T)x)): Strip nop-conversions
from __builtin_constant_p arguments.
* gcc.dg/torture/pr111036.c: New testcase.
Diffstat (limited to 'libjava/gnu/java')
0 files changed, 0 insertions, 0 deletions
