* varasm.c (compare_constant): Compare type size of STRING_CSTs.
commit3aa3dc55c2d36b0b35648e992bdc5d86c2520fb0
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2018 21:43:16 +0000 (13 21:43 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2018 21:43:16 +0000 (13 21:43 +0000)
tree0bc6a7c631c48975d524bc8e12bae897b2bae1e9
parentabadc2f84638a70a3fa1f16edf1335ff1d78248f
* varasm.c (compare_constant): Compare type size of STRING_CSTs.
(get_constant_size): Don't make STRING_CSTs larger than they are.
(check_string_literal): New check function for STRING_CSTs.
(output_constant): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264292 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/varasm.c