This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2005 10:05:17 -0000
- Subject: [Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class
- References: <20020102075601.5247.schmid@snake.iap.physik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-29 10:05 -------
EDG manages to produce
pr5247.C(2): error: no suitable constructor exists to convert from "int" to "a"
a (int, const a & = 0) { }
^
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247