This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17065] New: GCC needs very much mem and is very slow


to compile this code: 
 
 
struct Foo 
{ 
    Foo() 
        : goo() 
    { 
    } 
 
    char goo[1<<22]; 
}; 
 
int main() 
{ 
    return 0; 
} 
 
 
For smaller sizes or without the member initialization of goo it compiles as 
usual. This also happens with GCC 3.3. 
 
 
André

-- 
           Summary: GCC needs very much mem and is very slow
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Woebbeking at web dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17065


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]