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]

Re: enable-checking: Tree check: expected real_cst, have var_decl in fold-const



  In message <u8emecc46n.fsf@gromit.rhein-neckar.de>you write:
  > 
  > With --enable-checking I get the following ICE.  I'm using the current
  > CVS snapshot, updated at 09:00 UTC today (30th Oct).
  > 
  > stage1/xgcc -Bstage1/ -B/opt/gcc-2.96/i686-pc-linux-gnu/bin/ -c  -DIN_GCC  
  >   -W 
  > -Wall -O2 -g -O2  -DHAVE_CONFIG_H    -I. -I../../cvs/gcc/gcc
  > -I../../cvs/gcc/gcc/config -I../../cvs/gcc/gcc/../include
  > ../../cvs/gcc/gcc/global.c 
  > ../../cvs/gcc/gcc/global.c: In function `find_reg':
  > ../../cvs/gcc/gcc/global.c:1165: Tree check: expected real_cst, have var_de
  > cl
  > ../../cvs/gcc/gcc/global.c:1165: Internal compiler error in `fold', at fold
  > -const.c:5754
  > Please submit a full bug report.
This should be fixed now.  We missed a case where we needed to verify that
a tree node was a REAL_CST before peeking at REAL_VALUE_CST.
jeff


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