This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g++ ICE in size_binop (2.96 20000228, i686-pc-linux-gnu)
- To: bug-gcc at gnu dot org
- Subject: g++ ICE in size_binop (2.96 20000228, i686-pc-linux-gnu)
- From: scott snyder <snyder at fnal dot gov>
- Date: Mon, 28 Feb 2000 16:50:15 CST
hi -
The CVS version of g++ (2.96 20000228) on a i686-pc-linux-gnu platform
gives an ICE on this code:
- egcsbug6.cc --------------------------------------------------------
struct Base_bitset {
unsigned M_w[2];
void M_do_right_shift();
};
void Base_bitset::M_do_right_shift ()
{
unsigned n = 0;
M_w[0] = M_w[n + 1] ;
}
----------------------------------------------------------------------
$ ./cc1plus egcsbug6.cc
void Base_bitset::M_do_right_shift ()
egcsbug6.cc:10: Internal compiler error in `size_binop', at
egcsbug6.cc:10: fold-const.c:1873
egcsbug6.cc:10: Please submit a full bug report.
egcsbug6.cc:10: See <URL:http://www.gnu.org/software/gcc/bugs.html> for
egcsbug6.cc:10: instructions.
thanks,
sss