diff options
author | David Edelsohn <edelsohn@gnu.org> | 2003-12-17 18:14:45 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2003-12-17 13:14:45 -0500 |
commit | 77e86c91095a7c617acd6de0f8916983dc072876 (patch) | |
tree | 8030ba1680b84f9d4273b8adfe4e26763d2457c9 /gcc/collect2.c | |
parent | f84241ba7d06d1af61147ef5e87c6c39f108be87 (diff) | |
download | gcc-77e86c91095a7c617acd6de0f8916983dc072876.zip gcc-77e86c91095a7c617acd6de0f8916983dc072876.tar.gz gcc-77e86c91095a7c617acd6de0f8916983dc072876.tar.bz2 |
collect2.c (main): Add -fno-profile-arcs -fno-test-coverage -fno-branch-probabilities to arguments...
* collect2.c (main): Add -fno-profile-arcs -fno-test-coverage
-fno-branch-probabilities to arguments when compiling ctors and
dtors.
From-SVN: r74746
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 0d20b4d..2e4dbfe 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -884,8 +884,9 @@ main (int argc, char **argv) } obstack_free (&temporary_obstack, temporary_firstobj); - /* -fno-exceptions -w */ - num_c_args += 2; + /* -fno-profile-arcs -fno-test-coverage -fno-branch-probabilities + -fno-exceptions -w */ + num_c_args += 5; c_ptr = (const char **) (c_argv = xcalloc (sizeof (char *), num_c_args)); @@ -1046,6 +1047,9 @@ main (int argc, char **argv) } } obstack_free (&temporary_obstack, temporary_firstobj); + *c_ptr++ = "-fno-profile-arcs"; + *c_ptr++ = "-fno-test-coverage"; + *c_ptr++ = "-fno-branch-probabilities"; *c_ptr++ = "-fno-exceptions"; *c_ptr++ = "-w"; |