This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: syntax error not detected
- To: hempel at zib dot de
- Subject: Re: syntax error not detected
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Fri, 9 Jun 2000 00:06:20 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <14655.25229.860257.8461@hermesbaby.zib.de>
> here is an "illegal" c++-program, which does not cause any warning
> or compilation error.
Thanks for your bug report. This is not a bug in the compiler; the
code is well-formed, but has undefined behaviour - a is initialized
with itself, without having been constructed before.
If you question this analysis, please discuss it in one of the public
C++ fora first, eg. comp.lang.c++.moderated, or comp.std.c++.
Regards,
Martin