]> gcc.gnu.org Git - gcc.git/commit
PR modula2/112865 IM and RE fails to skip type equivalences
authorGaius Mulley <gaiusmod2@gmail.com>
Tue, 5 Dec 2023 14:54:00 +0000 (14:54 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Tue, 5 Dec 2023 14:54:00 +0000 (14:54 +0000)
commit805be8fbeab351dc3109aaa17fcc8cc6f74c8caa
tree52b3cfc907f0571e393f4d3e07dd4635f9eddf5a
parent7e40497805c0831596334fe474112f991276e11b
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 <gaiusmod2@gmail.com>
gcc/m2/gm2-compiler/M2Quads.mod
This page took 0.062869 seconds and 6 git commands to generate.