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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:805be8fbeab351dc3109aaa17fcc8cc6f74c8caa

commit r14-6185-g805be8fbeab351dc3109aaa17fcc8cc6f74c8caa
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Tue Dec 5 14:54:00 2023 +0000

    PR modula2/112865 IM and RE fails to skip type equivalences

    This patch skip type equivalences when checking IM and RE
    ISO M2 standard functions for complex data type operands.

    gcc/m2/ChangeLog:

            PR modula2/112865
            * gm2-compiler/M2Quads.mod (BuildReFunction): Use
            GetDType to retrieve the type of the operand when
            converting the complex type to its scalar equivalent.
            (BuildImFunction): Use GetDType to retrieve the type of the
            operand when converting the complex type to its scalar
            equivalent.

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to