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: HP's compiler crashes when building gcc from trunk


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)


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