[Bug fortran/91296] ICE when passing complex number %re/%im as a procedure argument with -Waliasing.

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 30 21:39:00 GMT 2019


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

--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Tue Jul 30 21:38:48 2019
New Revision: 273916

URL: https://gcc.gnu.org/viewcvs?rev=273916&root=gcc&view=rev
Log:
2019-07-30  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/91296
        * interface.c (compare_actual_expr): When checking for aliasing, add
        a case to handle REF_INQUIRY (e.g., foo(x%re, x%im) do not alias).

2019-07-30  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/91296
        * gfortran.dg/pr91296.f90: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91296.f90
Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/interface.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list