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]
Other format: [Raw text]

Re: Fixes for treelang


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.


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