Go to file
Brooks Moses f1dcb9bf3b re PR fortran/30381 ([4.1 only] ISHFTC() constant folding is broken.)
PR 30381
PR 30420
* fortran/simplify.c (convert_mpz_to_unsigned): New function.
	(convert_mpz_to_signed): New function, largely based on
	twos_complement().
	(twos_complement): Removed.
	(gfc_simplify_ibclr): Add conversions to and from an
	unsigned representation before bit-twiddling.
	(gfc_simplify_ibset): Same.
	(gfc_simplify_ishftc): Add checks for overly large
	constant arguments, only check the third argument if
	it's present, carry over high bits into	the result as
	appropriate, and perform the final conversion back to
	a signed representation using the correct sign bit.
	(gfc_simplify_not): Removed unnecessary masking.
* testsuite/gfortran.dg/
	* chkbits.f90: Added IBCLR tests; test calls for
	different integer kinds.
	* ishft.f90: Renamed to ishft_1.f90...
	* ishft_1.f90: ...Renamed from ishft.f90.
	* ishft_2.f90: New test.
	* ishft_3.f90: New test.

From-SVN: r120634
2007-01-09 21:46:13 -08:00
boehm-gc
config
contrib
fixincludes
gcc re PR fortran/30381 ([4.1 only] ISHFTC() constant folding is broken.) 2007-01-09 21:46:13 -08:00
gnattools
include
INSTALL
intl
libada
libcpp
libdecnumber
libffi
libgcc t-linux (TARGET_LIBGCC2_CFLAGS): Delete. 2007-01-09 10:50:23 +00:00
libgfortran
libgomp
libiberty
libjava Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
libmudflap
libobjc
libssp
libstdc++-v3
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog MAINTAINERS: Add myself as i386 maintainer. 2007-01-09 10:34:45 +01:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Regenerate configure after updating configure.in 2007-01-09 07:35:39 +00:00
configure.in * configure.in: Add support for an x86_64-mingw* target. 2007-01-08 18:04:46 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS MAINTAINERS: Add myself as i386 maintainer. 2007-01-09 10:34:45 +01:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.