Find a file
François-Xavier Coudert 0e7e7e6e82 re PR fortran/16580 ([4.1 only] gfortran ICE on test g77.f-torture/execute/intrinsic77.f)
PR fortran/16580
	PR fortran/29288

	* gcc/fortran/intrinsic.c (add_sym): Define the actual_ok when a
	gfc_intrinsic_sym structure is filled.
	(gfc_intrinsic_actual_ok): New function.
	(add_sym_0s, add_sym_1s, add_sym_2s, add_sym_3s, add_sym_4s,
	add_sym_5s): Intrinsic subroutines are not allowed as actual
	arguments, so we remove argument actual_ok.
	(add_functions): Correct the values for actual_ok of all intrinsics.
	(add_subroutines): Remove the actual_ok argument, which was never used.
	* gcc/fortran/intrinsic.h (gfc_intrinsic_actual_ok): New prototype.
	* gcc/fortran/gfortran.h (gfc_resolve_index_func): New prototype.
	* gcc/fortran/resolve.c (resolve_actual_arglist): Check whether
	an intrinsic used as an argument list is allowed there.
	* gcc/fortran/iresolve.c (gfc_resolve_index_func): New function.
	(gfc_resolve_len): Change intrinsic function name to agree with
	libgfortran.
	* gcc/fortran/trans-decl.c (gfc_get_extern_function_decl): Add
	new case, because some specific intrinsics take 3 arguments.
	* gcc/fortran/intrinsic.texi: DIMAG is a GNU extension.

	* libgfortran/Makefile.am: Add the new files to the build
	process, and rules to build them.
	* libgfortran/Makefile.in: Regenerate.
	* libgfortran/m4/misc_specifics.m4: New file.
	* libgfortran/m4/specific.m4: Add new special cases for function
	with complex argument and real result, like abs_c* and aimag_c*.
	* libgfortran/intrinsics/f2c_specifics.F90: Add specifics for
	AIMAG, ASINH, ACOSH and ATANH.
	* libgfortran/generated/_aimag_c4.F90: New file.
	* libgfortran/generated/_aimag_c8.F90: New file.
	* libgfortran/generated/_asinh_r10.F90: New file.
	* libgfortran/generated/_acosh_r16.F90: New file.
	* libgfortran/generated/_aimag_c10.F90: New file.
	* libgfortran/generated/_atanh_r16.F90: New file.
	* libgfortran/generated/_acosh_r4.F90: New file.
	* libgfortran/generated/_acosh_r8.F90: New file.
	* libgfortran/generated/_asinh_r4.F90: New file.
	* libgfortran/generated/_asinh_r8.F90: New file.
	* libgfortran/generated/_asinh_r16.F90: New file.
	* libgfortran/generated/_atanh_r4.F90: New file.
	* libgfortran/generated/_atanh_r8.F90: New file.
	* libgfortran/generated/_acosh_r10.F90: New file.
	* libgfortran/generated/misc_specifics.F90: New file.
	* libgfortran/generated/_aimag_c16.F90: New file.
	* libgfortran/generated/_atanh_r10.F90: New file.

	* gcc/testsuite/gfortran.fortran-torture/execute/specifics.f90:
	Add tests for using all possible intrinsics as actual arguments.
	* gcc/testsuite/gfortran.dg/specifics_1.f90: Add tests for using
	all possible intrinsics as actual arguments.
	* gcc/testsuite/gfortran.dg/specifics_2.f90: New file.
	* gcc/testsuite/gfortran.dg/specifics_3.f90: New file.

From-SVN: r117534
2006-10-07 13:34:16 +00:00
boehm-gc re PR boehm-gc/29180 (boehm-gc/darwin_stop_world.c not 64-bit clean) 2006-09-26 17:21:32 +00:00
config tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to GCC_ENABLE. 2006-09-19 01:48:06 +00:00
contrib * compareSumTests3: POD syntax fix. 2006-09-28 02:03:46 +00:00
fixincludes * ChangeLog: Add missing entries to last entry. 2006-10-03 08:33:02 +02:00
gcc re PR fortran/16580 ([4.1 only] gfortran ICE on test g77.f-torture/execute/intrinsic77.f) 2006-10-07 13:34:16 +00:00
gnattools Makefile.in: Add html and install-html targets. 2006-06-03 17:16:11 +00:00
include Patch to provide pex_run_in_environment. 2006-06-01 10:30:51 +00:00
INSTALL
intl Makefile.in (distclean): Delete config files. 2006-09-27 18:51:52 +09:30
libada Makefile.in: Add install-html target. 2006-05-24 01:38:00 +00:00
libcpp configure.ac: Make need_64_bit_hwint case for x86-darwin match exactly the glob in gcc/config.gcc. 2006-09-22 23:26:20 +00:00
libdecnumber decNumber.c (decNumberPower): Constify. 2006-09-16 02:54:29 +00:00
libffi re PR libffi/23935 ($PREFIX/include/ffi.h needs to go to a target- and -version-dependent location) 2006-09-12 16:51:43 +00:00
libgfortran re PR fortran/16580 ([4.1 only] gfortran ICE on test g77.f-torture/execute/intrinsic77.f) 2006-10-07 13:34:16 +00:00
libgomp barrier-1.c: Change timestamp tests from '<' to '<='. 2006-10-06 08:32:33 +00:00
libiberty re PR other/29176 (Seg fault in demangler) 2006-09-22 13:52:29 +00:00
libjava 2006-10-05 Gary Benson <gbenson@redhat.com> 2006-10-05 09:32:57 +00:00
libmudflap tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to GCC_ENABLE. 2006-09-19 01:48:06 +00:00
libobjc Fix some whitespace issues in the changelog. 2006-09-12 00:44:18 -07:00
libssp re PR other/25035 (libssp causes a failure with cross compilers with unified trees) 2006-09-29 22:18:51 +01:00
libstdc++-v3 stl_tree.h (_Rb_tree<>::erase(const _Key&)): Don't call std::distance unnecessarily. 2006-10-07 08:20:35 +00:00
maintainer-scripts * gcc_release (LC_ALL): Default to C. 2006-09-18 17:07:14 +00:00
zlib Makefile.am: Add html and install-html stubs. 2006-06-13 21:15:06 +00:00
ABOUT-NLS
ChangeLog MAINTAINERS (Write After Approval): Add myself. 2006-10-04 11:30:49 -07:00
ChangeLog.tree-ssa
compile COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
config-ml.in config-ml.in: Alter CCASFLAGS to include special multilib options the same as is done for CFLAGS. 2006-06-13 16:48:23 -04:00
config.guess config.guess: Import from src (was more updated). 2006-07-25 08:41:02 +00:00
config.rpath all files: Update FSF address. 2005-07-16 02:30:53 +00:00
config.sub config.guess: Import from src (was more updated). 2006-07-25 08:41:02 +00:00
configure re PR fortran/28276 (EXPONENT() broken for real constants) 2006-09-27 20:15:22 +00:00
configure.in re PR fortran/28276 (EXPONENT() broken for real constants) 2006-09-27 20:15:22 +00:00
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
depcomp top level: 2005-06-13 08:26:05 +00:00
install-sh COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
libtool-ldflags libtool-ldflags: New script. 2006-01-03 00:30:27 +00:00
libtool.m4 all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltcf-c.sh ltcf-c.sh (whole_archive_flag_spec): Remove '-all_load $convenience' to match upstream libtool for darwin. 2005-11-18 23:53:08 +01:00
ltcf-cxx.sh all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltcf-gcj.sh all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltconfig ltconfig: chmod 644 before ranlib during install. 2006-07-04 20:20:01 +00:00
ltmain.sh Port to hosts whose 'sort' and 'tail' implementations treat operands with leading '+' as file names... 2006-07-06 23:24:51 +00:00
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2006-10-04 11:30:49 -07:00
Makefile.def Makefile.def: Add dependencies for configure-opcodes on configure-intl and all-opcodes on... 2006-07-17 19:06:27 +02:00
Makefile.in Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir for stages after the first. 2006-07-18 11:48:36 +00:00
Makefile.tpl Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir for stages after the first. 2006-07-18 11:48:36 +00:00
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep
mkinstalldirs COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
README
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00

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.