[Bug c++/18470] [4.0 regression] array bound rejected as non-constant in template
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-10 01:05 --- Subject: Bug 18470 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-10 01:05:32 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/template: static12.C Log message: 2005-02-09 Andrew Pinski <[EMAIL PROTECTED]> PR c++/18470 * g++.dg/template/static12.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5012&r2=1.5013 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/static12.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18470
[Bug c++/18470] [4.0 regression] array bound rejected as non-constant in template
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-10 01:05 --- Subject: Bug 18470 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-10 01:05:32 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/template: static12.C Log message: 2005-02-09 Andrew Pinski <[EMAIL PROTECTED]> PR c++/18470 * g++.dg/template/static12.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5012&r2=1.5013 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/static12.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 --- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-10 01:05 --- This was fixed by the patch which fixed PR 19826. Closing as fixed, I already applied the testcase too. -- What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18470
[Bug c++/18470] [4.0 regression] array bound rejected as non-constant in template
--- Additional Comments From mark at codesourcery dot com 2004-11-24 17:38 --- Subject: Re: [4.0 regression] array bound rejected as non-constant in template giovannibajo at libero dot it wrote: > --- Additional Comments From giovannibajo at libero dot it 2004-11-24 > 10:05 --- > Yes, Mark, but it used to work just a few weeks ago, and it is a > rejects-valid. I understand. That's why I left the target for this PR set at 4.0. We have an ever-growing list of these, with respect to using-declarations. None of these have ever worked correctly; they've all worked because we made various mistakes in name lookup. Every time we fix name lookup, we introduce more problems with using-declarations, because our using-declarations are not really using-declarations, but just access specifiers. For example, we broke things in this area when we introduced two-phase name lookup. The correct fix -- and, I suspect, the only correct fix -- is to implement using-declarations for classes correctly. I'd love to do that, but depending on how big of a job it is, it may not happen for 4.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18470
[Bug c++/18470] [4.0 regression] array bound rejected as non-constant in template
--- Additional Comments From giovannibajo at libero dot it 2004-11-24 10:05 --- Yes, Mark, but it used to work just a few weeks ago, and it is a rejects-valid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18470
[Bug c++/18470] [4.0 regression] array bound rejected as non-constant in template
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-11-24 05:06 --- This is just another instance of the fact that G++ using-declarations are actually ARM-style access declarations. I would not expect this to be fixed in G++ 4.0.x. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18470
[Bug c++/18470] [4.0 regression] array bound rejected as non-constant in template
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18470
[Bug c++/18470] [4.0 regression] array bound rejected as non-constant in template
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-13 21:08 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2004-11-13 21:08:37 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18470
[Bug c++/18470] [4.0 regression] array bound rejected as non-constant in template
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-13 21:03 --- This worked with 2004-11-12-161002 so it has to be recent. -- What|Removed |Added Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18470