From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9734 invoked by alias); 17 May 2009 05:12:00 -0000 Received: (qmail 9690 invoked by uid 48); 17 May 2009 05:11:45 -0000 Date: Sun, 17 May 2009 05:12:00 -0000 Message-ID: <20090517051145.9689.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/40011] Problems with -fwhole-file In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jv244 at cam dot ac dot uk" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg01443.txt.bz2 ------- Comment #18 from jv244 at cam dot ac dot uk 2009-05-17 05:11 ------- the patch posted here: http://gcc.gnu.org/ml/fortran/2009-05/msg00244.html allows cp2k in its single source file form, 640klines as made available in PR40005, to compile with -fwhole-file (using the ulimit -s unlimited trick). Even the 3Gb memory usage seems reasonable. What about turning this option on by default now ? The warnings its generates are generally useful, and there is the potential gain in performance. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011