https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110585
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:8e365976ddc856a4c08aa52f90799330baed599a commit r11-10900-g8e365976ddc856a4c08aa52f90799330baed599a Author: Harald Anlauf <anl...@gmx.de> Date: Fri Jul 7 20:25:06 2023 +0200 Fortran: simplification of FINDLOC for constant complex arguments [PR110585] gcc/fortran/ChangeLog: PR fortran/110585 * arith.c (gfc_compare_expr): Handle equality comparison of constant complex gfc_expr arguments. gcc/testsuite/ChangeLog: PR fortran/110585 * gfortran.dg/findloc_9.f90: New test. (cherry picked from commit 7ac1581d066a6f3a0d4acf1042a74634258b4966)