[Bug c++/40139] [4.4/4.5 Regression] ICE on invalid use of destructor
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri May 15 10:06:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list