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

Re: PATCH for cp directory warnings


>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:

    Kaveh> This zaps warnings in the cp dir.  Okay to install?

Most of this is fine.

    Kaveh> 	* class.c (get_vtable_name): Use a liternal format

Spelling: `literal'.

    Kaveh> string and VTABLE_NAME_PREFIX macro instead of
    Kaveh> VTABLE_NAME_FORMAT.  (prepare_fresh_vtable): Likewise.
    Kaveh> 	* cp-tree.h (VTABLE_NAME_PREFIX): Define this instead
    Kaveh> of VTABLE_NAME_FORMAT.

OK, I guess.  This is strictly less general than before.  This is one
of those warnings that I think is truly hyperactive.  That's an
approval, just a lukewarm one.

    Kaveh> 	* decl.c (make_rtl_for_local_static): Remove unused
    Kaveh> variable `type'.

Fine.

    Kaveh> 	* init.c (build_vec_init): Initialize variable
    Kaveh> `try_body'.

Fine.

    Kaveh> 	* lex.c (yyerror): Don't call a variadic function with
    Kaveh> a non-literal format string.

    Kaveh> 	* optimize.c (optimize_function): Call memset, not
    Kaveh> bzero.

Fine.

    Kaveh> 	* pt.c (for_each_template_parm_r): Add static
    Kaveh> prototype.

Fine.

Thanks!

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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