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/gcc.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/gcc.c')
-rw-r--r-- | gcc/gcc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -697,6 +697,7 @@ static const char *cpp_debug_options = "%{d*}"; static const char *cc1_options = "%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\ %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\ + -auxbase%{c|S:%{o*:-strip%*}%{!o*: %b}}%{!c:%{!S: %b}}\ %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi}\ %{v:-version} %{pg:-p} %{p} %{f*} %{undef}\ %{Qn:-fno-ident} %{--help:--help}\ |