Support only \0-terminated string in c_getstr and return
commit89e662e515522e8856b59957c5a55af5b52a1f33
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2016 09:54:32 +0000 (14 09:54 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2016 09:54:32 +0000 (14 09:54 +0000)
tree648929aa753753d3f27c6630f7000ed2b5d5e34d
parent629e12ae3221c71857043a3f0ac0c48431482731
Support only \0-terminated string in c_getstr and return

* fold-const.c (c_getstr): Support of properly \0-terminated
string constants.  New argument is added.
* fold-const.h: New argument is added.

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