OSDN Git Service

PR c++/28878
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Sep 2006 06:54:04 +0000 (06:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Sep 2006 06:54:04 +0000 (06:54 +0000)
commitd4ba6e56609262a5dda386e2395a84c94a404168
tree9b7c48e9461ca34a3b64ee0d02f58debc7ffdf47
parent8b35a404130eeb21bb75e2773402c06a690326f4
PR c++/28878
* except.c (build_throw): Only set current_function_returns_abnormally
if cfun is not NULL.

* g++.dg/parse/crash33.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116655 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash33.C [new file with mode: 0644]