public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/51240] New: [4.7] fortran bootstrap failure due to non-static dt_lower_string and dt_upper_string lacking prototypes
@ 2011-11-20 18:41 mikpe at it dot uu.se
  2011-12-04 11:31 ` [Bug bootstrap/51240] " mikpe at it dot uu.se
  0 siblings, 1 reply; 2+ messages in thread
From: mikpe at it dot uu.se @ 2011-11-20 18:41 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/51240] [4.7] fortran bootstrap failure due to non-static dt_lower_string and dt_upper_string lacking prototypes
  2011-11-20 18:41 [Bug bootstrap/51240] New: [4.7] fortran bootstrap failure due to non-static dt_lower_string and dt_upper_string lacking prototypes mikpe at it dot uu.se
@ 2011-12-04 11:31 ` mikpe at it dot uu.se
  0 siblings, 0 replies; 2+ messages in thread
From: mikpe at it dot uu.se @ 2011-12-04 11:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51240

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2011-12-04 11:31:39 UTC ---
Fixed by r181881:
http://gcc.gnu.org/ml/gcc-cvs/2011-12/msg00017.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-04 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-20 18:41 [Bug bootstrap/51240] New: [4.7] fortran bootstrap failure due to non-static dt_lower_string and dt_upper_string lacking prototypes mikpe at it dot uu.se
2011-12-04 11:31 ` [Bug bootstrap/51240] " mikpe at it dot uu.se

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).