2017-05-04 Richard Biener <rguenther@suse.de>
commit0711076463d2d84bdd810859751f124d73a5702e
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 May 2017 09:08:01 +0000 (4 09:08 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 May 2017 09:08:01 +0000 (4 09:08 +0000)
tree060bfa97ff1fe70567c51cb7685cdc78194aa1db
parent341138f574096767eee209d6ce9c287b4c0b6bd0
2017-05-04  Richard Biener  <rguenther@suse.de>

* tree.c (array_at_struct_end_p): Handle arrays at struct
end with flexarrays more conservatively.  Refactor and treat
arrays of arrays or aggregates more strict.  Fix
VIEW_CONVERT_EXPR handling.  Remove allow_compref argument.
* tree.c (array_at_struct_end_p): Adjust prototype.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust.
* gimple-fold.c (get_range_strlen): Likewise.
* tree-chkp.c (chkp_may_narrow_to_field): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247581 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/emit-rtl.c
gcc/gimple-fold.c
gcc/tree-chkp.c
gcc/tree.c
gcc/tree.h