GIMPLEFE: Handle invalid SSA names
authorMikhail Maltsev <maltsevm@gmail.com>
Thu, 11 May 2017 12:27:37 +0000 (12:27 +0000)
committerMikhail Maltsev <miyuki@gcc.gnu.org>
Thu, 11 May 2017 12:27:37 +0000 (12:27 +0000)
commitc587104e114652bea492bebbbc8373852578df69
tree9214bd31fe82d143b0a670e59b7b32368d5cc9c2
parent056a17ee6ca8f0fcd318d0dfba18f277e05a3579
GIMPLEFE: Handle invalid SSA names

gcc/testsuite/

PR testsuite/80580
* gcc.dg/gimplefe-error-6.c: New test.

gcc/c/

PR testsuite/80580
* gimple-parser.c (c_parser_parse_ssa_name): Validate SSA name base.

From-SVN: r247903
gcc/c/ChangeLog
gcc/c/gimple-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gimplefe-error-6.c [new file with mode: 0644]