[Bug testsuite/80580] GIMPLEFE ICE on invalid code (fuzz testing)

miyuki at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 11 12:37:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80580

--- Comment #4 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
Author: miyuki
Date: Thu May 11 12:27:37 2017
New Revision: 247903

URL: https://gcc.gnu.org/viewcvs?rev=247903&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.dg/gimplefe-error-6.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/gimple-parser.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list