HP's compiler crashes when building gcc from trunk
Albert Chin
gcc@lists.thewrittenword.com
Thu Sep 4 16:17:00 GMT 2003
On Wed, Sep 03, 2003 at 05:30:45PM -0700, Joe Buck wrote:
> I just tried building the trunk from an HP/UX system, using the HP-supplied
> C compiler. This has worked fine for 3.2.x and 3.3.x, but the trunk
> crashes HP's compiler:
>
> cc -c -g -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I/u/jbuck/gnu/src/cvs/trunk/gcc/gcc -I/u/jbuck/gnu/src/cvs/trunk/gcc/gcc/. -I/u/jbuck/gnu/src/cvs/trunk/gcc/gcc/../include -I../intl /u/jbuck/gnu/src/cvs/trunk/gcc/gcc/c-decl.c -o c-decl.o
> cc: line 508: panic 5172: Backend Assert ** Unimplemented CVT. (5172)
>
> The versions I have are
>
> cpp.ansi: HP92453-01 B.11.11.04 HP C Preprocessor (ANSI)
> ccom: HP92453-01 B.11.11.04 HP C Compiler
The latest is:
HP92453-01 B.11.11.28212.GP HP C Compiler
I tried the following with this compiler and it compiles fine:
int
main (void) {
struct {
unsigned bit : 1;
} foo;
int b = 0;
foo.bit |= b;
}
I tried it on 10.20 with:
HP92453-01 A.10.32.30 HP C Compiler
and it worked fine as well.
--
albert chin (china@thewrittenword.com)
More information about the Gcc
mailing list