This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4429: certain member variables that shadow template parameters cause ice.
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, xternal at centibyte dot org
- Date: 31 Oct 2002 22:08:18 -0000
- Subject: Re: c++/4429: certain member variables that shadow template parameters cause ice.
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, xternal at centibyte dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: certain member variables that shadow template parameters cause ice.
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Thu Oct 31 14:08:17 2002
State-Changed-Why:
With 3.3pre, I now get
tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -W -Wall -c y.cc
y.cc:6: warning: `static' is not at beginning of declaration
y.cc:6: error: declaration of `const MyClass TestTemplate<type>::type[]'
y.cc:4: error: shadows template parm `char type'
It still fails with 3.2.1, but is not a regression.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4429