diff options
author | Jason Merrill <jason@redhat.com> | 2009-05-17 14:01:33 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-05-17 14:01:33 -0400 |
commit | 7e361ae60a7b275571bba267b2354b72df40c99a (patch) | |
tree | 097a2b317a3f015b864632a6294fe207c4fd91d4 /gcc/java/java-except.h | |
parent | 8fa6fa79177806a38422c7c13a29a8fc12e38bf3 (diff) | |
download | gcc-7e361ae60a7b275571bba267b2354b72df40c99a.zip gcc-7e361ae60a7b275571bba267b2354b72df40c99a.tar.gz gcc-7e361ae60a7b275571bba267b2354b72df40c99a.tar.bz2 |
re PR c++/40139 (ICE on invalid use of destructor)
PR c++/40139
* pt.c (tsubst_qualified_id): Retain the type if we aren't dealing
with a dependent type. Actually look up the destructor.
* semantics.c (finish_id_expression): Fix logic.
(finish_qualified_id_expr): Don't try to use 'this' if we aren't in
a function.
* typeck.c (build_x_unary_op): Diagnose taking the address of a
constructor or destructor.
* tree.c (get_first_fn): Handle OFFSET_REF.
From-SVN: r147638
Diffstat (limited to 'gcc/java/java-except.h')
0 files changed, 0 insertions, 0 deletions