https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966
--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Uros Bizjak <u...@gcc.gnu.org>: https://gcc.gnu.org/g:4520e2dbc73262028ad556f732871565101ef615 commit r12-9770-g4520e2dbc73262028ad556f732871565101ef615 Author: Uros Bizjak <ubiz...@gmail.com> Date: Thu Jul 13 18:32:15 2023 +0200 alpha: Fix computation mode in alpha_emit_set_long_cost [PR106966] PR target/106966 gcc/ChangeLog: * config/alpha/alpha.cc (alpha_emit_set_long_const): Always use DImode when constructing long const. gcc/testsuite/ChangeLog: * gcc.target/alpha/pr106966.c: New test. (cherry picked from commit 337649c1660211db733c1ba34ae260b8c66a3578)