http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16564
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Last reconfirmed|2008-12-25 15:59:38 |2012-11-08 15:59:38
--- Comment #11 from Steven Bosscher <steven at gcc dot gnu.org> 2012-11-08
23:17:40 UTC ---
The compiler now produces a wonderful diagnostic for my original test case
(comment #1), with one line of the diagnostic with a length of 30750 (!)
characters. Nice, on that 80-chars wide terminal! :-)
t.C: In instantiation of 'class
std::vector<std::allocator<std::allocator<std::allocator<std::allocator<std::allocator<std::allocator<std::allocator<std::allocator<std::allocat.....
t.C:120:23: recursively required from 'class
std::vector<std::allocator<__gnu_cxx::_Hashtable_node<std::pair<const
std::basic_string<char>, symbol> >*>, std::allocator<std::a.....
t.C:120:23: required from 'class
std::vector<__gnu_cxx::_Hashtable_node<std::pair<const std::basic_string<char>,
symbol> >*, std::allocator<__gnu_cxx::_Hashtable_node<std::pa......
t.C:445:18: required from 'class __gnu_cxx::hashtable<std::pair<const
std::basic_string<char>, symbol>, std::basic_string<char>,
__gnu_cxx::hash<std::basic_string<char> >, st.....
t.C:552:9: required from 'class __gnu_cxx::hash_map<std::basic_string<char>,
symbol>'
t.C:574:35: required from here
t.C:121:38: error: no type named 'pointer' in 'class
std::allocator<std::allocator<std::allocator<std::allocator<std::allocator<std::allocator<std::allocator<std::allocator<std....
typedef typename _Alloc::pointer pointer;
^