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

Andrew Pinski pinskia@physics.uc.edu
Sat Jul 12 04:23:00 GMT 2003


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



More information about the Gcc mailing list