diff options
author | Richard Biener <rguenther@suse.de> | 2018-02-28 13:40:41 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2018-02-28 13:40:41 +0000 |
commit | 9348eb677eb9e113ae7889faa5466723a307941f (patch) | |
tree | fcffeb99d5674cf27e19b9ce648a6e5782e6b8c0 /libcpp | |
parent | 35129fd3a745403bec0a06d62b18fc30ce1bbf8e (diff) | |
download | gcc-9348eb677eb9e113ae7889faa5466723a307941f.zip gcc-9348eb677eb9e113ae7889faa5466723a307941f.tar.gz gcc-9348eb677eb9e113ae7889faa5466723a307941f.tar.bz2 |
re PR c/84607 (Side effects discarded in address computation inside 'if')
2018-02-28 Richard Biener <rguenther@suse.de>
PR middle-end/84607
* genmatch.c (capture_info::walk_match): Do not mark
captured expressions without operands as expr_p given
they act more like predicates and should be subject to
"lost tail" side-effect preserving.
* gcc.dg/pr84607.c: New testcase.
From-SVN: r258061
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions