public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "xricht17 at stud dot fit.vutbr.cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug pch/14940] PCH largefile test fails on various platforms Date: Sat, 27 Jun 2015 18:28:00 -0000 [thread overview] Message-ID: <bug-14940-4-LRqdpeOtnq@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-14940-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940 Martin Richter <xricht17 at stud dot fit.vutbr.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xricht17 at stud dot fit.vutbr.cz --- Comment #47 from Martin Richter <xricht17 at stud dot fit.vutbr.cz> --- Patch for i386-mingw32: diff --git a/gcc/config/i386/host-mingw32.c b/gcc/config/i386/host-mingw32.c index aa17378..7ee6d0b 100644 --- a/gcc/config/i386/host-mingw32.c +++ b/gcc/config/i386/host-mingw32.c @@ -42,9 +42,6 @@ static size_t mingw32_gt_pch_alloc_granularity (void); static inline void w32_error(const char*, const char*, int, const char*); -/* FIXME: Is this big enough? */ -static const size_t pch_VA_max_size = 128 * 1024 * 1024; - /* Granularity for reserving address space. */ static size_t va_granularity = 0x10000; @@ -86,9 +83,6 @@ static void * mingw32_gt_pch_get_address (size_t size, int) { void* res; - size = (size + va_granularity - 1) & ~(va_granularity - 1); - if (size > pch_VA_max_size) - return NULL; /* FIXME: We let system determine base by setting first arg to NULL. Allocating at top of available address space avoids unnecessary @@ -148,7 +142,7 @@ mingw32_gt_pch_use_address (void *addr, size_t size, int fd, /* Offset must be also be a multiple of allocation granularity for this to work. We can't change the offset. */ - if ((offset & (va_granularity - 1)) != 0 || size > pch_VA_max_size) + if ((offset & (va_granularity - 1)) != 0) return -1;
next prev parent reply other threads:[~2015-06-27 18:28 UTC|newest] Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-14940-4@http.gcc.gnu.org/bugzilla/> 2011-02-15 9:52 ` ro at gcc dot gnu.org 2011-02-15 9:58 ` ro at gcc dot gnu.org 2011-02-15 10:09 ` ro at gcc dot gnu.org 2015-05-31 6:22 ` asmwarrior at gmail dot com 2015-06-27 18:28 ` xricht17 at stud dot fit.vutbr.cz [this message] 2015-06-28 8:53 ` asmwarrior at gmail dot com 2015-07-09 18:47 ` xricht17 at stud dot fit.vutbr.cz 2020-11-11 15:30 ` julien.ruffin at ivu dot de 2021-05-19 17:37 ` redi at gcc dot gnu.org 2022-05-10 4:52 ` lh_mouse at 126 dot com 2022-05-10 4:59 ` pinskia at gcc dot gnu.org 2022-05-10 5:05 ` lh_mouse at 126 dot com 2022-05-10 5:15 ` pinskia at gcc dot gnu.org 2022-05-10 8:51 ` jakub at gcc dot gnu.org 2023-03-01 13:47 ` cvs-commit at gcc dot gnu.org [not found] <bug-14940-1313@http.gcc.gnu.org/bugzilla/> 2005-12-14 19:25 ` brett dot albertson at stratech dot com 2007-03-27 3:32 ` mmitchel at gcc dot gnu dot org 2007-05-08 21:06 ` mmitchel at gcc dot gnu dot org 2010-03-01 12:45 ` ro at gcc dot gnu dot org 2010-03-01 14:07 ` ro at gcc dot gnu dot org 2010-03-01 18:18 ` ro at gcc dot gnu dot org 2010-06-02 17:29 ` ro at gcc dot gnu dot org 2010-07-12 11:57 ` ro at gcc dot gnu dot org 2010-07-13 9:06 ` ro at gcc dot gnu dot org 2010-07-13 9:07 ` ro at gcc dot gnu dot org [not found] <20040413135721.14940.ian@airs.com> 2005-02-11 12:03 ` jsm28 at gcc dot gnu dot org 2005-02-11 12:48 ` dave at hiauly1 dot hia dot nrc dot ca 2005-02-13 20:05 ` ebotcazou at gcc dot gnu dot org 2005-02-15 23:42 ` cvs-commit at gcc dot gnu dot org 2005-08-02 19:04 ` cvs-commit at gcc dot gnu dot org 2005-08-04 17:41 ` dave at hiauly1 dot hia dot nrc dot ca 2005-08-04 17:54 ` ian at airs dot com 2005-08-04 18:04 ` dave at hiauly1 dot hia dot nrc dot ca 2005-08-07 2:48 ` cvs-commit at gcc dot gnu dot org 2004-04-13 14:48 [Bug pch/14940] New: " ian at wasabisystems dot com 2004-04-13 16:35 ` [Bug pch/14940] " ebotcazou at gcc dot gnu dot org 2004-04-13 16:55 ` pinskia at gcc dot gnu dot org 2004-04-13 19:48 ` geoffk at gcc dot gnu dot org 2004-04-14 18:49 ` ljrittle at gcc dot gnu dot org 2004-07-17 4:09 ` pinskia at gcc dot gnu dot org 2004-07-17 4:10 ` pinskia at gcc dot gnu dot org 2004-07-17 4:21 ` dave at hiauly1 dot hia dot nrc dot ca 2004-07-17 14:20 ` ian at wasabisystems dot com 2004-07-17 14:43 ` ian at wasabisystems dot com 2004-07-17 15:43 ` ebotcazou at gcc dot gnu dot org 2004-07-17 17:10 ` dave at hiauly1 dot hia dot nrc dot ca 2004-07-18 10:00 ` ebotcazou at gcc dot gnu dot org 2004-07-18 12:26 ` ian at wasabisystems dot com 2004-07-18 16:03 ` dave at hiauly1 dot hia dot nrc dot ca 2004-07-20 17:49 ` pinskia at gcc dot gnu dot org 2004-08-21 17:05 ` pinskia at gcc dot gnu dot org 2004-08-31 14:20 ` dave at hiauly1 dot hia dot nrc dot ca 2004-10-12 19:56 ` jgrimm2 at us dot ibm dot com 2004-11-04 4:57 ` phython at gcc dot gnu dot org 2004-11-04 7:09 ` ebotcazou at gcc dot gnu dot org 2004-11-09 12:35 ` cvs-commit at gcc dot gnu dot org 2004-11-23 2:30 ` cvs-commit at gcc dot gnu dot org 2004-11-27 16:57 ` cvs-commit at gcc dot gnu dot org 2004-11-30 3:11 ` cvs-commit at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-14940-4-LRqdpeOtnq@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).