diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-05 05:27:45 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-05 05:27:45 +0000 |
commit | 5320179dd298ccbdaf2b83bc124257672f4c6945 (patch) | |
tree | 71f0fdb3be02a66bf03ffe7a50fc632bc650e889 /gcc/convert.c | |
parent | 0b072554a9e3bc83dcf3200de794bf50d94d1f3f (diff) | |
download | gcc-5320179dd298ccbdaf2b83bc124257672f4c6945.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60900 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |