[Bug c++/23993] [4.0/4.1 Regression] Misterious compiler error when accessing a 2d-array in a template class
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 21 11:24:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-21 11:24 -------
Confirmed, reduced testcase:
const int data[2][4] = {
{0, 1, 2, 3}
};
template <typename T>
void t(int k) {
int candidate = data[1][k];
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Known to fail| |4.1.0 4.0.2
Known to work| |4.0.0 4.0.1
Last reconfirmed|0000-00-00 00:00:00 |2005-09-21 11:24:24
date| |
Summary|Misterious compiler error |[4.0/4.1 Regression]
|when accessing a 2d-array in|Misterious compiler error
|a template class |when accessing a 2d-array in
| |a template class
Target Milestone|--- |4.0.2
Version|4.0.1 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23993
More information about the Gcc-bugs
mailing list