This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19241] [4.0 Regression] ICE in make_decl_rtl, at varasm.c:867
- From: "larsbj at gullik dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2005 20:28:01 -0000
- Subject: [Bug c++/19241] [4.0 Regression] ICE in make_decl_rtl, at varasm.c:867
- References: <20050103134043.19241.larsbj@gullik.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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