summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/alloc-pool.c1
-rw-r--r--gcc/config/sparc/gmon-sol2.c1
-rw-r--r--gcc/convert.c3
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/lang.c1
6 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c1e6b5279ec..9b984dba57a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/alloc-pool.c b/gcc/alloc-pool.c
index b84780aec1c..2f5d04dab51 100644
--- a/gcc/alloc-pool.c
+++ b/gcc/alloc-pool.c
@@ -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"
diff --git a/gcc/config/sparc/gmon-sol2.c b/gcc/config/sparc/gmon-sol2.c
index c42badcf761..2fb8885119b 100644
--- a/gcc/config/sparc/gmon-sol2.c
+++ b/gcc/config/sparc/gmon-sol2.c
@@ -34,6 +34,7 @@
#include "tconfig.h"
#include "tsystem.h"
+#include <fcntl.h> /* for creat() */
#include "coretypes.h"
#include "tm.h"
diff --git a/gcc/convert.c b/gcc/convert.c
index 6c6a36e54f9..1ed70b53091 100644
--- a/gcc/convert.c
+++ b/gcc/convert.c
@@ -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
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index e0723f2e7ab..8f3e2aa809b 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -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:
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index 7c96531283f..60a3845a12c 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -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"