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++/15528] segmentation fault with invalid code


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-19 04:42 -------
Here is what ICC 6.0 says:
test.cc
test.cc(3): error: recursive instantiation of default argument
    A(const A<T>& = A<T>()){}
                         ^
          detected during instantiation of "A<T>::A(const A<T> &) [with T=int]" at line 7

compilation aborted for test.cc (code 2)

-- 


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


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