https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105109
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:97ad0b831386e56ecb125a25fff00b2cb0b1a2b9 commit r12-7934-g97ad0b831386e56ecb125a25fff00b2cb0b1a2b9 Author: Richard Biener <rguent...@suse.de> Date: Thu Mar 31 09:21:27 2022 +0200 tree-optimization/105109 - bogus uninit diagnostic with _Complex When update_address_taken rewrites a _Complex into SSA it changes stores to real/imaginary parts to loads of the other component and a COMPLEX_EXPR. That matches what gimplification does but it misses suppression of diagnostics for the load of the other component. The following patch adds that, syncing up gimplification and update_address_taken behavior. 2022-03-31 Richard Biener <rguent...@suse.de> PR tree-optimization/105109 * tree-ssa.cc (execute_update_addresses_taken): Suppress diagnostics on the load of the other complex component. * gcc.dg/uninit-pr105109.c: New testcase.