------- Comment #2 from jakub at gcc dot gnu dot org 2009-05-15 10:06 -------
Particularly the dependent_type_p -> dependent_scope_p change in
finish_id_expression makes the difference here. BIT_NOT_EXPR of a RECORD_TYPE
makes it through till tsubsting and isn't errored as invalid use of destructor
in that case.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40139