diff options
author | Nick Clifton <nickc@redhat.com> | 2014-01-16 12:17:48 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2014-01-16 12:17:48 +0000 |
commit | 54c7a7f3b07b2198ecd84cdab579ec41057389f9 (patch) | |
tree | f86b15eb863f6a929fad7d545aa4f7c28340eaa0 /gcc/tree-vectorizer.h | |
parent | 5147d10aa4b2b608a02fb885a5510c983e148f06 (diff) | |
download | gcc-54c7a7f3b07b2198ecd84cdab579ec41057389f9.zip gcc-54c7a7f3b07b2198ecd84cdab579ec41057389f9.tar.gz gcc-54c7a7f3b07b2198ecd84cdab579ec41057389f9.tar.bz2 |
re PR middle-end/28865 (Structures with a flexible arrray member have wrong .size)
PR middle-end/28865
* varasm.c (output_constant): Return the number of bytes actually
emitted.
(output_constructor_array_range): Update the field size with the
number of bytes emitted by output_constant.
(output_constructor_regular_field): Likewise. Also do not
complain if the total number of bytes emitted is now greater
than the expected fieldpos.
* output.h (output_constant): Update prototype and descriptive
comment.
* gcc.c-torture/compile/pr28865.c: New.
* gcc.c-torture/execute/pr28865.c: New.
From-SVN: r206661
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions