diff options
| author | Richard Biener <rguenther@suse.de> | 2026-01-30 15:32:39 +0100 |
|---|---|---|
| committer | Richard Biener <rguenther@suse.de> | 2026-01-30 19:21:58 +0100 |
| commit | c1fa15791ae458e1bd8db6842dfc021230521a65 (patch) | |
| tree | ed4c689471f9cbcb8b573da649e789c62df80074 /libjava/javax/activation | |
| parent | 2b44a1ab15cfd0936860bbb78ece649e9b5ca0a0 (diff) | |
| download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 | |
The following properly checks expr_no_side_effects_p on two patterns
that turns a conditionally evaluated operand into unconditonal.
PR middle-end/123887
* match.pd ((zero_one ==/!= 0) ? .. z <op> y .. -> zero_one * z ..):
Check evaluating z unconditionally has no side-effects, like
trapping.
* gcc.dg/torture/pr123887.c: New testcase.
Diffstat (limited to 'libjava/javax/activation')
0 files changed, 0 insertions, 0 deletions
