https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118274

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Marc Poulhi?s <d...@gcc.gnu.org>:

https://gcc.gnu.org/g:f622acc1eb2679f14758a1ad6c5b693cd9bdea23

commit r15-6730-gf622acc1eb2679f14758a1ad6c5b693cd9bdea23
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Sun Jan 5 23:21:31 2025 +0100

    ada: Accept predefined multiply operator for fixed point in expression
function

    The RM 4.5.5(19.1/2) subclause says that the predefined multiply operator
    for universal_fixed is still available, despite the declaration of a user-
    defined primitive multiply operator for the fixed-point type at stake, if
    it is identified using an expanded name with prefix denoting Standard, but
    this is currently not the case in the context of an expression function.

    gcc/ada/ChangeLog:

            PR ada/118274
            * sem_ch4.adb (Check_Arithmetic_Pair.Has_Fixed_Op): Use the
original
            node of the operator to identify the case of an expanded name whose
            prefix is the package Standard.

Reply via email to