re PR middle-end/84831 (Invalid memory read in parse_output_constraint)
authorJakub Jelinek <jakub@redhat.com>
Tue, 13 Mar 2018 08:12:07 +0000 (09:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 13 Mar 2018 08:12:07 +0000 (09:12 +0100)
commitcd471b26ca3923f6ca39105c0efe166248ec0425
tree2156fd4967a528df8a83ab807dd54ad5c85273dd
parentee6e1303781ca90a35e962c52fe0f6f83a0bc10e
re PR middle-end/84831 (Invalid memory read in parse_output_constraint)

PR middle-end/84831
* stmt.c (parse_output_constraint): If the CONSTRAINT_LEN (*p, p)
characters starting at p contain '\0' character, don't look beyond
that.

From-SVN: r258478
gcc/ChangeLog
gcc/stmt.c