------- Comment #11 from pluto at agmk dot net  2007-04-30 15:29 -------
--- 30252.cpp.099t.optimized.aliasing-OFF
+++ 30252.cpp.099t.optimized.aliasing-ON

 sigc::slot0 A::bar() (this)
 {
(...)
+  void * (*<T5b7>) (void *) SR.114;
(...)
+  this->functor_.D.2915.functor_.functor_.func_ptr_ = SR.114;
   this->functor_.bound1_.visited_ = &dummy;
-  this->functor_.D.2915.functor_.functor_.func_ptr_ = foo;
(...)

with strict aliasing the func_ptr_ is initialized with uninitialized
pointer (SR.114) instead of `foo'.


-- 


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

Reply via email to