aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-11-19 17:18:39 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2015-11-19 17:18:39 +0100
commit2c4437019f044d7d659e0cb36ff0afb461950977 (patch)
tree992607ebfe44ec436c19d44c6cfe72f68fc36911 /gcc/tree-vrp.c
parent1e1ce42e7224ff9ebf8ad82178894f4f0ccfb9eb (diff)
downloadgcc-2c4437019f044d7d659e0cb36ff0afb461950977.zip
gcc-2c4437019f044d7d659e0cb36ff0afb461950977.tar.gz
gcc-2c4437019f044d7d659e0cb36ff0afb461950977.tar.bz2
re PR c++/67409 (tree-cfg.c dereferences a NULL pointer)
PR c++/67409 * decl.c (identify_goto): Add LOC and DIAG_KIND arguments, call emit_diagnostic instead of permerror. (check_previous_goto_1): Adjust identify_goto callers, treat all cases but crossing initialization and entering scope of decl with non-trivial dtor as unconditional hard errors. (check_goto): Use identify_goto. Treat all cases but crossing initialization and entering scope of decl with non-trivial dtor as unconditional hard errors. * g++.dg/eh/goto3.C: New test. Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org> From-SVN: r230613
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions