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

--- Comment #66 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jonathan Yong
<[email protected]>:

https://gcc.gnu.org/g:c57cd1c62cf7c6e647c7f0d4504949da70fd9d32

commit r13-10039-gc57cd1c62cf7c6e647c7f0d4504949da70fd9d32
Author: LIU Hao <[email protected]>
Date:   Wed May 11 22:42:53 2022 +0800

    Allow a PCH to be mapped to a different address

    First, try mapping the PCH to its original address. If that fails, try
    letting the system choose one; the PCH can be relocated thereafter.

    Reference: https://gcc.gnu.org/pipermail/gcc-patches/2022-May/594556.html

    2022-05-11  LIU Hao <[email protected]>
    Signed-off-by: Jonathan Yong <[email protected]>

            PR pch/14940

    gcc/ChangeLog:
            * config/i386/host-mingw32.cc (mingw32_gt_pch_use_address):
            Replace the loop that attempted to map the PCH only to its
            original address with more adaptive operations

    (cherry picked from commit 16e301adf7b653c72d5c3cae1c7287877f3f20ff)

Reply via email to