Find a file
Andre Vehreschild 35f5601280 Fortran: Fix [Coarray] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950 [PR84246]
Fix ICE caused by converted expression already being pointer by checking
for its type.  Lift rewrite to caf_send completely into resolve and
prevent more temporary arrays.

	PR fortran/84246

gcc/fortran/ChangeLog:

	* resolve.cc (caf_possible_reallocate): Detect arrays that may
	be reallocated by caf_send.
	(resolve_ordinary_assign): More reliably detect assignments
	where a rewrite to caf_send is needed.
	* trans-expr.cc (gfc_trans_assignment_1): Remove rewrite to
	caf_send, because this is done by resolve now.
	* trans-intrinsic.cc (conv_caf_send): Prevent unneeded temporary
	arrays.

libgfortran/ChangeLog:

	* caf/single.c (send_by_ref): Created array's lbound is now 1
	and the offset set correctly.

gcc/testsuite/ChangeLog:

	* gfortran.dg/coarray_allocate_7.f08: Adapt to array being
	allocate by caf_send.
2024-08-20 09:32:09 +02:00
.github
c++tools
config
contrib Daily bump. 2024-08-02 00:18:55 +00:00
fixincludes Daily bump. 2024-07-12 00:17:52 +00:00
gcc Fortran: Fix [Coarray] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950 [PR84246] 2024-08-20 09:32:09 +02:00
gnattools Daily bump. 2024-07-08 00:17:01 +00:00
gotools
include Daily bump. 2024-08-10 00:17:05 +00:00
INSTALL
libada
libatomic Daily bump. 2024-07-19 00:18:20 +00:00
libbacktrace Daily bump. 2024-08-06 00:17:19 +00:00
libcc1
libcody
libcpp Daily bump. 2024-08-07 00:16:52 +00:00
libdecnumber
libffi Daily bump. 2024-07-02 00:17:36 +00:00
libgcc Daily bump. 2024-06-15 00:16:29 +00:00
libgfortran Fortran: Fix [Coarray] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950 [PR84246] 2024-08-20 09:32:09 +02:00
libgm2
libgo
libgomp Daily bump. 2024-08-10 00:17:05 +00:00
libgrust Daily bump. 2024-08-02 00:18:55 +00:00
libiberty Daily bump. 2024-08-06 00:17:19 +00:00
libitm
libobjc
libphobos
libquadmath Daily bump. 2024-08-04 00:17:30 +00:00
libsanitizer
libssp
libstdc++-v3 Daily bump. 2024-08-19 00:18:24 +00:00
libvtv
lto-plugin
maintainer-scripts Daily bump. 2024-07-20 00:17:53 +00:00
zlib
.b4-config Add config file so b4 uses inbox.sourceware.org automatically 2024-07-28 11:13:16 +01:00
.dir-locals.el dir-locals: apply our C settings in C++ also 2024-07-31 20:38:27 +02:00
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2024-08-08 00:18:23 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure build: Fix missing variable quotes and typo 2024-06-20 10:58:37 +08:00
configure.ac build: Fix missing variable quotes and typo 2024-06-20 10:58:37 +08:00
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS MAINTAINERS: Change my contact email in MAINTAINERS file. 2024-08-07 04:55:37 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
SECURITY.txt
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.