https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94774
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org>: https://gcc.gnu.org/g:1657178f59bf0c5b269a668bcdcc432fac3bbdd0 commit r10-8050-g1657178f59bf0c5b269a668bcdcc432fac3bbdd0 Author: Stefan Schulze Frielinghaus <stefa...@linux.ibm.com> Date: Mon Apr 27 18:09:07 2020 +0200 tree-optimization: Fix use of uninitialized variable [PR94774] Array retval is not necessarily initialized by function is_call_safe and may be used afterwards. Thus, initialize it explicitly. gcc/ChangeLog: 2020-04-29 Stefan Schulze Frielinghaus <stefa...@linux.ibm.com> PR tree-optimization/94774 * gimple-ssa-sprintf.c (try_substitute_return_value): Initialize variable retval.