This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/7247: copy constructor missing when inlining enabled for i386
- From: nathan at gcc dot gnu dot org
- To: gawrilow at math dot tu-berlin dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 9 Jul 2002 19:07:06 -0000
- Subject: Re: optimization/7247: copy constructor missing when inlining enabled for i386
- Reply-to: nathan at gcc dot gnu dot org, gawrilow at math dot tu-berlin dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: copy constructor missing when inlining enabled for i386
State-Changed-From-To: open->feedback
State-Changed-By: nathan
State-Changed-When: Tue Jul 9 12:07:05 2002
State-Changed-Why:
If I understand you correctly, you are complaining that
a copy ctor call is being optimized away.
This is allowed, under [12.8]/15, even if the copy ctor
has side-effects
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7247