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: cpplib: More interface cleanups


In fact, this is a fix to an obvious problem, so I'll check it in
without a bootstrap anyway.

I'll run another bootstrap now, and see how it goes...

Neil.

Neil Booth wrote:-
> 
> 	* c-pragma.c (init_pragma): Update for parse_in type change.
> 
> Index: c-pragma.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/c-pragma.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 c-pragma.c
> --- c-pragma.c	2000/11/26 10:48:49	1.40
> +++ c-pragma.c	2000/11/29 19:12:15
> @@ -304,17 +304,14 @@ handle_pragma_weak (dummy)
>  void
>  init_pragma ()
>  {
> -  cpp_reader *pfile ATTRIBUTE_UNUSED;
> -  pfile = &parse_in;
> -
>  #ifdef HANDLE_PRAGMA_PACK
> -  cpp_register_pragma (pfile, 0, "pack", handle_pragma_pack);
> +  cpp_register_pragma (parse_in, 0, "pack", handle_pragma_pack);
>  #endif
>  #ifdef HANDLE_PRAGMA_WEAK
> -  cpp_register_pragma (pfile, 0, "weak", handle_pragma_weak);
> +  cpp_register_pragma (parse_in, 0, "weak", handle_pragma_weak);
>  #endif
>  #ifdef REGISTER_TARGET_PRAGMAS
> -  REGISTER_TARGET_PRAGMAS (pfile);
> +  REGISTER_TARGET_PRAGMAS (parse_in);
>  #endif
>  
>  #ifdef HANDLE_PRAGMA_PACK_PUSH_POP

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