diff options
author | Alexandre Oliva <oliva@adacore.com> | 2025-01-14 16:45:58 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2025-01-14 16:45:58 -0300 |
commit | 5006b9d810b102d7360b503288a983fc6488c289 (patch) | |
tree | ac5876c5dbcbcb16ee691ae72f8d04950b8d9f63 /gcc/d/dmd/pragmasem.d | |
parent | e939005c496dfd4058fa57b6860bfadcabe4a111 (diff) | |
download | gcc-5006b9d810b102d7360b503288a983fc6488c289.zip gcc-5006b9d810b102d7360b503288a983fc6488c289.tar.gz gcc-5006b9d810b102d7360b503288a983fc6488c289.tar.bz2 |
[ifcombine] robustify decode_field_reference
Arrange for decode_field_reference to use local variables throughout,
to modify the out parms only when we're about to return non-NULL, and
to drop the unused case of NULL pand_mask, that had a latent failure
to detect signbit masking.
for gcc/ChangeLog
* gimple-fold.cc (decode_field_reference): Rebustify to set
out parms only when returning non-NULL.
(fold_truth_andor_for_ifcombine): Bail if
decode_field_reference returns NULL. Add complementary assert
on r_const's not being set when l_const isn't.
Diffstat (limited to 'gcc/d/dmd/pragmasem.d')
0 files changed, 0 insertions, 0 deletions