This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: building sh-elf / sh-linux (Was: Re: [PATCH/RFA] PR target/13250)
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: joern dot rennecke at superh dot com (Joern Rennecke)
- Cc: kkojima at rr dot iij4u dot or dot jp (Kaz Kojima), joern dot rennecke at superh dot com, gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com, gcc at gcc dot gnu dot org
- Date: Fri, 4 Jun 2004 17:19:23 +0100 (BST)
- Subject: Re: building sh-elf / sh-linux (Was: Re: [PATCH/RFA] PR target/13250)
> 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;