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: [PATCH] Save the object file


"Douglas B Rupp" <rupp@gnat.com> writes:

> When compiling directly to an executable, --save-temps doesn't leave an object file behind.
> This was introduced in gcc.c revision 1.276.
> 
> OK to commit?

This is OK.

> 2002-11-21  Douglas B Rupp  <rupp@gnat.com>
> 
> 	* gcc.c (do_spec_1): Reset delete_this_arg to zero.
> 
> Index: gcc/gcc.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
> retrieving revision 1.346
> diff -u -p -r1.346 gcc.c
> --- gcc/gcc.c	20 Nov 2002 19:49:53 -0000	1.346
> +++ gcc/gcc.c	22 Nov 2002 06:34:37 -0000
> @@ -4752,6 +4752,7 @@ do_spec_1 (spec, inswitch, soft_matched_
>  			    obstack_grow (&obstack, temp_filename,
>  			    			    temp_filename_length);
>  			    arg_going = 1;
> +			    delete_this_arg = 0;
>  			    break;
>  			  }
>  		      }

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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