]> gcc.gnu.org Git - gcc.git/commit
gcc: Remove size limit of PCH for *-*-mingw32 hosts
authorLIU Hao <lh_mouse@126.com>
Tue, 10 May 2022 05:19:07 +0000 (13:19 +0800)
committerJonathan Yong <10walls@gmail.com>
Wed, 1 Mar 2023 13:46:45 +0000 (13:46 +0000)
commitf769d22ab685671095525d09ef29eeeed0ae3cee
treeb846c1947ad258cfd66aa25cb36bca92936ca0fd
parent560f1db37130c07f1e8a0788fac9a800640c59ad
gcc: Remove size limit of PCH for *-*-mingw32 hosts

PCHs can now be relocated, so the size limit makes no sense any more.

This patch was submited to MSYS2 9 months ago for GCC 12. No issue has been reported so far.

Reference: https://github.com/msys2/MINGW-packages/blob/717d5a5a09e2370e3bd7e12b393a26dbfbe48921/mingw-w64-gcc/0010-Fix-using-large-PCH.patch
Signed-off-by: LIU Hao <lh_mouse@126.com>
gcc/ChangeLog:

PR pch/14940
* config/i386/host-mingw32.cc (mingw32_gt_pch_get_address):
Remove the size limit `pch_VA_max_size`

Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/config/i386/host-mingw32.cc
This page took 0.062415 seconds and 6 git commands to generate.