This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fixes for treelang
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Tim Josling <tej at melbpc dot org dot au>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Aug 2002 17:46:46 +0100
- Subject: Re: Fixes for treelang
- References: <3D58C1D4.333614A4@melbpc.org.au>
Tim Josling wrote:-
> int
> maybe_objc_comptypes (tree lhs ATTRIBUTE_UNUSED,
> tree rhs ATTRIBUTE_UNUSED,
> + int reflexive ATTRIBUTE_UNUSED);
> +
> + int
> + maybe_objc_comptypes (tree lhs ATTRIBUTE_UNUSED,
> + tree rhs ATTRIBUTE_UNUSED,
> int reflexive ATTRIBUTE_UNUSED)
Duplicated prototype. I believe maybe_* is dead.
> tree
> + maybe_building_objc_message_expr (void);
> +
> + tree
> maybe_building_objc_message_expr ()
> {
> return 0;
> }
Ditto; I believe this is dead.
> void
> ! cpp_preprocess_file (cpp_reader *pfile ATTRIBUTE_UNUSED)
> {
> abort ();
> }
> --- 973,979 ----
> /* Should not be called for treelang. */
>
> void
> ! cpp_post_options (cpp_reader *pfile ATTRIBUTE_UNUSED)
> {
> abort ();
> }
Hmm. cpp_post_options is definitely dead.
> void
> + maybe_objc_check_decl (tree decl ATTRIBUTE_UNUSED);
> +
> + void
> maybe_objc_check_decl (tree decl ATTRIBUTE_UNUSED)
> {
> abort ();
> + }
And again.
Neil.