This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] TREE_LISTectomy of rtti.c
Andrew Pinski wrote:
On Jun 15, 2005, at 1:01 PM, Nick Burrett wrote:
Nathan Sidwell wrote:
Trying this patch with an arm-elf-linux target, I find the build
fails in libstdc++:
../../../../libstdc++-v3/src/codecvt.cc -o codecvt.o
/home/nick/riscos-elf/gcc-4.1/arm-elf-riscos/arm-elf-riscos/libstdc++-
v3/include/bits/locale_facets.h:676: internal compiler error:
Segmentation fault
I noticed that too but only with a compiler built at -O2 showed it.
The testcase I found which produced that error with a compiler built at
-O2 is:
struct facet { virtual ~facet(); };
struct ctype_base {};
struct ctype : facet, ctype_base {};
So maybe there is a miscompiling with my base compiler I don't know.
or there's an uninitialized var
could you send me the codecvt.ii file? I'll see if I can reproduce it with a
cross compiler.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk