[Bug ipa/79764] [7 Regression][CHKP] ICE in chkp_make_addressed_object_bounds: Unexpected tree code bit_field_ref in tree-chkp.c:3528
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 9 09:27:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79764
--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Mar 9 09:26:45 2017
New Revision: 245994
URL: https://gcc.gnu.org/viewcvs?rev=245994&root=gcc&view=rev
Log:
Support BIT_FIELD_REF in MPX (PR ipa/79764).
2017-03-09 Martin Liska <mliska@suse.cz>
PR ipa/79764
(chkp_narrow_size_and_offset): New function.
(chkp_parse_array_and_component_ref): Support BIT_FIELD_REF.
(void chkp_parse_bit_field_ref): New function.
(chkp_make_addressed_object_bounds): Add case for BIT_FIELD_REF.
(chkp_process_stmt): Use chkp_parse_bit_field_ref.
2017-03-09 Martin Liska <mliska@suse.cz>
PR ipa/79764
* g++.dg/pr79764.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/pr79764.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-chkp.c
More information about the Gcc-bugs
mailing list