OSDN Git Service

Don't check have_o when settting combine_inputs.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Jan 2011 17:54:22 +0000 (17:54 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Jan 2011 17:54:22 +0000 (17:54 +0000)
2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR driver/47137
* gcc.c (main): Don't check have_o when settting combine_inputs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168407 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index f99a411..aebe391 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR driver/47137
+       * gcc.c (main): Don't check have_o when settting combine_inputs.
+
 2011-01-02  Eric Botcazou  <ebotcazou@adacore.com>
 
        * regrename.c: Add general comment describing the pass.
index 69bf033..0d633a4 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6582,7 +6582,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
 
   explicit_link_files = XCNEWVEC (char, n_infiles);
 
-  combine_inputs = have_o || flag_wpa;
+  combine_inputs = flag_wpa;
 
   for (i = 0; (int) i < n_infiles; i++)
     {