Go to file
Roger Sayle bfcabc6ce2 re PR fortran/30404 ([4.1 only] Wrong FORALL result)
2007-01-16  Roger Sayle  <roger@eyesopen.com>

	PR fortran/30404
	* trans-stmt.c (forall_info): Remove pmask field.
	(gfc_trans_forall_loop): Remove NVAR argument, instead assume that
	NVAR covers all the interation variables in the current forall_info.
	Add an extra OUTER parameter, which specified the loop header in
	which to place mask index initializations.
	(gfc_trans_nested_forall_loop): Remove NEST_FLAG argument.
	Change the semantics of MASK_FLAG to only control the mask in the
	innermost loop.
	(compute_overall_iter_number): Optimize the trivial case of a
	top-level loop having a constant number of iterations.  Update
	call to gfc_trans_nested_forall_loop.  Calculate the number of
	times the inner loop will be executed, not to size of the 
	iteration space.
	(allocate_temp_for_forall_nest_1): Reuse SIZE as BYTESIZE when
	sizeof(type) == 1.  Tidy up.
	(gfc_trans_assign_need_temp): Remove NEST_FLAG argument from calls
	to gfc_trans_nested_forall_loop.
	(gfc_trans_pointer_assign_need_temp): Likewise.
	(gfc_trans_forall_1): Remove unused BYTESIZE, TMPVAR, SIZEVAR and
	LENVAR local variables.  Split mask allocation into a separate
	hunk/pass from mask population.  Use allocate_temp_for_forall_nest
	to allocate the FORALL mask with the correct size.  Update calls
	to gfc_trans_nested_forall_loop.
	(gfc_evaluate_where_mask): Update call to
	gfc_trans_nested_forall_loop.
	(gfc_trans_where_2): Likewise.

	* gfortran.dg/forall_6.f90: New test case.
	* gfortran.dg/dependency_8.f90: Update test to find "temp" array.
	* gfortran.dg/dependency_13.f90: Likewise.


Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>

From-SVN: r120829
2007-01-16 18:15:19 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
boehm-gc os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail reference. 2007-01-15 22:24:42 +01:00
config ld-symbolic.m4: New. 2007-01-14 07:38:18 -08:00
contrib sourcebuild.texi (libgcj Tests): Don't mention jacks. 2007-01-15 21:49:31 +00:00
fixincludes Set SKIP_TEST flag if we are not to run a test. 2007-01-06 20:02:22 +00:00
gcc re PR fortran/30404 ([4.1 only] Wrong FORALL result) 2007-01-16 18:15:19 +00:00
gnattools --(top level)-------------------------------------------- 2006-10-10 16:48:09 -07:00
include * ansidecl.h (ATTRIBUTE_PACKED): Define. 2006-12-06 18:08:51 +00:00
intl Makefile.in (distclean): Delete config files. 2006-09-27 18:51:52 +09:30
libada re PR ada/29802 (wrong directory in makefile for ada and libada when srcdir=.) 2006-11-17 10:31:47 +00:00
libcpp re PR preprocessor/28227 (valid #ifdef rejected) 2007-01-12 19:46:49 +00:00
libdecnumber decRound.c: Move declarations to new file, update comments. 2006-11-29 18:34:56 +00:00
libffi configure.ac: Add TARGET for x86_64-*-darwin*. 2006-12-14 08:34:45 +01:00
libgcc t-linux (TARGET_LIBGCC2_CFLAGS): Delete. 2007-01-09 10:50:23 +00:00
libgfortran re PR fortran/30435 (Slash at end of input not recognized according to standard) 2007-01-12 23:10:27 +00:00
libgomp configure: Rebuilt. 2007-01-16 02:57:41 +00:00
libiberty * pex-unix.c (writeerr): Cast write result to void. 2007-01-12 13:21:26 +11:00
libjava jvmti.cc (_Jv_JVMTI_GetAllThreads): New function. 2007-01-16 15:06:28 +00:00
libmudflap tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking if static linking doesn't even work. 2006-12-04 11:10:38 +00:00
libobjc In gcc/: PR 23067 2006-11-01 05:28:41 +00:00
libssp Index: config/ChangeLog 2006-10-15 07:42:57 +00:00
libstdc++-v3 type_traits.h: Fix __glibcxx_max macro. 2007-01-16 00:01:24 +00:00
maintainer-scripts crontab: Spread snapshots more evenly throughout the week, and in "ascending" order. 2007-01-05 08:34:18 +00:00
zlib Makefile.am: Add html and install-html stubs. 2006-06-13 21:15:06 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +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
ChangeLog Added <harsha.jagasia@amd.com> to MAINTAINERS file with Write After Approval access 2007-01-11 18:05:59 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
MAINTAINERS Added <harsha.jagasia@amd.com> to MAINTAINERS file with Write After Approval access 2007-01-11 18:05:59 +00:00
Makefile.def [multiple changes] 2007-01-11 11:20:44 +00:00
Makefile.in [multiple changes] 2007-01-11 11:20:44 +00:00
Makefile.tpl [multiple changes] 2007-01-11 11:20:44 +00:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
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 latest version. 2006-12-11 15:11:34 +11:00
config.rpath all files: Update FSF address. 2005-07-16 02:30:53 +00:00
config.sub config.guess: Import latest version. 2006-12-11 15:11:34 +11:00
configure configure.in: Change == to = in test command. 2007-01-11 14:53:06 +00:00
configure.in configure.in: Change == to = in test command. 2007-01-11 14:53:06 +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
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
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
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

README

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.