Support only \0-terminated string in c_getstr and return
authorMartin Liska <mliska@suse.cz>
Fri, 14 Oct 2016 09:54:32 +0000 (11:54 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 14 Oct 2016 09:54:32 +0000 (09:54 +0000)
commita766d4d74da96bb308f22fd5c9a607740f76c2b9
tree648929aa753753d3f27c6630f7000ed2b5d5e34d
parent57c4fbc64b6c15c43b60a7943422c9ff7010694d
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.

From-SVN: r241152
gcc/ChangeLog
gcc/fold-const.c
gcc/fold-const.h