bootstrapping 19980803 with -fno-force-mem fails with internal error

Jeffrey A Law law@cygnus.com
Sun Aug 16 01:33:00 GMT 1998


  In message < 13777.22914.546236.71538@gargleblaster >you write:
  > platform: Linux 2.0.34 libc6, PPro
  > egcs configured with:
  > ../configure --prefix=/usr --enable-threads --enable-shared -v i486-linux
  > 
  > 
  > stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -fno-force-mem  -DHAVE_CONFIG_H
  >      -I. -I../../gcc -I../../gcc/config ../../gcc/fold-const.c
  > ../../gcc/fold-const.c: In function `div_and_round_double':
  > ../../gcc/fold-const.c:714: internal error--unrecognizable insn:
  > (insn 256 251 258 (parallel[ 
  >             (set (reg:SI 75)
  >                 (udiv:SI (reg/v:SI 34)
  >                     (mem:SI (reg:SI 263))))
  >             (set (reg:SI 76)
  >                 (umod:SI (reg/v:SI 34)
  >                     (mem:SI (reg:SI 265))))
  >         ] ) -1 (insn_list 251 (nil))
  >     (expr_list:REG_UNUSED (reg:SI 76)
  >         (nil)))
  > ../../gcc/toplev.c:1378: Internal compiler error in function fatal_insn
Thanks.  It's bad interaction between ADDRESSOF and -fno-force-mem.  I
don't have a fix, but I have added a reduced testcase to the testsuite.

jeff



More information about the Gcc-bugs mailing list