This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52432] [C++11] -fdump-tree-gimple causes ICE: Error reporting routines re-entered.
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Feb 2012 13:51:03 +0000
- Subject: [Bug c++/52432] [C++11] -fdump-tree-gimple causes ICE: Error reporting routines re-entered.
- Auto-submitted: auto-generated
- References: <bug-52432-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52432
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-02-29 13:51:03 UTC ---
Admittedly, though, the error which we currently produce for decltype32 isn't
optimal, ie:
decltype32.C: In substitution of âtemplate<class T> decltype (make_array(il))
make_array(const T&) [with T = int]â:
decltype32.C:11:23: required from here
decltype32.C:5:6: error: âmake_arrayâ was not declared in this scope
decltype32.C:5:6: note: suggested alternative:
decltype32.C:5:6: note: âmake_arrayâ
decltype32.C: In function âint main()â:
decltype32.C:11:23: error: no matching function for call to âmake_array(int)â
decltype32.C:11:23: note: candidate is:
decltype32.C:5:6: note: template<class T> decltype (make_array(il))
make_array(const T&)
decltype32.C:5:6: note: substitution of deduced template arguments resulted
in errors seen above
Granted, we don't recurse, but saying that 'make_array' was not declared and
then suggesting 'make_array', ehm ;)