http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10416
Paolo Carlini changed:
What|Removed |Added
CC||bisqwit at iki dot fi
--- Comme
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10416
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10416
--- Comment #12 from paolo at gcc dot gnu.org
2012-08-20 17:39:00 UTC ---
Author: paolo
Date: Mon Aug 20 17:38:53 2012
New Revision: 190538
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190538
Log:
/cp
2012-08-20 Paolo Carlini
PR
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10416
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|gcc-bugs at g
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-01-23 22:23
---
(In reply to comment #9)
> Of course, the compiler (more precisely the middle-end) knows that the
> destructor has a side-effect. But GCC middle-end tends to have little
> knowledge of language specific idioms. N
--- Comment #9 from gdr at gcc dot gnu dot org 2006-01-22 10:44 ---
(In reply to comment #0)
> Sometimes a variable is created only for the side-effects of its
> constructor/destructor. For example, in the following code:
>
> struct Closer { ~Closer() { CloseClipboard(); } } closer;
>
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-12-23 00:57 ---
*** Bug 25541 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--
What|Removed |Added
Keywords|missed-optimization |diagnostic
Last reconfirmed|2005-05-16 02:30:28 |2005-09-07 17:43:18
date|