From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17407 invoked by alias); 20 Nov 2011 17:09:51 -0000 Received: (qmail 17398 invoked by uid 22791); 20 Nov 2011 17:09:50 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 20 Nov 2011 17:09:36 +0000 From: "mikpe at it dot uu.se" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/51240] New: [4.7] fortran bootstrap failure due to non-static dt_lower_string and dt_upper_string lacking prototypes Date: Sun, 20 Nov 2011 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpe at it dot uu.se X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-11/txt/msg02055.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51240 Bug #: 51240 Summary: [4.7] fortran bootstrap failure due to non-static dt_lower_string and dt_upper_string lacking prototypes Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: mikpe@it.uu.se With gcc-4.7-20111119 I'm getting bootstrap failures due to /mnt/scratch/gcc-4.7-20111119/gcc/fortran/module.c:437:1: error: no previous prototype for 'dt_lower_string' [-Werror=missing-prototypes] /mnt/scatch/gcc-4.7-20111119/gcc/fortran/module.c:452:1: error: no previous prototype for 'dt_upper_string' [-Werror=missing-prototypes] cc1: all warnings being treated as errors make[3]: *** [fortran/module.o] Error 1 on {i686,sparc64}-linux and arm-linux-gnueabi. These two functions are only used in module.c and changing them to 'static' eliminates the errors. The previous weekly snapshot, gcc-4.7-20111112, did not have this problem.