c++/3361: [2003-01-02] g++: Internal error: Segmentation Fault (program cc1plus)

Giovanni Bajo giovannibajo@libero.it
Mon Apr 14 04:11:00 GMT 2003


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=3361

Reduced code is:

---------------------------
namespace A {};

namespace B {
    using namespace A;
}

namespace A {
    using namespace B;
}

int main()
{
    using namespace A;
}
---------------------------
pr3361.cpp: In function `int main()':
pr3361.cpp:14: internal error: Segmentation fault

Regression on the 3.2 branch with respect with 2.95, but fixed on 3.3 and
mainline (3.4).
I'm _sure_ it's a duplicate, but I couldn't find the other PR. Anyway, I
guess it's should be closed.

Giovanni Bajo



More information about the Gcc-bugs mailing list