gcc.c (main): Correct type that is allocated for explicit_link_files.
authorAndrew Pinski <pinskia@physics.uc.edu>
Tue, 31 Jan 2006 23:18:27 +0000 (23:18 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 31 Jan 2006 23:18:27 +0000 (15:18 -0800)
2006-01-31  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.c (main): Correct type that is allocated for
        explicit_link_files.

From-SVN: r110455

gcc/ChangeLog
gcc/gcc.c

index 91058eaa8a5e0fdc614ad43fa07d77efe1fdc580..fe0fc87fbc59f655cc871c600e29c5d9bb5c6964 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-31  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * gcc.c (main): Correct type that is allocated for
+       explicit_link_files.
+
 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
 
        * config/s390/s390.c (init_alignment_context): Set
index 9fe0970a8afa5218c982ef83f8c5ae74455f77b8..de38cf1c5813a199faf5b4c43e5eb7434cc07443 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6481,7 +6481,7 @@ main (int argc, char **argv)
 
   /* Record which files were specified explicitly as link input.  */
 
-  explicit_link_files = XCNEWVEC (bool, n_infiles);
+  explicit_link_files = XCNEWVEC (char, n_infiles);
 
   if (combine_flag)
     combine_inputs = true;