This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HP's compiler crashes when building gcc from trunk
- From: Albert Chin <gcc at lists dot thewrittenword dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 4 Sep 2003 10:52:04 -0500
- Subject: Re: HP's compiler crashes when building gcc from trunk
- References: <20030903173045.A22731@synopsys.com>
- Reply-to: gcc at gcc dot gnu dot org
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)