[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

anthony.brandon at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 26 23:57:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808

Anthony Brandon <anthony.brandon at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36706|0                           |1
        is obsolete|                            |

--- Comment #29 from Anthony Brandon <anthony.brandon at gmail dot com> ---
Created attachment 36851
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36851&action=edit
Updated patch for PR19808.

I updated my patch to include a testcase, and I also fixed the case for
anonymous unions.
Things not working right (as far as i know) in this patch yet are:
* references
* pointers
* multiple uninitialized values being used to initialize a single field. (I'm
also not sure how to test for this in the testsuite)


More information about the Gcc-bugs mailing list