This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] TREE_LISTectomy of rtti.c



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]