[Bug tree-optimization/79345] [6/7 Regression] passing yet-uninitialized member as argument to base class constructor should warn (-Wunitialized)

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 21 11:29:00 GMT 2017


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

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
actually the genemit fix doensn't fully work:

/space/rguenther/src/svn/trunk/gcc/config/i386/i386.md: In function ‘rtx_def*
gen_smulsi3_highpart(rtx, rtx, rtx)’:
/space/rguenther/src/svn/trunk/gcc/config/i386/i386.md:7380:26: error:
‘operands[3]’ is used uninitialized in this function [-Werror=uninitialized]
        (any_extend:TI
                ~~~~~~    ^
/space/rguenther/src/svn/trunk/gcc/config/i386/i386.md: In function ‘rtx_def*
gen_umulsi3_highpart(rtx, rtx, rtx)’:
/space/rguenther/src/svn/trunk/gcc/config/i386/i386.md:7380:26: error:
‘operands[3]’ is used uninitialized in this function [-Werror=uninitialized]
        (any_extend:TI
                ~~~~~~    ^
...

bah.


More information about the Gcc-bugs mailing list