Comment 38 for bug 1988710

Revision history for this message
In , Cvs-commit (cvs-commit) wrote :

The releases/gcc-12 branch has been updated by Uros Bizjak <email address hidden>:

https://gcc.gnu.org/g:4520e2dbc73262028ad556f732871565101ef615

commit r12-9770-g4520e2dbc73262028ad556f732871565101ef615
Author: Uros Bizjak <email address hidden>
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)