[PATCH][OBVIOUS] Remove FIELD_DECL leftover.
Martin Liška
mliska@suse.cz
Tue Nov 5 08:38:00 GMT 2019
Hi.
The patch installed as r277614 is not exactly 1:1 to the previous
revision, but I forgot to remove hashing of FIELD_DECL. The tree type
is not handled in operand_equal_p.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
I'm going to install it as obvious.
Thanks,
Martin
gcc/ChangeLog:
2019-11-04 Martin Liska <mliska@suse.cz>
PR c++/92339
* fold-const.c (operand_compare::hash_operand): Remove FIELD_DECL
handling.
gcc/testsuite/ChangeLog:
2019-11-04 Martin Liska <mliska@suse.cz>
PR c++/92339
* g++.dg/pr92339.C: New test.
---
gcc/fold-const.c | 4 ----
gcc/testsuite/g++.dg/pr92339.C | 10 ++++++++++
2 files changed, 10 insertions(+), 4 deletions(-)
create mode 100644 gcc/testsuite/g++.dg/pr92339.C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-FIELD_DECL-leftover.patch
Type: text/x-patch
Size: 1108 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191105/4a539baf/attachment.bin>
More information about the Gcc-patches
mailing list