building sh-elf / sh-linux (Was: Re: [PATCH/RFA] PR target/13250)
Joern Rennecke
joern.rennecke@superh.com
Fri Jun 4 16:19:00 GMT 2004
> I've chosen a i686-pc-linux-gnu host for a bootstrap test.
> For the unmodified control, I got a failure during stage1 building
> crtbegin.o - cc1 throws a floating point exception. The patched
> compiler has moved on to stage2 in the meantime.
Hmm, it's actually a stage2 failure, and it is the same with
and without patches.
Program received signal SIGFPE, Arithmetic exception.
0x08421ace in narrow_str_to_charconst (pfile=0x8590518, str=
{len = 2, text = 0x85bcc78 "\n"}, pchars_seen=0xbfffe650,
unsignedp=0xbfffe654) at ../../srcw/libcpp/charset.c:1214
1214 size_t max_chars = CPP_OPTION (pfile, int_precision) / width;
(gdb) p width
$1 = 0
(gdb) l
1209 static cppchar_t
1210 narrow_str_to_charconst (cpp_reader *pfile, cpp_string str,
1211 unsigned int *pchars_seen, int *unsignedp)
1212 {
1213 size_t width = CPP_OPTION (pfile, char_precision);
1214 size_t max_chars = CPP_OPTION (pfile, int_precision) / width;
More information about the Gcc
mailing list