diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-01-05 05:27:45 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-01-05 05:27:45 +0000 |
commit | c7c50494beb707f6d374c23b7decbacb5e068a87 (patch) | |
tree | 71f0fdb3be02a66bf03ffe7a50fc632bc650e889 | |
parent | 39b1af70da1240d695102717ffb88018f81cae55 (diff) | |
download | gcc-c7c50494beb707f6d374c23b7decbacb5e068a87.zip gcc-c7c50494beb707f6d374c23b7decbacb5e068a87.tar.gz gcc-c7c50494beb707f6d374c23b7decbacb5e068a87.tar.bz2 |
Warning fixes:
* 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.
From-SVN: r60900
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/alloc-pool.c | 1 | ||||
-rw-r--r-- | gcc/config/sparc/gmon-sol2.c | 1 | ||||
-rw-r--r-- | gcc/convert.c | 3 | ||||
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/lang.c | 1 |
6 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1e6b52..9b984db 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 b84780a..2f5d04d 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 c42badc..2fb8885 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 6c6a36e..1ed70b5 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 e0723f2..8f3e2aa 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 7c96531..60a3845 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" |