This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Bootstap failure on powerpc-apple-darwin6.6 due to warnings in cgraphunit.c
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc at gcc dot gnu dot org, Jan Hubicka <jh at suse dot cz>, Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Fri, 11 Jul 2003 22:56:22 -0400
- Subject: 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