[Bug c++/101163] slow compilation for huge classes (>20k members functions)

2021-06-24 Thread rbuergel at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101163 --- Comment #5 from René Bürgel --- Do I get that right, that this procedure is done for *every* member when adding it? So, this would make it basically quadratic...

[Bug c++/101164] slow compilation for huge classes (>200k member variables)

2021-06-22 Thread rbuergel at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101164 --- Comment #5 from René Bürgel --- Thanks for the explanations

[Bug c++/101164] slow compilation for huge classes (>200k member variables)

2021-06-22 Thread rbuergel at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101164 --- Comment #2 from René Bürgel --- it might be worth taking a look how the C frontend handles it and why this issue doesn't exist there? Just guessing...

[Bug c++/101164] New: slow compilation for huge classes (>200k member variables)

2021-06-22 Thread rbuergel at web dot de via Gcc-bugs
mal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rbuergel at web dot de Target Milestone: --- Created attachment 51049 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51049&action=edit clean example similar to bug #101163,

[Bug c++/101163] slow compilation for huge classes (>20k members)

2021-06-22 Thread rbuergel at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101163 --- Comment #1 from René Bürgel --- -ftime-report for trunk-gcc says: Time variable usr sys wall GGC phase setup: 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%)

[Bug c++/101163] New: slow compilation for huge classes (>20k members)

2021-06-22 Thread rbuergel at web dot de via Gcc-bugs
P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rbuergel at web dot de Target Milestone: --- Created attachment 51047 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51047&action=edit clean example Hi, we have a real-world-use-case using a class

[Bug c++/38064] [c++0x] operator== doesn't work for enum classes

2008-11-08 Thread rbuergel at web dot de
--- Comment #2 from rbuergel at web dot de 2008-11-09 04:22 --- ok, even for the case i misunderstood the proposal: there are still some problems with it, making it unuseable. enum class E { elem }; inline bool operator== (E c1, E c2) { return (int) c1 == (int) c2; } int main

[Bug c++/38064] [c++0x] operator== doesn't work for enum classes

2008-11-08 Thread rbuergel at web dot de
--- Comment #1 from rbuergel at web dot de 2008-11-09 04:11 --- extended testcase, this fails for other operators, too enum class E { elem }; int main() { E::elem == E::elem; E::elem != E::elem; E::elem < E::elem; E::elem <= E::elem; E

[Bug c++/38064] New: [c++0x] operator== doesn't work for enum classes

2008-11-08 Thread rbuergel at web dot de
Summary: [c++0x] operator== doesn't work for enum classes Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code for powerpc

2008-09-17 Thread rbuergel at web dot de
--- Comment #5 from rbuergel at web dot de 2008-09-17 18:57 --- Too bad for newbies to ppc asm. :) But thank you for your explanations -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37562

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code for powerpc

2008-09-17 Thread rbuergel at web dot de
--- Comment #3 from rbuergel at web dot de 2008-09-17 18:46 --- > The second constraint should be using "b" instead of "r" as b says > don't use r0. Is this documented anywhere? The gcc manual says "r" means "any general purpose regist

[Bug inline-asm/37562] [4.2] -funroll-loops destroys inline asm code von powerpc

2008-09-17 Thread rbuergel at web dot de
--- Comment #1 from rbuergel at web dot de 2008-09-17 15:44 --- oops, i forgot to mention my command line to compile it: powerpc-linux-g++ -O3 -funroll-loops -c -o GetBytes2.o GetBytes2.cpp using -O3 is important for reproducing this error -- http://gcc.gnu.org/bugzilla

[Bug inline-asm/37562] New: [4.2] -funroll-loops destroys inline asm code von powerpc

2008-09-17 Thread rbuergel at web dot de
ion: 4.2.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37562

[Bug c++/36805] New: compilation fails when pointer to template-functions are returned by ?-operator

2008-07-11 Thread rbuergel at web dot de
ion: 4.2.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36805

[Bug c/36693] New: missed optimization for pointer access with offset on powerpc

2008-07-02 Thread rbuergel at web dot de
y: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: powerpc-linux-uclibc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36693

[Bug pch/36649] New: [4.3 Regression] -H option doesn't work as expected

2008-06-27 Thread rbuergel at web dot de
Status: UNCONFIRMED Severity: normal Priority: P3 Component: pch AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36649

[Bug c++/34219] gcc doesn't accept const members of variadic templates as const (regression)

2008-01-29 Thread rbuergel at web dot de
--- Comment #5 from rbuergel at web dot de 2008-01-29 10:17 --- for #3, using static_assert( Comp::value > 0, "" ); makes it work. using max for #1 leads gcc to an error: "cannot expand 'Params ...' into a fixed-length argument list" updat

[Bug c++/34996] New: Base class of explicitly instantiated class doesn't get instantiated

2008-01-28 Thread rbuergel at web dot de
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34996

[Bug c++/34877] New: Invalid conversion in lookup of variadic template

2008-01-19 Thread rbuergel at web dot de
us: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34877

[Bug c++/34219] gcc doesn't accept const members of variadic templates as const

2008-01-19 Thread rbuergel at web dot de
--- Comment #3 from rbuergel at web dot de 2008-01-19 22:38 --- another testcase: template class Comp, typename... T> void f( T... Value) { static_assert( Comp::value > 0, "" ); } template struct Foo { static const int value=1; }; int main(

[Bug c++/34541] ICE in template specialization using a typedef to an anonymous enum

2007-12-20 Thread rbuergel at web dot de
--- Comment #1 from rbuergel at web dot de 2007-12-20 22:47 --- gcc version 4.3.0 20071213 (experimental) (GCC) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34541

[Bug c++/34541] New: ICE in template specialization using a typedef to an anonymous enum

2007-12-20 Thread rbuergel at web dot de
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34541

[Bug libstdc++/34538] [DR 697] combination of sstream, invalid_argument and -std=c++0x breaks valid code

2007-12-20 Thread rbuergel at web dot de
--- Comment #2 from rbuergel at web dot de 2007-12-20 18:30 --- (In reply to comment #1) > This is a known issue: > > http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#697 > Ooops. I only looked in the gcc bug database. Probably i should expand my research bef

[Bug libstdc++/34538] New: combination of sstream, invalid_argument and -std=c++0x breaks valid code

2007-12-20 Thread rbuergel at web dot de
d_argument and -std=c++0x breaks valid code Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbue

[Bug c++/34531] local typedef conflicts with global definition of a type having the same name

2007-12-19 Thread rbuergel at web dot de
--- Comment #3 from rbuergel at web dot de 2007-12-19 18:50 --- If the error is correct, then at least the error message is confusing. It complains that Y::X redeclares ::X, although the real cause of the error is, that it may not be clear to that compiler what X refers to -- http

[Bug c++/34531] local typedef conflicts with global definition of a type having the same name

2007-12-19 Thread rbuergel at web dot de
--- Comment #1 from rbuergel at web dot de 2007-12-19 16:55 --- It fails only on 4.3.0: gcc version 4.3.0 20071214 (experimental) (GCC) -- rbuergel at web dot de changed: What|Removed |Added

[Bug c++/34531] New: local typedef conflicts with global definition of a type having the same name

2007-12-19 Thread rbuergel at web dot de
Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34531

[Bug c++/34383] New: [4.3] ICE on Usage of default function template argument

2007-12-07 Thread rbuergel at web dot de
ction template argument Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34383

[Bug c++/34364] New: [4.1/4.2/4.3] class& is not known as as a class-type anymore after dynamic_cast

2007-12-06 Thread rbuergel at web dot de
ity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34364

[Bug c++/34340] New: [4.3] Compile Error about undefined symbol using -frepo

2007-12-04 Thread rbuergel at web dot de
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34340

[Bug c++/34309] template variable not getting marked as weak when defined in pch

2007-12-01 Thread rbuergel at web dot de
--- Comment #1 from rbuergel at web dot de 2007-12-01 16:15 --- I forgot to mention, that gcc works correctly, if the header is not precompiled. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34309

[Bug c++/34309] New: template variable not getting marked as weak when defined in pch

2007-12-01 Thread rbuergel at web dot de
ity: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34309

[Bug c++/34219] New: [4.3] gcc doesn't accept const members of variadic templates as const

2007-11-24 Thread rbuergel at web dot de
uct: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34219

[Bug c++/34178] New: Compilation using -frepo fails

2007-11-21 Thread rbuergel at web dot de
but not initialized. -- Summary: Compilation using -frepo fails Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbuergel at web dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34178