This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bootstap failure on powerpc-apple-darwin6.6 due to warnings in cgraphunit.c


There new warnings cause a boostrap failure on powerpc-apple-darwin6.6:
+/Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cgraphunit.c: In function `cgraph_inlined_into':
+/Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/ cgraphunit.c:479: warning: int format, long unsigned int arg (arg 3)
+/Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cgraphunit.c: In function `cgraph_inlined_callees':
+/Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/ cgraphunit.c:576: warning: int format, long unsigned int arg (arg 3)


I do not know what is the correct fix (1 or 2):
1. Have the cast in INLINED_TIMES to be "unsigned long" and change the printf's to be "%lu"
2. change the case to be "int".


Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]