This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14355] [3.4/3.5 Regression] ICE in cxx_incomplete_type_diagnostic
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2004 02:24:43 -0000
- Subject: [Bug c++/14355] [3.4/3.5 Regression] ICE in cxx_incomplete_type_diagnostic
- References: <20040301062119.14355.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-03-02 02:24 -------
Mark, I analyzed this. cxx_incomplete_type_diagnostic was ICEing because it was
never supposed to get a typename_type (it must have resolved before). You fixed
the real bug in PR14377.
The only reason why I was keeping this around is to add some checking code to
tsubst_build_and_copy (case CALL_EXPR) so that it would check valid incoming
call expressions (to catch problems earlier). For instance, there is a piece of
code there which seems cut & pasted from the parser, and you just modified it:
if (koenig_p
&& (is_overloaded_fn (function)
|| DECL_P (function)
|| TREE_CODE (function) == IDENTIFIER_NODE))
function = perform_koenig_lookup (function, call_args);
The problem is, I don't follow the code well enough to add checking to it. So,
it doesn't really matter.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14355