Commit c7c50494 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent 39b1af70
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.
......
......@@ -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"
......
......@@ -34,6 +34,7 @@
#include "tconfig.h"
#include "tsystem.h"
#include <fcntl.h> /* for creat() */
#include "coretypes.h"
#include "tm.h"
......
......@@ -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
......
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:
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment