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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:7d6f7e92c3b737736a2d8ff97a71af9f230c2f88

commit r11-6788-g7d6f7e92c3b737736a2d8ff97a71af9f230c2f88
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Jan 19 12:29:18 2021 +0100

    ipa/97673 - fix input_location leak

    This fixes input_location leaking with an invalid BLOCK from
    expand_call_inline to tree_function_versioning via clone
    materialization.

    2021-01-19  Richard Biener  <rguent...@suse.de>

            PR ipa/97673
            * tree-inline.c (tree_function_versioning): Set input_location
            to UNKNOWN_LOCATION throughout the function.

            * gfortran.dg/pr97673.f90: New testcase.

Reply via email to