This is the mail archive of the gcc-regression@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]

Re: GCC build failed for native with your patch on 2003-06-17T21:05:37Z.


This is most likely caused by the following patch which introduced this warning:
+2003-06-17 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/11105
+ * cp-tree.h (DECL_CONV_FN_TYPE): New method.
+ * mangle.c (struct globals): Remove internal_mangling_p.
+ (write_unqualified_name): Use DECL_CONV_FN_TYPE.
+ (write_template_parm): Don't write out the level number.
+ (conv_type_names): New variable.
+ (hash_type): New function.
+ (compare_type): Likewise.
+ (mangle_conv_op_name_for_type): Don't try to mangle conversion
+ operator names.
+ * search.c (lookup_conversion_operator): New function.
+ (lookup_fnfields_1): Use it.



stage1/xgcc -Bstage1/ -B/Users/regress/tbox/objs/powerpc-apple-darwin6.3/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -Werror -fno-common -DHAVE_CONFIG_H -I. -Icp -I/Users/regress/tbox/cvs-gcc/gcc/gcc -I/Users/regress/tbox/cvs-gcc/gcc/gcc/cp -I/Users/regress/tbox/cvs-gcc/gcc/gcc/config -I/Users/regress/tbox/cvs-gcc/gcc/gcc/../include /Users/regress/tbox/cvs-gcc/gcc/gcc/cp/mangle.c -o cp/mangle.o
/Users/regress/tbox/cvs-gcc/gcc/gcc/cp/mangle.c: In function `mangle_conv_op_name_for_type':
/Users/regress/tbox/cvs-gcc/gcc/gcc/cp/mangle.c:2631: warning: int format, size_t arg (arg 3)


The problem is that htab_elements return a size_t which is an unsigned long (or unsigned int,
depending on what platform you are on).


Thanks,
Andrew Pinski

On Tuesday, Jun 17, 2003, at 18:15 US/Eastern, GCC regression checker wrote:

With your recent patch, GCC does not compile on:
 native
Attached is build output for those targets.

The build failures are new.

For more information, see http://gcc.gnu.org/regtest/.
<ChangeLog.diff><native-log.txt>--
Geoffrey Keating <geoffk@apple.com>
(via an automated GCC regression-testing script.)


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