This is the mail archive of the gcc-bugs@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]

gcc 2.95.2: Internal compiler error in `make_edges', at flow.c: 967



Please keep me posted on any patches for this bug, Thanx.
I have many cases that cause this. I just grabbed what looked like the
shortest case here.

Compiler configured with: 

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
../../gcc-2.95.2/configure --with-gcc-version-trigger=/bigdisk/pbarada/src/new-ppc/gcc-2.95.2/gcc/version.c --host=i686-pc-linux-gnu --target=ppc-rtems-eabi --prefix=/usr/local/wave/ppc4 --exec-prefix=/usr/local/wave/ppc4 --program-prefix=ppc_ --norecursion 
# 

Command line and output is:

[pbarada: /bigdisk/pbarada/work/ips/work/nept-build] > /usr/local/wave/ppc4/bin/ppc_gcc -v -c -g   -O1 -fstrength-reduce -fsigned-char -msoft-float -mstrict-align -Wall -Wno-format qa.c -o qa.o
Reading specs from /usr/local/wave/ppc4/lib/gcc-lib/ppc-rtems-eabi/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/local/wave/ppc4/lib/gcc-lib/ppc-rtems-eabi/2.95.2/cpp -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -DPPC -D__embedded__ -D__PPC__ -D__embedded__ -D__PPC -Asystem(embedded) -Acpu(powerpc) -Amachine(powerpc) -D__OPTIMIZE__ -g -Wall -Wno-format -D_CALL_SYSV -D_SOFT_FLOAT -D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine(bigendian) -D_ARCH_PPC qa.c /tmp/ccVvS7No.i
GNU CPP version 2.95.2 19991024 (release) (PowerPC Embedded)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/wave/ppc4/lib/gcc-lib/ppc-rtems-eabi/2.95.2/include
 /usr/local/wave/ppc4/lib/gcc-lib/ppc-rtems-eabi/2.95.2/../../../../ppc-rtems-eabi/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/wave/ppc4/lib/gcc-lib/ppc-rtems-eabi/2.95.2/../../../../include/g++-
 /usr/local/wave/ppc4/lib/gcc-lib/ppc-rtems-eabi/2.95.2/../../../../ppc-rtems-eabi/sys-include
End of omitted list.
 /usr/local/wave/ppc4/lib/gcc-lib/ppc-rtems-eabi/2.95.2/cc1 /tmp/ccVvS7No.i -quiet -dumpbase qa.c -msoft-float -mstrict-align -g -O1 -Wall -Wno-format -version -fstrength-reduce -fsigned-char -o /tmp/ccKVRvzS.s
GNU C version 2.95.2 19991024 (release) (ppc-rtems-eabi) compiled by GNU C version 2.7.2.3.
qa.c: In function `QASetKeyNum':
qa.c:41: Internal compiler error in `make_edges', at flow.c:967
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
[pbarada: /bigdisk/pbarada/work/ips/work/nept-build] > 

Source file qa.c is:

typedef enum dbgid
{
  DBG, DBGSPEEDO, DBGPDI, DBGDL, DBGENG, DBGFONT, DBGGL, DBGIO,           
  DBGIF, DBGPCLMEM, DBGCMPR, DBGFM, DBGSYS, DBGPM, DBGOM, DBGPDI1,
  DBGQM, DBGST, DBGPS, DBGTS, DBGMM, DBGPCL, DBGFP, DBGPSDL, DBGPJL,
  DBGBIOS, DBGTYPE1, DBGINTER, DBGCOPIER, DBGOD, DBGE, DBGFS,
  DBGSCAN, DBGNODEIO, DBGI, DBGJOB, DBGBQ, DBGPIPE, DBGMOPY,
  DBGNODE, DBGPEP, DBGIDL, DBGQA, DBGRES, DBGSN, DBGROTATE,
  DBGPCLXL, DBGREND, DBGEV, DBGFAX, DBGRPC, DBGJS, DBGINFO, DBGIN,
  DBGMAX 
} DbgId;

typedef long int Sint32;             
typedef unsigned long int Uint32;    

extern Sint32   dbggetmask(DbgId);
int printf (const char *, ...);

void QASetKeyNum( Uint32 *changemask, int keynum )
{
  int i, bitnumber ;

  if (keynum < 1 || keynum > 256)
    return ;

  bitnumber = keynum - 1;

  for (i=0; i<8; i++)
    changemask[i] = 0 ;

  changemask[bitnumber/32] = (0x80000000 >> (bitnumber % 32));

  (dbggetmask((Sint32)(DBGQA)) & (1 << (4)))
    ? printf ( "QASetKeyNum: changed key %d, mask ", keynum) : 0;
  for (i=0; i<8; i++) {
    (dbggetmask((Sint32)(DBGQA)) & (1 << (4))) 
      ? printf ( " %X" ,  changemask[i]) : 0;
  }
  (dbggetmask((Sint32)(DBGQA)) & (1 << (4))) 
    ? printf ( " \n"  ) : 0;
}



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