This is the mail archive of the gcc@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: 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;


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