diff options
| author | Jakub Jelinek <jakub@redhat.com> | 2015-11-19 17:34:32 +0100 |
|---|---|---|
| committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-11-19 17:34:32 +0100 |
| commit | 12a458cfee558ed8c7e7a3a629910aef1cb9dea5 (patch) | |
| tree | 55b7ca96b9b330024ff71a1e25ee9bc9a5429ed4 /libjava/java/sql/SQLData.h | |
| parent | cb1921f4e0dd8671e2cb435cd69659ed91f46f54 (diff) | |
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: r230616
Diffstat (limited to 'libjava/java/sql/SQLData.h')
0 files changed, 0 insertions, 0 deletions
