--- Comment #10 from bbiswas at email dot unc dot edu 2010-08-27 15:05
---
Subject: Re: internal compiler error gcc 4.5.1
Yes. mpc 0.8.2 includes symbols found in gmp 3.0.0. But you can't use
gmp 3.0.0
because then gcc fails to build ("internal compiler error"). mpc
--- Comment #8 from bbiswas at email dot unc dot edu 2010-08-27 14:19
---
Subject: Re: internal compiler error gcc 4.5.1
I successfully built gcc on Solaris 10
using these versions of gmp/mpfr/mpc:
gmp 4.3.2
mpfr 2.4.2
mpc 0.8.1
The instructions on the
--- Comment #6 from bbiswas at email dot unc dot edu 2010-08-25 19:43
---
Subject: Re: internal compiler error gcc 4.5.1
It's in stage 3.
My base compiler is 4.1.2.
I trying to upgrade gcc at our university from 4.1.2 to 4.5.1. I've
successfully built the compiler for Lin
--- Comment #2 from bbiswas at email dot unc dot edu 2010-08-25 18:55
---
Subject: Re: internal compiler error gcc 4.5.1
Here you go:
--- Comment #3 from bbiswas at email dot unc dot edu 2010-08-25 18:55
---
Created an attachment (id=21564)
--> (http://gcc.gnu.
AD;
break;
}
state->offset = (unsigned)this.val;
state->extra = (unsigned)(this.op) & 15;
if (state->extra != 0) {
do { while (bits < (unsigned)(state->extra)) do { do { if (have
== 0) { have = in(in_desc, &next); if (have == 0) { next = 0; ret = (-
state->offset += ((unsigned)hold & ((1U << (state->extra)) -
1));
do { hold >>= (state->extra); bits -= (unsigned)(state->extra);
} while (0);
}
if (state->offset > state->wsize - (state->whave < state->wsize ?
left : 0)) {
strm->msg = (char *)"invalid distance too far back";
state->mode = BAD;
break;
}
;
do {
do { if (left == 0) { put = state->window; left = state->wsize;
state->whave = left; if (out(out_desc, put, left)) { ret = (-5); goto
copy = state->wsize - state->offset;
if (copy < left) {
from = put + copy;
copy = left - copy;
}
else {
from = put - state->offset;
copy = left;
}
if (copy > state->length) copy = state->length;
state->length -= copy;
left -= copy;
do {
*put++ = *from++;
} while (--copy);
} while (state->length != 0);
break;
case DONE:
ret = 1;
if (left < state->wsize) {
if (out(out_desc, state->window, state->wsize - left))
ret = (-5);
}
goto inf_leave;
case BAD:
ret = (-3);
goto inf_leave;
default:
ret = (-2);
goto inf_leave;
}
inf_leave:
strm->next_in = next;
strm->avail_in = have;
return ret;
}
int inflateBackEnd(strm)
z_streamp strm;
{
if (strm == 0 || strm->state == 0 || strm->zfree == (free_func)0)
return (-2);
(*((strm)->zfree))((strm)->opaque, (voidpf)(strm->state));
strm->state = 0;
;
return 0;
}
--
Summary: internal compiler error gcc 4.5.1
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bbiswas at email dot unc dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407