re PR c++/12709 (ICE with __FUNCTION__ and function-try-block)
commitbfaba7a9c354ab688a552596cbf37d1c21081c36
authorAndrew Pinski <pinskia@physics.uc.edu>
Tue, 13 Jan 2004 20:10:07 +0000 (13 20:10 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 13 Jan 2004 20:10:07 +0000 (13 12:10 -0800)
tree3d2acf96009bba59ab9e8c7bfadf7699055059b1
parent81c740ba1bfd1332d22b8f597da1522467ef6479
re PR c++/12709 (ICE with __FUNCTION__ and function-try-block)

2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/12709
        * c-common.c (finish_fname_decls): Use the chain only if the
        tree is an expr_stmt.

2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/12709
        * g++.dg/parse/try-catch-1.C: New test.

From-SVN: r75814
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/try-catch-1.C [new file with mode: 0644]