[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
gcc-bugzilla@gcc.gnu.org
Sun Nov 20 18:41:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list