[Bug c++/44320] ADL names are looked up in namespaces that are only referenced by template arguments

2010-05-29 Thread sstrasser at systemhaus-gruppe dot de
--- Comment #1 from sstrasser at systemhaus-gruppe dot de 2010-05-29 07:45 --- a workaround (other than renaming the ADL function) would be appreciated -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44320

[Bug c++/44320] New: ADL names are looked up in namespaces that are only referenced by template arguments

2010-05-29 Thread sstrasser at systemhaus-gruppe dot de
referenced by template arguments Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-grupp

[Bug libstdc++/41975] unordered_set::erase performs worse when nearly empty

2009-11-28 Thread sstrasser at systemhaus-gruppe dot de
--- Comment #9 from sstrasser at systemhaus-gruppe dot de 2009-11-29 02:29 --- (In reply to comment #7) > An implementation is probably expected to shrink bucket_count when size > shrinks, so the complexity should still be O(size). That would be good > for memory use anyway,

[Bug c++/42071] New: ICE on trying to use a typedef as a nested class

2009-11-16 Thread sstrasser at systemhaus-gruppe dot de
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42071

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

2005-05-15 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-05-15 16:17 --- (In reply to comment #9) > only if it may be needed there in the future. Perhaps a solution would be > adding every name there when -fdump-translation-unit is given (at the expense of > s

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

2005-05-13 Thread sstrasser at systemhaus-gruppe dot de
iority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21555

[Bug c++/21425] New: typeof with parens rejected

2005-05-06 Thread sstrasser at systemhaus-gruppe dot de
ion: 4.0.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/sh

[Bug c++/21087] ICE in do_nonmember_using_decl

2005-04-18 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-18 14:51 --- Created an attachment (id=8676) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8676&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21087

[Bug c++/21087] New: ICE in do_nonmember_using_decl

2005-04-18 Thread sstrasser at systemhaus-gruppe dot de
Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org

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

2005-04-18 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-18 12:08 --- fixed -- What|Removed |Added Status|NEW

[Bug c++/21084] parse error on valid dependent default argument

2005-04-18 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-18 12:04 --- here's another, simpler, testcase: template< typename T1,typename T2> class A; //it works with only 1 parameter class B{ template void hoh(typename A::depname a=A::depname()); }; I

[Bug c++/21084] New: parse error on valid dependent default argument

2005-04-18 Thread sstrasser at systemhaus-gruppe dot de
org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21084

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

2005-04-09 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-09 11:00 --- any reason why this bug is still NEW? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20240

[Bug c++/20173] [3.3/3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function

2005-04-09 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-09 10:59 --- is still accepted by 4.0 although 20157 is fixed now -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173

[Bug c++/20734] [4.0/4.1 Regression] rejects valid pointer to member

2005-04-05 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-06 06:28 --- the file which has led to the test case above compiles ok, too -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20734

[Bug c++/20733] compile time/memory usage regression 3.4 => 4.0

2005-04-02 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-03 00:59 --- it's actually a performance _improvement_ between 3.4 and current 4.0 branch: gcc-Version 3.4.4 20041218 (prerelease) (Debian 3.4.3-6) user0m57.250s sys 0m1.050s gcc-Version 4.0.0 200

[Bug c++/20734] New: rejects valid pointer to member

2005-04-02 Thread sstrasser at systemhaus-gruppe dot de
and comeau -- Summary: rejects valid pointer to member Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P1 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org Repor

[Bug c++/20733] compile time/memory usage regression 3.4 => 4.0

2005-04-02 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-02 23:15 --- fergot gcc arguments: -O0 -S comment #2: I'm downloading mainline to fix this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20733

[Bug c++/20733] compile time/memory usage regression 3.4 => 4.0

2005-04-02 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-04-02 23:05 --- Created an attachment (id=8520) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8520&action=view) Preprocessed source preprocessed with gcc 3.4(could matter because of boost) --

[Bug c++/20733] New: performance regression 3.4 => 4.0

2005-04-02 Thread sstrasser at systemhaus-gruppe dot de
ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20733

[Bug c++/20691] New: accept-invalid template template argument

2005-03-30 Thread sstrasser at systemhaus-gruppe dot de
27; template >template argument has only one argument itself. > > -- Summary: accept-invalid template template argument Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c+

[Bug c++/20658] New: warning on minimum integer values

2005-03-27 Thread sstrasser at systemhaus-gruppe dot de
signedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20658

[Bug c++/20207] null constructor not needed in multiple inheritance

2005-02-28 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-03-01 05:38 --- it is invalid to use A0 in the base constructor list of D, because A0 is not a virtual base for D. .it doesn't matter that the inheritance A->A0 is declared virtual, 2 trees which both in

[Bug c++/20240] New: invalid using-redeclaration accepted

2005-02-27 Thread sstrasser at systemhaus-gruppe dot de
nedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20240

[Bug c++/20157] [4.0 Regression] Internal compiler error on invalid code

2005-02-24 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-02-24 14:24 --- (In reply to comment #2) I think it is a minor regression. 3.3/3.4 treats the code correctly if the specialization(unlike above) is a definition. 4.0 does not. no regression with exactly

[Bug c++/20174] New: rejects valid partial template function specialization

2005-02-23 Thread sstrasser at systemhaus-gruppe dot de
ortedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20174

[Bug c++/20173] Wrong template function specialization chosen

2005-02-23 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-02-23 17:19 --- Comeau C++ thinks this code is invalid. If it's right, this bug might be related to #20157 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173

[Bug c++/20173] Wrong template function specialization chosen

2005-02-23 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-02-23 17:16 --- Created an attachment (id=8266) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8266&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173

[Bug c++/20173] New: Wrong template function specialization chosen

2005-02-23 Thread sstrasser at systemhaus-gruppe dot de
ed at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173

[Bug c++/20157] New: Internal compiler error on invalid code

2005-02-22 Thread sstrasser at systemhaus-gruppe dot de
at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20157

[Bug c++/19809] New: Multiple definitions of friend functions in template classes

2005-02-07 Thread sstrasser at systemhaus-gruppe dot de
Summary: Multiple definitions of friend functions in template classes Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org

[Bug c++/19772] crash on invalid template friend decl

2005-02-02 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-02-03 03:39 --- one additional note, I wrote above that the code works with the commented code. it only does on 3.3.5, not on the other 2 versions: error: no type named `B' in `class A' it even crashe

[Bug c++/19772] New: crash on invalid template friend decl

2005-02-02 Thread sstrasser at systemhaus-gruppe dot de
oduct: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot

[Bug c++/19474] wrong linkage of extern "C" variables

2005-01-30 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-01-31 07:52 --- Created an attachment (id=8111) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8111&action=view) reference to a in c.c shouldn't be undefined -- http://gcc.gnu.org/bugzilla/sho

[Bug c++/19474] wrong linkage of extern "C" variables

2005-01-30 Thread sstrasser at systemhaus-gruppe dot de
-- What|Removed |Added Summary|wrong tree for extern "C" |wrong linkage of extern "C" |variables |variables http://gcc.gnu.org/bugz

[Bug c++/19474] wrong tree for extern "C" variables

2005-01-30 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-01-31 07:48 --- I think I was wrong, this is a bug _and_ has effects on compilation: in example2(see above) int a is not extern "C" in the tree, AND it is C++ mangled in compiler output! std 7.5.7 sta

[Bug c++/19474] wrong tree for extern "C" variables

2005-01-16 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2005-01-16 23:55 --- I totally agree that this is not important. I just don't know gcc good enough to forecast the possible effects of that minor bug so I thought it'd be interesting. please close the bug

[Bug c++/19474] New: wrong tree for extern "C" variables

2005-01-16 Thread sstrasser at systemhaus-gruppe dot de
: 4.0.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19474

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

2004-12-19 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2004-12-20 03:42 --- ok, I took a closer look at this. we all agree that type_decls(even c++ implicit ones) should be in cp_binding_level::names, don't we? decls get added to this list by name-lookup.c add_decl_to_

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

2004-12-18 Thread sstrasser at systemhaus-gruppe dot de
-- What|Removed |Added Summary|cp_binding_level|cp_binding_level::names not ||returning all decls http://gcc.gn

[Bug c++/19073] cp_binding_level

2004-12-18 Thread sstrasser at systemhaus-gruppe dot de
-- What|Removed |Added Summary|cp_binding_level::names not |cp_binding_level |returning all decls | http://gcc.gnu.org/bugzilla/show_bug.cgi?id

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

2004-12-18 Thread sstrasser at systemhaus-gruppe dot de
-- What|Removed |Added Summary|cp_namespace_decl not |cp_binding_level::names not |returning all decls |returning all decls http://gcc.gn

[Bug c++/19073] cp_namespace_decl not returning all decls

2004-12-18 Thread sstrasser at systemhaus-gruppe dot de
--- Additional Comments From sstrasser at systemhaus-gruppe dot de 2004-12-19 01:04 --- > The struct cp_binding_level contains all the decls. that seems to be the same thing. cp_namespace_decls uses NAMESPACE_LEVEL macro which brings you to a cp_binding_level structure. maybe

[Bug c++/19073] New: cp_namespace_decl not returning all decls

2004-12-18 Thread sstrasser at systemhaus-gruppe dot de
P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sstrasser at systemhaus-gruppe dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19073