OSDN Git Service

* PROJECTS: Remove template friends.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Oct 1998 14:47:54 +0000 (14:47 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Oct 1998 14:47:54 +0000 (14:47 +0000)
* collect2.c (sort_ids): Remove unused variable.
* tm.texi (MATH_LIBRARY): Document.
(NEED_MATH_LIBRARY): Remove.

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

gcc/ChangeLog
gcc/PROJECTS
gcc/collect2.c
gcc/tm.texi

index 0e46fb7..b83b90e 100644 (file)
@@ -1,5 +1,12 @@
 Sat Oct  3 14:42:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
 
+       * PROJECTS: Remove template friends.
+
+       * collect2.c (sort_ids): Remove unused variable.
+
+       * tm.texi (MATH_LIBRARY): Document.
+       (NEED_MATH_LIBRARY): Remove.
+
        * varasm.c (assemble_start_function, assemble_variable, weak_finish,
        assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too.
 
index 2c2111a..d5b5340 100644 (file)
@@ -1,5 +1,3 @@
-C++ template friend functions (mmitchell@usa.net)
-
 Haifa scheduler (haifa-sched.c, loop.[ch], unroll.[ch], genattrtab.c):
 (contact law@cygnus.com before starting any serious haifa work)
 
index 7d2a570..bc2ef84 100644 (file)
@@ -1783,7 +1783,6 @@ sort_ids (head_ptr)
      element to insert.  id_ptr iterates through the already sorted elements
      looking for the place to insert id.  */
   struct id *id, *id_next, **id_ptr;
-  int i;
 
   id = head_ptr->first;
 
index d0dee15..cf11d7b 100644 (file)
@@ -7591,12 +7591,11 @@ You need only define this macro if the target holds values larger than
 @code{word_mode} in general purpose registers.  Most targets should not define
 this macro.
 
-@findex NEED_MATH_LIBRARY
-@item NEED_MATH_LIBRARY
-Define this macro as a C expression that is nonzero if @code{g++} should
-automatically link in the math library or to zero if @code{g++} should not
-automatically link in the math library.
-
-You need only define this macro if the target does not always need the math
-library linked into C++ programs.
+@findex MATH_LIBRARY
+@item MATH_LIBRARY
+Define this macro as a C string constant for the linker argument to link
+in the system math library, or @samp{""} if the target does not have a
+separate math library.
+
+You need only define this macro if the default of @samp{"-lm"} is wrong.
 @end table