diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2002-09-17 04:03:37 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2002-09-17 04:03:37 +0000 |
commit | 2e88fa161b35223c962c04bb3fda98d79778d7a0 (patch) | |
tree | 0958e32850cc96cf7b334bc16c48e7146126ca7a /contrib/gcc/f | |
parent | 4a03a8a8c78fe16e9996fea4574066a2ac3bba0e (diff) | |
parent | acabf91c969de4eae2f3fda49f21ff94fb0e388e (diff) | |
download | src-2e88fa161b35223c962c04bb3fda98d79778d7a0.tar.gz src-2e88fa161b35223c962c04bb3fda98d79778d7a0.zip |
This commit was generated by cvs2svn to compensate for changes in r103445,
which included commits to RCS files with non-trunk default branches.
Notes
Notes:
svn path=/head/; revision=103446
Diffstat (limited to 'contrib/gcc/f')
-rw-r--r-- | contrib/gcc/f/ChangeLog | 15 | ||||
-rw-r--r-- | contrib/gcc/f/com.c | 5 | ||||
-rw-r--r-- | contrib/gcc/f/target.c | 22 | ||||
-rw-r--r-- | contrib/gcc/f/version.c | 2 |
4 files changed, 22 insertions, 22 deletions
diff --git a/contrib/gcc/f/ChangeLog b/contrib/gcc/f/ChangeLog index 498e64d27f9b..3f3b28623bd6 100644 --- a/contrib/gcc/f/ChangeLog +++ b/contrib/gcc/f/ChangeLog @@ -1,3 +1,14 @@ +2002-09-14 Hans-Peter Nilsson <hp@bitrange.com> + + * target.c (ffetarget_memcpy_): Don't test nonexistent + HOST_BYTES_BIG_ENDIAN, HOST_BITS_BIG_ENDIAN. Check + HOST_WORDS_BIG_ENDIAN against both WORDS_BIG_ENDIAN and + BYTES_BIG_ENDIAN. + +2002-09-07 Jan Hubicka <jh@suse.cz> + + * com.c (ffe_type_for_mode): Handle long double. + 2002-08-30 Alan Modra <amodra@bigpond.net.au> * target.h (FFETARGET_32bit_longs): Don't define for powerpc64 or @@ -60,7 +71,7 @@ Mon Apr 15 10:59:14 2002 Mark Mitchell <mark@codesourcery.com> * Make-lang.in (f/target.o): Depend on diagnostic.h. * target.c: Include diagnostic.h. - (ffetarget_memcpy_): Call sorry if host and target endians are + (ffetarget_memcpy_): Call sorry if host and target endians are not matching. 2002-04-13 Toon Moene <toon@moene.indiv.nluug.nl> @@ -112,7 +123,7 @@ Mon Mar 18 18:43:22 CET 2002 Jan Hubicka <jh@suse.cz> * intrin.def: Use 'N' constraints in table of intrinsics. * intdoc.c: Document this constraint. * intdoc.texi: Regenerated. - + 2002-02-04 Philipp Thomas <pthomas@suse.de> * implic.c lex.c stb.c ste.c stu.c: Update copyright dates. diff --git a/contrib/gcc/f/com.c b/contrib/gcc/f/com.c index a9151398e5b9..13de981b793f 100644 --- a/contrib/gcc/f/com.c +++ b/contrib/gcc/f/com.c @@ -15014,7 +15014,10 @@ type_for_mode (mode, unsignedp) if (mode == TYPE_MODE (double_type_node)) return double_type_node; - if (mode == TYPE_MODE (build_pointer_type (char_type_node))) + if (mode == TYPE_MODE (long_double_type_node)) + return long_double_type_node; + + if (mode == TYPE_MODE (build_pointer_type (char_type_node))) return build_pointer_type (char_type_node); if (mode == TYPE_MODE (build_pointer_type (integer_type_node))) diff --git a/contrib/gcc/f/target.c b/contrib/gcc/f/target.c index f934a8f6290d..086faedd739b 100644 --- a/contrib/gcc/f/target.c +++ b/contrib/gcc/f/target.c @@ -2521,6 +2521,9 @@ void * ffetarget_memcpy_ (void *dst, void *src, size_t len) { #ifdef CROSS_COMPILE + /* HOST_WORDS_BIG_ENDIAN corresponds to both WORDS_BIG_ENDIAN and + BYTES_BIG_ENDIAN (i.e. there are no HOST_ macros to represent a + difference in the two latter). */ int host_words_big_endian = #ifndef HOST_WORDS_BIG_ENDIAN 0 @@ -2529,22 +2532,6 @@ ffetarget_memcpy_ (void *dst, void *src, size_t len) #endif ; - int host_bytes_big_endian = -#ifndef HOST_BYTES_BIG_ENDIAN - 0 -#else - HOST_BYTES_BIG_ENDIAN -#endif - ; - - int host_bits_big_endian = -#ifndef HOST_BITS_BIG_ENDIAN - 0 -#else - HOST_BITS_BIG_ENDIAN -#endif - ; - /* This is just hands thrown up in the air over bits coming through this function representing a number being memcpy:d as-is from host to target. We can't generally adjust endianness here since we don't @@ -2555,8 +2542,7 @@ ffetarget_memcpy_ (void *dst, void *src, size_t len) for instance in g77.f-torture/execute/980628-[4-6].f and alpha2.f. Still, we compile *some* code. FIXME: Rewrite handling of numbers. */ if (!WORDS_BIG_ENDIAN != !host_words_big_endian - || !BYTES_BIG_ENDIAN != !host_bytes_big_endian - || !BITS_BIG_ENDIAN != !host_bits_big_endian) + || !BYTES_BIG_ENDIAN != !host_words_big_endian) sorry ("data initializer on host with different endianness"); #endif /* CROSS_COMPILE */ diff --git a/contrib/gcc/f/version.c b/contrib/gcc/f/version.c index bfda27c5e520..b9dc05c6ca43 100644 --- a/contrib/gcc/f/version.c +++ b/contrib/gcc/f/version.c @@ -1,4 +1,4 @@ #include "ansidecl.h" #include "f/version.h" -const char *const ffe_version_string = "3.2.1 20020831 (prerelease)"; +const char *const ffe_version_string = "3.2.1 20020916 (prerelease)"; |