]> git.ipfire.org Git - thirdparty/gcc.git/commit
Support BIT_FIELD_REF in MPX (PR ipa/79764).
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Mar 2017 09:26:45 +0000 (09:26 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Mar 2017 09:26:45 +0000 (09:26 +0000)
commit2b5c00a27a845e5265201c23921dc43c3dce16c2
tree7d1ac3e0301a2d14141b00cf32cd4f0e82288e67
parent90a2ae89c802ece13abc163aeaea6ae3d69e82f7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245994 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr79764.C [new file with mode: 0644]
gcc/tree-chkp.c