[Bug c++/24780] [4.0/4.1 Regression] ICE set_mem_attributes_minus_bitpos

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 10 21:11:00 GMT 2005



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-11-10 21:11 -------
Confirmed, reduced testcase:
template<typename S=int>
struct Move {
  Move();
  static Move<S> const MOVES[2][2];
};
template<typename S>
  Move<S> const Move<S>::MOVES[2][2]={};
typedef Move<int> const MoveClass;
void moves(int x, int y) {
  &MoveClass::MOVES[x][y];
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
 GCC target triplet|i686-pc-cygwin              |
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-10 21:11:19
               date|                            |


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



More information about the Gcc-bugs mailing list