diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2002-08-04 16:21:02 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2002-08-04 16:21:02 +0000 |
commit | ea67fe71ed59e9860eafb2c91b6f4b87d366e8d6 (patch) | |
tree | 07c681d0f4e663e8dd4fd57fe86b3493b6eabc0f /gcc/final.c | |
parent | b23c054d0b5ccb227380655d58e7c6a4644491c2 (diff) | |
download | gcc-ea67fe71ed59e9860eafb2c91b6f4b87d366e8d6.zip gcc-ea67fe71ed59e9860eafb2c91b6f4b87d366e8d6.tar.gz gcc-ea67fe71ed59e9860eafb2c91b6f4b87d366e8d6.tar.bz2 |
gcc.c (cc1_options): Pass output file as auxbase when appropriate.
* gcc.c (cc1_options): Pass output file as auxbase when
appropriate.
* profile.c (init_branch_prob): FILENAME has already had ending
stripped.
* final.c (end_final): Likewise.
* toplev.c (aux_base_name): New global.
(compile_file): Pass aux_base_name to init init_branch_prob and
end_final.
(independent_decode_option, case 'a'): New auxinfo options.
(case 'd'): Protect against mising basename.
(do_compile): Initialize aux_base_name.
* toplev.h (aux_base_name): New global.
* doc/invoke.texi: Adjust documentation.
From-SVN: r56025
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c index 7d817ae..1b009c6 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -311,7 +311,6 @@ end_final (filename) strcpy (da_filename, cwd); strcat (da_filename, "/"); strcat (da_filename, filename); - strip_off_ending (da_filename, da_filename_len - 3); strcat (da_filename, ".da"); da_filename_len = strlen (da_filename); string_cst = build_string (da_filename_len + 1, da_filename); |