https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107679
--- Comment #4 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:8a5f3663f8de45b7030dfe7ce962783dc1a19885 commit r13-4101-g8a5f3663f8de45b7030dfe7ce962783dc1a19885 Author: Richard Biener <rguent...@suse.de> Date: Wed Nov 16 13:57:14 2022 +0100 middle-end/107679 - fix SSA rewrite of clobber of parameter When the frontend clobbers a parameter and that parameter gets rewritten into SSA then we ICE because we didn't expect this. Avoid using the parameter decl to create a SSA default def in this case. PR middle-end/107679 * tree-into-ssa.cc (maybe_register_def): Use new temporary if we require an uninitialized value for a parameter decl. * gfortran.dg/pr107679.f90: New testcase.