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]
Other format: [Raw text]

[Bug c++/24277] [4.0/4.1 Regression] Boost causes ICE in build_c_cast, at cp/typeck.c:5231



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-10-08 20:24 -------
Confirmed, reduced testcase:
template< int Bits > struct uint_t {
  typedef unsigned short fast;
};
template < int Bits > struct mask_uint_t {
  typedef typename uint_t< Bits >::fast fast;
  static const fast sig_bits = 1;
  static const fast sig_bits_fast = fast(sig_bits);
};
template < int Bits> int checksum ( ) {
  return 1 & mask_uint_t<Bits>::sig_bits_fast;
}
int i = checksum<1>();


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-08 20:24:58
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24277


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