From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6267 invoked by alias); 28 Mar 2010 20:50:59 -0000 Received: (qmail 6219 invoked by uid 48); 28 Mar 2010 20:50:39 -0000 Date: Sun, 28 Mar 2010 20:50:00 -0000 Message-ID: <20100328205039.6218.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/41059] -fwhole-file and error messages In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" 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: 2010-03/txt/msg02918.txt.bz2 ------- Comment #1 from pault at gcc dot gnu dot org 2010-03-28 20:50 ------- Dear Dominiq, Unfortunately, what you report here is a consequence of the way in which -fwhole-file has to be implemented. The order changes because of the need to resolve called procedures and I can well believe that the number of error messages might change, even though namespaces are tagged when they have been resolved. I guess that we could tag every line for errors but this would need a bigger change to error.c than I am prepared to embark on. My inclination is WONTFIX but I would be happy to discuss. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41059