public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37949] static initialisation through pointer deferred until run time
       [not found] <bug-37949-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-10 18:20 ` hubicka at gcc dot gnu.org
  2012-01-05  1:05 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 4+ messages in thread
From: hubicka at gcc dot gnu.org @ 2010-11-10 18:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37949

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-11-10 18:19:48 UTC ---
We can remove static constructors now (and optimize away unused ones). Still we
won't do the transformation that might be interesting for C++ indeed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/37949] static initialisation through pointer deferred until run time
       [not found] <bug-37949-4@http.gcc.gnu.org/bugzilla/>
  2010-11-10 18:20 ` [Bug c++/37949] static initialisation through pointer deferred until run time hubicka at gcc dot gnu.org
@ 2012-01-05  1:05 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-01-05  1:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37949

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|gcc-bugs at gcc dot gnu.org |

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-01-05 01:05:04 UTC ---
Honza, is there any progress on this?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/37949] static initialisation through pointer deferred until run time
  2008-10-29 10:27 [Bug c++/37949] New: " ajrobb at bigfoot dot com
  2009-04-16 22:05 ` [Bug c++/37949] " pinskia at gcc dot gnu dot org
@ 2009-04-17  9:18 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-17  9:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-04-17 09:18 -------
This would be "inlining" of static-initialization-and-destruction functions
if they get optimized to return a constant initializer.

It's not easy to do as they cannot be easily removed late in the compilation.

Of course this particular simple case can be handled by folding.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37949


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/37949] static initialisation through pointer deferred until run time
  2008-10-29 10:27 [Bug c++/37949] New: " ajrobb at bigfoot dot com
@ 2009-04-16 22:05 ` pinskia at gcc dot gnu dot org
  2009-04-17  9:18 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-16 22:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-04-16 22:05 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-16 22:05:29
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37949


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-05  1:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37949-4@http.gcc.gnu.org/bugzilla/>
2010-11-10 18:20 ` [Bug c++/37949] static initialisation through pointer deferred until run time hubicka at gcc dot gnu.org
2012-01-05  1:05 ` paolo.carlini at oracle dot com
2008-10-29 10:27 [Bug c++/37949] New: " ajrobb at bigfoot dot com
2009-04-16 22:05 ` [Bug c++/37949] " pinskia at gcc dot gnu dot org
2009-04-17  9:18 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).