[Bug c++/40146] Unexplained "'<anonymous>' is used uninitialized in this function" warning

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 10 18:19:00 GMT 2009



------- Comment #8 from pinskia at gcc dot gnu dot org  2009-09-10 18:18 -------
(In reply to comment #7)
>   # VUSE <D.10497_132(D)>
>   # aInstCtor_134 = VDEF <aInstCtor_133(D)>
>   aInstCtor = D.10497;
>   # VUSE <D.10496_135(D)>
>   # aDataCtor_137 = VDEF <aDataCtor_136(D)>
>   aDataCtor = D.10496;
>   # VUSE <m_pInstance_138(D)>
>   p_4 = m_pInstance;


  struct StaticInstanceWithInit D.10497;

Where StaticInstanceWithInit is an empty class except for a member function .

This should have been fixed by
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38908 but was not.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic


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



More information about the Gcc-bugs mailing list