diff options
author | Andreas Krebbel <krebbel1@de.ibm.com> | 2007-03-19 08:45:29 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2007-03-19 08:45:29 +0000 |
commit | c413e1b5beea151b19a980d40906c5a874c1bc32 (patch) | |
tree | a5edddef30a4656e6b89a8548fe4ceaef9e57477 /gcc | |
parent | 1375006a876d005970e79c40febbb89902209a60 (diff) | |
download | gcc-c413e1b5beea151b19a980d40906c5a874c1bc32.zip gcc-c413e1b5beea151b19a980d40906c5a874c1bc32.tar.gz gcc-c413e1b5beea151b19a980d40906c5a874c1bc32.tar.bz2 |
genemit.c (main): Print include statement for dfp.h.
2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
* genemit.c (main): Print include statement for dfp.h.
* dfp.h (decimal_real_arithmetic): Hide prototype if tree_code enum
is not available.
From-SVN: r123054
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dfp.h | 7 | ||||
-rw-r--r-- | gcc/genemit.c | 1 |
3 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4298289..93c6d7e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> + + * genemit.c (main): Print include statement for dfp.h. + * dfp.h (decimal_real_arithmetic): Hide prototype if tree_code enum + is not available. + 2007-03-19 Hans-Peter Nilsson <hp@axis.com> * config/cris/t-elfmulti (EXTRA_MULTILIB_PARTS): Do not define here. @@ -38,10 +38,13 @@ void decimal_round_for_format (const struct real_format *, REAL_VALUE_TYPE *); void decimal_real_convert (REAL_VALUE_TYPE *, enum machine_mode, const REAL_VALUE_TYPE *); void decimal_real_to_decimal (char *, const REAL_VALUE_TYPE *, size_t, size_t, int); void decimal_do_fix_trunc (REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *); -bool decimal_real_arithmetic (REAL_VALUE_TYPE *, enum tree_code, const REAL_VALUE_TYPE *, - const REAL_VALUE_TYPE *); void decimal_real_maxval (REAL_VALUE_TYPE *, int, enum machine_mode); void decimal_real_to_integer2 (HOST_WIDE_INT *, HOST_WIDE_INT *, const REAL_VALUE_TYPE *); HOST_WIDE_INT decimal_real_to_integer (const REAL_VALUE_TYPE *); +#ifdef TREE_CODE +bool decimal_real_arithmetic (REAL_VALUE_TYPE *, enum tree_code, const REAL_VALUE_TYPE *, + const REAL_VALUE_TYPE *); +#endif + #endif /* GCC_DFP_H */ diff --git a/gcc/genemit.c b/gcc/genemit.c index b0dd234..a367f46 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -845,6 +845,7 @@ from the machine description file `md'. */\n\n"); printf ("#include \"expr.h\"\n"); printf ("#include \"optabs.h\"\n"); printf ("#include \"real.h\"\n"); + printf ("#include \"dfp.h\"\n"); printf ("#include \"flags.h\"\n"); printf ("#include \"output.h\"\n"); printf ("#include \"insn-config.h\"\n"); |