re PR c++/28878 (ICE using "[" instead of "{")
authorJakub Jelinek <jakub@redhat.com>
Sat, 2 Sep 2006 06:54:04 +0000 (08:54 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 2 Sep 2006 06:54:04 +0000 (08:54 +0200)
commit07515729e96d9c36052b6894c3c49afa8a2582b7
tree9b7c48e9461ca34a3b64ee0d02f58debc7ffdf47
parentb2a06efa610db53a7d1840649128f70c8bc10ae8
re PR c++/28878 (ICE using "[" instead of "{")

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.

From-SVN: r116655
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash33.C [new file with mode: 0644]