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++/13349] New: [3.3 regression] Infinite memory usage for invalid code


The following invalid code snippet triggers an infinite loop in gcc 3.3.x:

======================================
namespace A {}
namespace B { using namespace A; }
namespace A { using namespace B; }

A::X x;
======================================

Previous versions and mainline issue a correct error message.

This is a redux of the second bug in PR 11282.

-- 
           Summary: [3.3 regression] Infinite memory usage for invalid code
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,ghost at cs dot msu dot
                    su


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


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