This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++ code generation bug
- To: bryan at fsel dot com
- Subject: Re: c++ code generation bug
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Mon, 13 Mar 2000 09:05:02 +0100
- CC: egcs-bugs at egcs dot cygnus dot com, bryan at fsel dot com
- References: <199905181433.PAA21787@callisto.fsel.com>
> With optimisation (-O or -O2) destructors can be run for temporaries
> in conditional expressions, even when the temporary `belongs' to the
> other branch of the conditional and has not been constructed.
Thanks for your bug report. gcc-2.95.2 compiles your code correctly.
Regards,
Martin