------- Additional Comments From larsbj at gullik dot net 2005-01-03 20:28 ------- (In reply to comment #12) > > > grep -v ^# FormExternal.ii> FormExternal.cc > > gcc FormExternal.cc -include pch.ii > > So it is quite obvious that just using preprocessed sources will not > show the ICE.
If I compile like this: gcc -c -O -fno-exceptions --include=pch.ii FormExternal.cc (both -O and -fno-exceptions) Then I get the usual error: /opt/gcc-head/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/debug/safe_base.h: In member function â__gnu_debug::_Safe_iterator<typename __gnu_norm::map<_Key, _Tp, _Compare, _Alloc>::iterator, __gnu_debug_def::map<_Key, _Tp, _Compare, _Allocator> > __gnu_debug_def::map<_Key, _Tp, _Compare, _Allocator>::end() [with _Key = std::string, _Tp = lyx::external::Template::Format, _Compare = std::less<std::string>, _Allocator = std::allocator<std::pair<const std::string, lyx::external::Template::Format> >]â: /opt/gcc-head/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/debug/safe_base.h:88: internal compiler error: in make_decl_rtl, at varasm.c:867 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19241