[Bug c++/38206] g++ crashes when compiling trivial code (~10 line test case)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 21 01:27:00 GMT 2008



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-11-21 01:26 -------
This errors out in 4.3.2 and above:
t.cc: In function 'bar makeBar()':
t.cc:12: error: no matching function for call to 'bar::bar(bar)'
t.cc:8: note: candidates are: bar::bar(bar&)
t.cc:7: note:                 bar::bar(const foo&)
t.cc:12: error:   initializing argument 1 of 'foo::foo(T) [with T = bar]'


-- 


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



More information about the Gcc-bugs mailing list