OSDN Git Service

Warning fixes:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jan 2003 05:27:45 +0000 (05:27 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jan 2003 05:27:45 +0000 (05:27 +0000)
* alloc-pool.c: Don't include "libiberty.h".
* config/sparc/gmon-sol2.c: Include <fcntl.h>.
* convert.c (convert_to_real): Hide unused variable.

java:
* lang.c (dump_compound_expr): Prototype.

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

gcc/ChangeLog
gcc/alloc-pool.c
gcc/config/sparc/gmon-sol2.c
gcc/convert.c
gcc/java/ChangeLog
gcc/java/lang.c

index c1e6b52..9b984db 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * alloc-pool.c: Don't include "libiberty.h".
+       * config/sparc/gmon-sol2.c: Include <fcntl.h>.
+       * convert.c (convert_to_real): Hide unused variable.
+
 2003-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * Makefile.in (gtyp-gen.h): Const-ify.
index b84780a..2f5d04d 100644 (file)
@@ -19,7 +19,6 @@ along with GCC; see the file COPYING.  If not, write to the Free
 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.  */
 
-#include "libiberty.h"
 #include "config.h"
 #include "system.h"
 #include "alloc-pool.h"
index c42badc..2fb8885 100644 (file)
@@ -34,6 +34,7 @@
 
 #include "tconfig.h"
 #include "tsystem.h"
+#include <fcntl.h> /* for creat() */
 #include "coretypes.h"
 #include "tm.h"
 
index 6c6a36e..1ed70b5 100644 (file)
@@ -107,12 +107,13 @@ tree
 convert_to_real (type, expr)
      tree type, expr;
 {
-  enum built_in_function fcode = builtin_mathfn_code (expr);
   tree itype = TREE_TYPE (expr);
 
   /* Disable until we figure out how to decide whether the functions are
      present in runtime.  */
 #if 0
+  enum built_in_function fcode = builtin_mathfn_code (expr);
+
   /* Convert (float)sqrt((double)x) where x is float into sqrtf(x) */
   if ((fcode == BUILT_IN_SQRT
        || fcode == BUILT_IN_SQRTL
index e0723f2..8f3e2aa 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * lang.c (dump_compound_expr): Prototype.
+
 2003-01-03  Tom Tromey  <tromey@redhat.com>
 
        Fix for PR java/8712:
index 7c96531..60a3845 100644 (file)
@@ -78,6 +78,7 @@ static int inline_init_test_initialization PARAMS ((void * *,
                                                    void *));
 static bool java_can_use_bit_fields_p PARAMS ((void));
 static int java_dump_tree PARAMS ((void *, tree));
+static void dump_compound_expr PARAMS ((dump_info_p, tree));
 
 #ifndef TARGET_OBJECT_SUFFIX
 # define TARGET_OBJECT_SUFFIX ".o"