https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93018
--- Comment #1 from John Drouhard <john at drouhard dot dev> --- I forgot to mention that changing the optimization level to -O3 appears to "fix" baz2, and it correctly zero-initializes the empty struct in the union.