[Bug c++/16012] [3.5 regression] trouble with scope in for statements in templates
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 16 08:02:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-16 08:02 -------
Confirmed, only happens in templates.
Here is another example:
template<int> void foo()
{
for (int i=0 ;;) ;
int i;
}
void bar()
{
foo<0>();
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-16 08:02:03
date| |
Summary|[3.5 regression] trouble |[3.5 regression] trouble
|with scope in for statements|with scope in for statements
| |in templates
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16012
More information about the Gcc-bugs
mailing list