Commit Graph

15 Commits

Author SHA1 Message Date
Kaveh R. Ghazi
c5d4341770 decContext.c (decContextSetStatusFromString): Constify.
* decContext.c (decContextSetStatusFromString): Constify.
	* decContext.h (decContextSetStatusFromString): Likewise.
	* decNumber.c (decNumberFromString): Likewise.
	* decNumber.h (decNumberFromString): Likewise.
	* decimal128.c (decimal128FromString): Likewise.
	* decimal128.h (decimal128FromString): Likewise.
	* decimal32.c (decimal32FromString): Likewise.
	* decimal32.h (decimal32FromString): Likewise.
	* decimal64.c (decimal64FromString): Likewise.
	* decimal64.h (decimal64FromString): Likewise.

From-SVN: r116296
2006-08-21 12:34:25 +00:00
Paolo Bonzini
695cd757b9 re PR bootstrap/26188 (4.2.0 fails to compile on FreeBSD 4.11)
config:
2006-07-25  Paolo Bonzini  <bonzini@gnu.org>

	PR build/26188
        * stdint.m4: Test for uintptr_t even on systems with uint64_t or uint32_t.

libdecnumber:
2006-07-25  Paolo Bonzini  <bonzini@gnu.org>

	PR build/26188
	* configure: Regenerate.

libgfortran:
2006-07-25  Paolo Bonzini  <bonzini@gnu.org>

	PR build/26188
	* configure: Regenerate.

From-SVN: r115733
2006-07-25 08:30:38 +00:00
Ben Elliston
f64ad1d319 decNumber.h (decNumberNegate): Remove.
libdecnumber/
	* decNumber.h (decNumberNegate): Remove.
gcc/
	* dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
	negate dn -- manipulate it directly.

From-SVN: r114922
2006-06-23 11:46:00 +10:00
Carlos O'Donell
01d84fc0e8 Makefile.in: Add install-html target.
2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Add install-html target. Add install-html to .PHONY

From-SVN: r114033
2006-05-24 01:29:29 +00:00
Ben Elliston
8a46b94f6c decLibrary.c (__dec_byte_swap): Use uint32_t for argument and return types.
* decLibrary.c (__dec_byte_swap): Use uint32_t for argument and
	return types.

From-SVN: r110638
2006-02-06 15:27:16 +11:00
Roger Sayle
7a6d30ce0d decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro definition of strcpy from generating compilation...
* decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
	definition of strcpy from generating compilation warnings.


Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

From-SVN: r109351
2006-01-04 21:22:34 +00:00
Paolo Bonzini
4c4b3eb0fc re PR libgomp/25259 (bootstrap failures on non-C99 platforms (no stdint.h))
config:
2006-01-02  Paolo Bonzini  <bonzini@gnu.org>

	PR target/25259
	* stdint.m4: New.

gcc:
2006-01-02  Paolo Bonzini  <bonzini@gnu.org>

	PR target/25259
	* Makefile.in (DECNUMINC): Include libdecnumber's build directory.

libgfortran:
2006-01-02  Paolo Bonzini  <bonzini@gnu.org>

	PR target/25259
	* configure.ac: Use GCC_HEADER_STDINT.
	* libgfortran.h: Include gstdint.h.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

libdecnumber:
2006-01-02  Paolo Bonzini  <bonzini@gnu.org>

	PR target/25259
	* configure.ac: Use GCC_HEADER_STDINT.
	* decContext.h: Include gstdint.h.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r109241
2006-01-02 18:53:27 +00:00
Roger Sayle
7d0e51567d decNumber.c (decStrEq): Cast string contents to unsigned char instead of int before calling tolower.
* decNumber.c (decStrEq): Cast string contents to unsigned char
        instead of int before calling tolower.

From-SVN: r108862
2005-12-20 18:48:47 +00:00
Roger Sayle
5e739d00c8 decNumber.c (decStrEq): Cast operands to int before calling tolower to avoid compilation warnings on Tru64.
* decNumber.c (decStrEq): Cast operands to int before calling
	tolower to avoid compilation warnings on Tru64.

From-SVN: r108858
2005-12-20 17:23:53 +00:00
Ben Elliston
c01731362e Makefile.in (clean): Remove stray reference to libcpp.a.
* Makefile.in (clean): Remove stray reference to libcpp.a.

	* decimal128.h, decContext.c, decRound.c, decimal32.c,
	decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
	decimal64.h, decUtility.c, decLibrary.c, configure.ac,
	decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
	office address.

From-SVN: r108024
2005-12-05 10:50:48 +11:00
Ben Elliston
108ada4469 Makefile.in (libdecnumber_a_SOURCES): Drop decLibrary.c.
* Makefile.in (libdecnumber_a_SOURCES): Drop decLibrary.c.
	* decUtility.c (__dec_byte_swap): Move from here ..
	* decLibrary.c: .. to here.

From-SVN: r107802
2005-12-01 16:20:39 +11:00
Gerald Pfeifer
da817a2fea decContext.h: Properly guard inclusion of stdint.h
* decContext.h: Properly guard inclusion of stdint.h
	* decContext.c: Include config.h
	* decLibrary.c: Ditto.
	* decNumber.c: Ditto.
	* decRound.c: Ditto.
	* decUtility.c: Ditto.
	* decimal32.c: Ditto.
	* decimal64.c: Ditto.
	* decimal128.c: Ditto.

From-SVN: r107695
2005-11-30 01:53:08 +00:00
Ben Elliston
fbdb1ec65a Some cleanups from dfp-branch:
* decUtility.c: Remove redundant #includes.
	* decUtility.h (__dec_byte_swap): Remove prototype.

From-SVN: r107658
2005-11-29 18:41:30 +11:00
Ben Elliston
8fdb0857e9 Autoconfiscate this directory:
* configure.ac: New file.
	* aclocal.m4: Likewise.
	* Makefile.in: Likewise.
	* configure: Generate.
	* config.in: Likewise.

From-SVN: r107650
2005-11-29 15:09:41 +11:00
Ben Elliston
473a74b91e * libdecnumber: Import decNumber sources from the dfp-branch.
From-SVN: r107629
2005-11-29 09:30:30 +11:00