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
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Nick Burrett <nick at sqrt dot co dot uk>
- Cc: Nathan Sidwell <nathan at codesourcery dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 15 Jun 2005 13:25:13 -0400
- Subject: Re: [C++ PATCH] TREE_LISTectomy of rtti.c
- References: <42AFE45C.2060005@codesourcery.com> <42B05EEB.7050403@sqrt.co.uk>
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.
Thanks,
Andrew Pinski