https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64606
Bug ID: 64606 Summary: multiple warnings in arm target code Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org /users/joel/test-gcc/b-arm-rtems4.11-gcc/./gcc/xgcc -B/users/joel/test-gcc/b-arm-rtems4.11-gcc/./gcc/ -nostdinc -B/users/joel/test-gcc/b-arm-rtems4.11-gcc/arm-rtems4.11/newlib/ -isystem /users/joel/test-gcc/b-arm-rtems4.11-gcc/arm-rtems4.11/newlib/targ-include -isystem /users/joel/test-gcc/gcc/newlib/libc/include -B/users/joel/test-gcc/install-head/arm-rtems4.11/bin/ -B/users/joel/test-gcc/install-head/arm-rtems4.11/lib/ -isystem /users/joel/test-gcc/install-head/arm-rtems4.11/include -isystem /users/joel/test-gcc/install-head/arm-rtems4.11/sys-include -g -O2 -mthumb -O2 -I../../../../gcc/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fno-inline -I. -I. -I../../.././gcc -I../../../../gcc/libgcc -I../../../../gcc/libgcc/. -I../../../../gcc/libgcc/../gcc -I../../../../gcc/libgcc/../include -DHAVE_CC_TLS -o _fractunsUDAUDI.o -MT _fractunsUDAUDI.o -MD -MP -MF _fractunsUDAUDI.dep -DL_fractuns -DFROM_UDA -DTO_UDI -c ../../../../gcc/libgcc/fixed-bit.c -fvisibility=hidden -DHIDE_EXPORTS mv -f libunwind.visT libunwind.vis ../../../gcc/libgcc/config/arm/fp16.c:97:1: warning: no previous prototype for '__gnu_h2f_internal' [-Wmissing-prototypes] __gnu_h2f_internal(unsigned short a, int ieee) ^ ../../../gcc/libgcc/config/arm/fp16.c:122:1: warning: no previous prototype for '__gnu_f2h_ieee' [-Wmissing-prototypes] __gnu_f2h_ieee(unsigned int a) ^ ../../../gcc/libgcc/config/arm/fp16.c:128:1: warning: no previous prototype for '__gnu_h2f_ieee' [-Wmissing-prototypes] __gnu_h2f_ieee(unsigned short a) ^ ../../../gcc/libgcc/config/arm/fp16.c:134:1: warning: no previous prototype for '__gnu_f2h_alternative' [-Wmissing-prototypes] __gnu_f2h_alternative(unsigned int x) ^ ../../../gcc/libgcc/config/arm/fp16.c:140:1: warning: no previous prototype for '__gnu_h2f_alternative' [-Wmissing-prototypes] __gnu_h2f_alternative(unsigned short a) ^ In file included from ../../../gcc/libgcc/config/arm/unwind-arm.c:143:0: ../../../gcc/libgcc/unwind-arm-common.inc: In function 'get_eit_entry': ../../../gcc/libgcc/unwind-arm-common.inc:245:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ucbp->pr_cache.ehtp = (_Unwind_EHT_Header *)&eitp->content;