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: unassig...@gcc.gnu.org
        ReportedBy: mi...@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.

Reply via email to