This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Save the object file
- From: Geoff Keating <geoffk at geoffk dot org>
- To: "Douglas B Rupp" <rupp at gnat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 22 Nov 2002 11:53:49 -0800
- Subject: Re: [PATCH] Save the object file
- References: <151c01c291f4$f6219940$0500a8c0@Jinx>
"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>