[Bug c++/4882] fails to lookup a template specialization dependent of an outer template

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #9 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:55 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/8355] befriending a template specialization in another namespace

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #5 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:56 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/10574] Partial specialization selection failure involving a default template parameter from inside a template

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #5 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:56 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13088] templatizing outer class hides specialization of inner template class

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #25 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:57 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13166] DR136 not implemented

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #6 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:57 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/14032] non type boolean template argument partial specialization to argument in parent never matches

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #7 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:57 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/17122] Unable to compile friend operator within template

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #8 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:58 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/20420] Incorrectly Accepts double declarations

2005-10-22 Thread lerdsuwa at gcc dot gnu dot org
--- Comment #3 from lerdsuwa at gcc dot gnu dot org 2005-10-22 13:58 --- Won't work on it for a long while. -- lerdsuwa at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/21312] [3.4/4.0/4.1 Regression] Access violation diagnostic given twice

2005-06-07 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-06-07 14:57 --- Patch withdrawn due to overlooking default function argument and default template argument. No nice solution is found yet. -- What|Removed |Added

[Bug c++/18681] [3.4/4.0/4.1 Regression] template friend declaration not recognized

2005-06-07 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-06-07 14:57 --- Patch withdrawn due to overlooking default function argument and default template argument. No nice solution is found yet. -- What|Removed |Added

[Bug c++/16617] Fail to do access checking correctly for non-dependent qualified-id

2005-06-07 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-06-07 14:58 --- Patch withdrawn due to overlooking default function argument and default template argument. No nice solution is found yet. -- What|Removed |Added

[Bug c++/13830] Invalid covariant type for identical type, friend related

2005-05-22 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-22 11:42 --- Also fixed in GCC 4.0.1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13830

[Bug c++/15453] Friend declaration treated as a declaration in scope.

2005-05-22 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-22 11:43 --- Also fixed in GCC 4.0.1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15453

[Bug c++/1016] [DR 166] friend class declarations not observing namespace rules.

2005-05-20 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-20 17:42 --- Also fixed in 4.0.1. -- What|Removed |Added Target Milestone|4.1.0

[Bug c++/21008] [3.4/4.0/4.1 Regression] [DR515] Access failure in accessing data member of base class from derived template class

2005-05-19 Thread lerdsuwa at gcc dot gnu dot org
-- What|Removed |Added Summary|[3.4/4.0/4.1 Regression]|[3.4/4.0/4.1 Regression] |Acess failure in accessing |[DR515] Access failure in

[Bug c++/18681] [3.3/3.4/4.0/4.1 Regression] template friend declaration not recognized

2005-05-19 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-19 17:07 --- Patch using new approach for 4.1: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01992.html (Note this is part 4 in a series, earlier parts are also required) -- http://gcc.gnu.org/bugzilla

[Bug c++/16617] Fail to do access checking correctly for non-dependent qualified-id

2005-05-19 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-19 17:09 --- Patch using new approach for 4.1: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01992.html (Note this is part 4 in a series, earlier parts are also required) -- What|Removed

[Bug c++/21543] Full specialization of templates not supported in classes

2005-05-15 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-15 11:21 --- From 14.7.2 [temp.expl.spec] paragraph 2: An explicit specialization shall be declared in the namespace of which the template is a member, or, for member templates, in the namespace of which

[Bug c++/19073] cp_binding_level::names not returning all decls

2005-05-15 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-15 11:46 --- Some comment: This cp_binding_level::names and how it is used are internal to GCC. Too bad -fdump-translation-unit relies on it. Names are placed in cp_binding_level::names only if it may be needed

[Bug c++/21510] Possible bug

2005-05-15 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-15 12:37 --- The code is invalid. In the section 14.8.2 [temp.deduct] paragraph 2 of the standard does not include creating a class with invalid base class. Examples of valid SNINF cases: - Attempting to create

[Bug c++/21555] name lookup / friend function

2005-05-15 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-15 12:41 --- Confirmed. I think the declaration int swap(A, A); should be accepted. Could be something wrong with the type computation to select overloaded function. -- What|Removed

[Bug c++/21491] [4.0/4.1 Regression] crosses initialization of a pointer

2005-05-15 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-15 14:11 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/20475] static_cast falsely allows const to be cast away

2005-05-15 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-15 14:36 --- Yup, string literal should have type 'const char *'. -- What|Removed |Added

[Bug c++/21312] [3.4/4.0/4.1 Regression] Access violation diagnostic given twice

2005-05-14 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-14 12:00 --- Patch for 4.1 submitted: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01322.html It requires another patch from me: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01320.html Won't fix in 3.4

[Bug c++/21312] [3.4/4.0/4.1 Regression] Access violation diagnostic given twice

2005-05-08 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-08 08:12 --- Confirmed -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/21312] [3.4/4.0/4.1 Regression] Access violation diagnostic given twice

2005-05-08 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-08 08:13 --- Got it -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lerdsuwa

[Bug c++/21008] [3.4/4.0/4.1 Regression] Acess failure in accessing data member of base class from derived template class

2005-04-30 Thread lerdsuwa at gcc dot gnu dot org
-- What|Removed |Added CC||lerdsuwa at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla

[Bug c++/18681] [3.3/3.4/4.0/4.1 Regression] template friend declaration not recognized

2005-04-23 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-04-23 15:28 --- The TYPE_NO_ACCESS_CHECK_P is there because we check access on each tsubst TYPENAME_TYPE, regardless whether the typename is actually appear in the code or it come from a typedef. The patch was only

[Bug c++/16617] Fail to do access checking correctly for non-dependent qualified-id

2005-04-23 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-04-23 15:30 --- This is a stage 2 project. Likely to be fixed in a month or two. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16617

[Bug c++/19772] [3.4/4.0/4.1 Regression] crash on invalid template friend decl

2005-04-23 Thread lerdsuwa at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19772

[Bug c++/20547] undefined reference to static const fields of classes

2005-03-20 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-20 13:55 --- Here is the relevant section of the standard (TC1, section 9.4.2, paragraph 4): If a 'static' data member is of 'const' integral or 'const' enumeral type, its declaration in the class definition can

[Bug c++/20549] [3.4/4.0/4.1 Regression] ICE in resolve_overloaded_unification on invalid code

2005-03-20 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-20 14:00 --- Here is the error message: pr20549.C: In function 'void popSlot()': pr20549.C:12: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:9579 Please submit a full bug report

[Bug c++/20333] [3.4/4.0/4.1 Regression] ICE on invalid code, typename outside of a template

2005-03-19 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-19 12:27 --- Fixed in 3.4/4.0/4.1. -- What|Removed |Added Status|ASSIGNED

[Bug c++/20240] [3.3 Regression] invalid using-redeclaration accepted

2005-03-19 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-19 14:15 --- Fixed in 3.4/4.0/4.1. -- What|Removed |Added AssignedTo|lerdsuwa at gcc dot gnu

[Bug c++/9782] constructor not called on higher-dimensional arrays of template types

2005-03-18 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-18 15:08 --- Now the code is rejected by GCC in 4.0 branch and mainline. -- What|Removed |Added

[Bug c++/19772] [3.4/4.0/4.1 Regression] crash on invalid template friend decl

2005-03-18 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-18 16:39 --- Got it. Mainline ICE on corrected code. 4.0 ICE on both original and corrected one. -- What|Removed |Added

[Bug c++/19948] [4.0 Regression] ICE: tree check: expected class 'declaration', have 'exceptional' (error_mark) in pushtag, at cp/name-lookup.c:4658

2005-03-16 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-16 14:14 --- Mainline is fixed. No error message is produced which is the correct behavior. Will recheck 4.0 branch. -- What|Removed |Added

[Bug c++/19948] [4.0 Regression] ICE: tree check: expected class 'declaration', have 'exceptional' (error_mark) in pushtag, at cp/name-lookup.c:4658

2005-03-16 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-16 16:05 --- Cannot reproduce it now on 4.0. I think it's already fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19948

[Bug c++/19948] [4.0 Regression] ICE: tree check: expected class 'declaration', have 'exceptional' (error_mark) in pushtag, at cp/name-lookup.c:4658

2005-03-16 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-16 16:09 --- ICE no longer reproducible. -- What|Removed |Added Status|ASSIGNED

[Bug c++/16995] [meta-bug] C++ friend injection

2005-03-16 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 16995 depends on bug 19948, which changed state. Bug 19948 Summary: [4.0 Regression] ICE: tree check: expected class 'declaration', have 'exceptional' (error_mark) in pushtag, at cp/name-lookup.c:4658 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19948 What|Old Value

[Bug c++/1016] [DR 166] friend class declarations not observing namespace rules.

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-14 14:40 --- Fixed in the mainline. -- What|Removed |Added Status|ASSIGNED

[Bug c++/4403] incorrect class becomes a friend in template

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 4403 depends on bug 1016, which changed state. Bug 1016 Summary: [DR 166] friend class declarations not observing namespace rules. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016 What|Old Value |New Value

[Bug c++/16995] [meta-bug] C++ friend injection

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 16995 depends on bug 1016, which changed state. Bug 1016 Summary: [DR 166] friend class declarations not observing namespace rules. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016 What|Old Value |New Value

[Bug c++/13830] Invalid covariant type for identical type, friend related

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 13830 depends on bug 1016, which changed state. Bug 1016 Summary: [DR 166] friend class declarations not observing namespace rules. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016 What|Old Value |New Value

[Bug c++/20234] ambiguity with friend name injection and using directive

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 20234 depends on bug 1016, which changed state. Bug 1016 Summary: [DR 166] friend class declarations not observing namespace rules. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016 What|Old Value |New Value

[Bug c++/19403] [4.0/4.1 Regression] name lookup is broken with friends

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 19403 depends on bug 1016, which changed state. Bug 1016 Summary: [DR 166] friend class declarations not observing namespace rules. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016 What|Old Value |New Value

[Bug other/17652] [meta-bug] GCC 4.1 pending patches

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 17652 depends on bug 1016, which changed state. Bug 1016 Summary: [DR 166] friend class declarations not observing namespace rules. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016 What|Old Value |New Value

[Bug c++/12944] [meta-bug] C++ name-lookup problems

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 12944 depends on bug 1016, which changed state. Bug 1016 Summary: [DR 166] friend class declarations not observing namespace rules. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016 What|Old Value |New Value

[Bug c++/19403] [4.0/4.1 Regression] name lookup is broken with friends

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-14 14:46 --- Fixed in the mainline. Won't fix in 4.0 branch since the GCC 3.4.x behavior is also wrong. The error message present in 4.0 is useful to point out that the code need to be updated because GCC 4.1

[Bug c++/16995] [meta-bug] C++ friend injection

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 16995 depends on bug 19403, which changed state. Bug 19403 Summary: [4.0/4.1 Regression] name lookup is broken with friends http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19403 What|Old Value |New Value

[Bug c++/4403] incorrect class becomes a friend in template

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-14 14:53 --- Fixed in the mainline. -- What|Removed |Added Status|ASSIGNED

[Bug c++/16995] [meta-bug] C++ friend injection

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 16995 depends on bug 4403, which changed state. Bug 4403 Summary: incorrect class becomes a friend in template http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403 What|Old Value |New Value

[Bug c++/9783] [DR433] Can't forward reference class in argument to templated method.

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 9783 depends on bug 4403, which changed state. Bug 4403 Summary: incorrect class becomes a friend in template http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403 What|Old Value |New Value

[Bug other/17652] [meta-bug] GCC 4.1 pending patches

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 17652 depends on bug 4403, which changed state. Bug 4403 Summary: incorrect class becomes a friend in template http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403 What|Old Value |New Value

[Bug c++/12944] [meta-bug] C++ name-lookup problems

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 12944 depends on bug 4403, which changed state. Bug 4403 Summary: incorrect class becomes a friend in template http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4403 What|Old Value |New Value

[Bug c++/12944] [meta-bug] C++ name-lookup problems

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- Bug 12944 depends on bug 9783, which changed state. Bug 9783 Summary: [DR433] Can't forward reference class in argument to templated method. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9783 What|Old Value |New Value

[Bug c++/9783] [DR433] Can't forward reference class in argument to templated method.

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-14 14:54 --- Fixed in the mainline. -- What|Removed |Added Status|ASSIGNED

[Bug c++/20234] ambiguity with friend name injection and using directive

2005-03-14 Thread lerdsuwa at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20234

[Bug c++/1016] [DR 166] friend class declarations not observing namespace rules.

2005-03-13 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-13 14:18 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01283.html It's the same as in attachment. I retested it and add the explanation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016

[Bug c++/19403] [4.0/4.1 Regression] name lookup is broken with friends

2005-03-13 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-13 14:21 --- The fix is the same as PR1016. GCC 3.4 and earlier compiles but doesn't have correct behavior. So this should not be treated as regression. -- What|Removed |Added

[Bug c++/19948] [4.0/4.1 Regression] ICE: tree check: expected class 'declaration', have 'exceptional' (error_mark) in pushtag, at cp/name-lookup.c:4658

2005-03-13 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-13 14:25 --- Look like caused by my changes to pushtag. -- What|Removed |Added AssignedTo

[Bug c++/4403] incorrect class becomes a friend in template

2005-03-13 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-13 16:47 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01294.html This is simply the patch in the attachment to this PR retested with explanation added. -- http://gcc.gnu.org/bugzilla

[Bug c++/9783] [DR433] Can't forward reference class in argument to templated method.

2005-03-13 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-13 16:48 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01294.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9783

[Bug c++/20240] [3.3/3.4/4.0/4.1 Regression] invalid using-redeclaration accepted

2005-03-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-12 12:40 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01208.html -- What|Removed |Added

[Bug c++/20333] [3.4/4.0/4.1 Regression] ICE on invalid code, typename outside of a template

2005-03-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-12 12:41 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01207.html -- What|Removed |Added

[Bug c++/20234] ambiguity with friend name injection and using directive

2005-03-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-12 15:13 --- The patch that fixes this bug is the same as the one in PR1016. Closing it as a duplicate. *** This bug has been marked as a duplicate of 1016 *** -- What|Removed

[Bug c++/1016] [DR 166] friend class declarations not observing namespace rules.

2005-03-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-12 15:13 --- *** Bug 20234 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/20333] [3.4/4.0/4.1 Regression] ICE on invalid code, typename outside of a template

2005-03-11 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-11 16:19 --- Got it. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lerdsuwa

[Bug c++/20293] [3.4/4.0/4.1 regression] Wrong diagnostic for ambiguous access

2005-03-11 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-11 16:27 --- The diagnostic is missing due to calling lookup_name_real inside cp_parser_lookup_name without the LOOKUP_COMPLAIN flag. Too bad we cannot just add this flag because this will cause duplicate error

[Bug c++/20420] Incorrectly Accepts double declarations

2005-03-11 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-12 06:18 --- It's xref_tag/push_tag bug. -- What|Removed |Added AssignedTo|unassigned at gcc

[Bug c++/20240] [3.3/3.4/4.0/4.1 Regression] invalid using-redeclaration accepted

2005-03-11 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-12 06:21 --- Patch in progress. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu

[Bug c++/20381] [4.0/4.1 Regression] ICE in build_ptrmemfunc, at cp/typeck.c:5702

2005-03-10 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-10 15:11 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01028.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20381

[Bug c++/20381] [4.0/4.1 Regression] ICE in build_ptrmemfunc, at cp/typeck.c:5702

2005-03-09 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-09 11:35 --- Looking at it. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu

[Bug c++/20358] Data member of local class of friend function of template class considered a member template

2005-03-07 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-07 14:24 --- Yes, this is a bug in GCC 3.3.x and earlier versions. Bug fixes to GCC 3.3.x branch is now limited to certain regression. So this bug will not be fixed there. The latest released branch, GCC 3.4.x, does

[Bug c++/20357] Multiply defined assembler symbols for template instantiations

2005-03-07 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-07 14:29 --- Confirm as a bug. It's still present in the mainline. -- What|Removed |Added

[Bug c++/19311] [3.4/4.0 Regression] ICE in resolve_overloaded_unification

2005-03-06 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-06 17:16 --- Fixed in 3.4 and 4.0 branches. -- What|Removed |Added Status|ASSIGNED

[Bug c++/19311] [3.4/4.0 Regression] ICE in resolve_overloaded_unification

2005-03-05 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-05 15:46 --- Fixed in the mainline. Other branches are being tested and will be fixed once I finish retesting the patch. -- What|Removed |Added

[Bug c++/20234] ambiguity with friend name injection and using directive

2005-03-03 Thread lerdsuwa at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00

[Bug c++/20234] ambiguity with friend name injection and using directive

2005-03-03 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-03-03 16:28 --- I think NS::C should remain hidden so the declaration: C c; should be OK. -- What|Removed |Added

[Bug c++/19948] [4.0/4.1 Regression] ICE: tree check: expected class 'declaration', have 'exceptional' (error_mark) in pushtag, at cp/name-lookup.c:4658

2005-02-27 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-02-28 06:22 --- If you want a work around, simply use this in the first 'friend' declaration: friend class util::persistent_object_manager; There is still uncertainty about whether name from 'using' declaration

[Bug c++/19735] Grammar error in error message.

2005-02-17 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-02-17 16:12 --- Fixed in the mainline by: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg02230.html -- What|Removed |Added

[Bug c++/19487] [3.3 Regression] map with a class template + method template fails to compile.

2005-02-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-02-12 16:32 --- Fixed in 3.4/4.0. -- What|Removed |Added Keywords|patch

[Bug c++/14479] enum definition in template class with template methods causes error.

2005-02-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-02-12 16:33 --- Fixed in 3.4/4.0. -- What|Removed |Added Status|ASSIGNED

[Bug c++/19487] [3.3 Regression] map with a class template + method template fails to compile.

2005-02-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-02-12 16:34 --- Probably won't fixed in 3.3. -- What|Removed |Added AssignedTo|lerdsuwa at gcc dot

[Bug c++/19569] no code for explicit instantiation of template class specialization

2005-01-24 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-24 14:27 --- There is a defect report DR259 about this issue: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#259 According to the DR, the original standard mentions that the instantiation: template

[Bug c++/14479] enum definition in template class with template methods causes error.

2005-01-21 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-21 16:03 --- Patch for 3.4 and 4.0 submitted: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01491.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14479

[Bug c++/19487] [3.3/3.4/4.0 Regression] map with a class template + method template fails to compile.

2005-01-21 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-21 16:04 --- Patch for 3.4 and 4.0 submitted: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01491.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19487

[Bug c++/19555] [4.0 Regression] specialized in the wrong namespace causes an ICE

2005-01-21 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-21 16:25 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/19258] [3.4 Regression] Incorrect access check for default argument

2005-01-19 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-19 14:47 --- Fixed in 3.4 branch. -- What|Removed |Added Status|ASSIGNED

[Bug c++/19375] [3.4/4.0 Regression] Access violation diagnostic given twice

2005-01-19 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-19 14:51 --- Fixed in 3.4 branch and mainline. -- What|Removed |Added Status|ASSIGNED

[Bug c++/19258] [3.4 Regression] Incorrect access check for default argument

2005-01-18 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-18 14:40 --- Patch for 3.4 here: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01120.html -- What|Removed |Added

[Bug c++/19487] [3.3/3.4/4.0 Regression] map with a class template + method template fails to compile.

2005-01-18 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-18 15:21 --- Related to PR14479. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu

[Bug c++/19375] [3.4/4.0 Regression] Access violation diagnostic given twice

2005-01-17 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-17 14:35 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01006.html -- What|Removed |Added

[Bug c++/19311] [3.4/4.0 Regression] ICE in resolve_overloaded_unification

2005-01-17 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-17 14:37 --- Patch submitted that fixes the ICE: http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01007.html Queuing access checking until instantiation time will be addressed in 4.1. That issue has already been

[Bug c++/19311] [3.4/4.0 Regression] ICE in resolve_overloaded_unification

2005-01-17 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-17 16:19 --- (In reply to comment #9) Why a new tree node? We are moving away from using trees also for container- type data structures. You can write a normal structure with the node that must be access-checked

[Bug c++/19403] [4.0 Regression] name lookup is broken with friends

2005-01-13 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-13 14:52 --- So B's ctor uses the global A without the friend declaration and with the friend declaration the local injected A? Sometimes the holy standard confuses me a bit. No. With or without friend

[Bug c++/14513] Friend name injection problem (implicit declaration)

2005-01-13 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-13 14:55 --- It is already described in changes.html: When declaring a friend class using an unqualified name, classes outside the innermost non-class scope are not searched ... -- http://gcc.gnu.org/bugzilla

[Bug c++/19377] Using declaration in private part causes protected diagnostic

2005-01-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-12 10:46 --- The bug is simply incorrect error message logic. The 'protected' comes from the point that 'A::i' is declared, not the actual access computed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377

[Bug c++/19311] [3.4/4.0 Regression] ICE in resolve_overloaded_unification

2005-01-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-12 10:49 --- Patch in progress. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19311

[Bug c++/16617] Fail to do access checking correctly for non-dependent qualified-id

2005-01-12 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-12 10:50 --- May be fixed together with PR19311. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16617

  1   2   3   >