This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
AIX bootstrap failure due to libiberty configure ICE
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 11 Jun 2002 13:59:12 -0400
- Subject: AIX bootstrap failure due to libiberty configure ICE
AIX bootstrap fails due to a fairly long sequence of events
beginning with target libiberty ICE during configuration in 64-bit AIX
mode, causing libiberty/config.h to be wrong, causing an error while
compiling md5.c.
The differences since yesterday includes David Miller's SEQUENCE
patch, Jeff Law's RTL patch, and the reversion of the if-conversion
change.
David
The configure ICE is:
configure:1037: checking for working const
configure:1091: /gcc/dje/build/powerpc-ibm-aix4.3.3.0-20020611/gcc/xgcc -B/gcc/d
je/build/powerpc-ibm-aix4.3.3.0-20020611/gcc/ -B/gcc/dje/install/powerpc-ibm-aix
4.3.3.0-20020611/powerpc-ibm-aix4.3.3.0/bin/ -B/gcc/dje/install/powerpc-ibm-aix4
.3.3.0-20020611/powerpc-ibm-aix4.3.3.0/lib/ -isystem /gcc/dje/install/powerpc-ib
m-aix4.3.3.0-20020611/powerpc-ibm-aix4.3.3.0/include -maix64 -c -g -O2 conftes
t.c 1>&5
configure: In function `main':
configure:1070: internal compiler error: tree check: expected class 't', have 't
' (integer_type) in store_constructor, at expr.c:4695
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
configure: failed program was:
#line 1042 "configure"
#include "confdefs.h"
int main() {
/* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
It does not let you subtract one const X* pointer from another in an arm
of an if-expression whose if-part is not a constant expression */
const char *g = "string";
ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++ccp;
p = (char**) ccp;
ccp = (char const *const *) p;
{ /* SCO 3.2v4 cc rejects this. */
char *t;
char const *s = 0 ? (char *) 0 : (char const *) 0;
*t++ = 0;
}
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
int x[] = {25, 17};
const int *foo = &x[0];
++foo;
}
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
typedef const int *iptr;
iptr p = 0;
++p;
}
{ /* AIX XL C 1.02.0.0 rejects this saying
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
struct s { int j; const int *ap[3]; };
struct s *b; b->j = 5;
}
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
const int foo = 10;
}
; return 0; }