Correct semantics restrictions checking in throw-expression.
commitb69d1ae22b2a62fc24d15b2cfe157488c03d807f
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Apr 2001 00:02:18 +0000 (4 00:02 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Apr 2001 00:02:18 +0000 (4 00:02 +0000)
tree0635e7adf53901decd10c187dc8e237197ed10a8
parent801bf4296f82795ff940840917b41b709203d31a
Correct semantics restrictions checking in throw-expression.
* except.c (is_admissible_throw_operand): New function.
(build_throw): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_0-branch@41068 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/except.c