[Bug d/96989] SSA_NAMEs in Wuninitialized warning messages after r11-959

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 9 17:11:05 GMT 2020


--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
The MEM_REF formatting done by the C and C++ pretty-printers is very basic and
doesn't always result in useful output (usually in the most interesting cases).

I posted a patch some time ago to improve it for C++ (as part of fix for an ICE
reported in pr95768):

Richi had some concerns with it but I think it's a significant improvement
despite them.  I plan to extend the C++-only patch to C and post it again at
some point when I'm done with stage 1 work.  If it's approved it should be
straightforward to use the same approach in the D front end (in fact, all front
ends should share the same code for this).

More information about the Gcc-bugs mailing list