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] |
Andrew Pinski wrote:On Jun 15, 2005, at 1:01 PM, Nick Burrett wrote:or there's an uninitialized varNathan Sidwell wrote:I noticed that too but only with a compiler built at -O2 showed it.
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
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.
could you send me the codecvt.ii file? I'll see if I can reproduce it with a cross compiler.
Attachment:
codecvt.ii.bz2
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |