Eric Botcazou b0f02eeb90 Fix ICE on view conversion between struct and integer
This happens from prepare_gimple_addressable for the variable to be marked
with DECL_NOT_GIMPLE_REG_P when its initialization is gimplified, so it's
apparently just a matter of setting the flag earlier.

gcc/
	* gimplify.cc (lookup_tmp_var): Add NOT_GIMPLE_REG boolean parameter
	and set DECL_NOT_GIMPLE_REG_P on the variable according to it.
	(internal_get_tmp_var): Add NOT_GIMPLE_REG boolean parameter and
	pass it in the call to lookup_tmp_var.
	(get_formal_tmp_var): Pass false in the call to lookup_tmp_var.
	(get_initialized_tmp_var): Likewise.
	(prepare_gimple_addressable): Call internal_get_tmp_var instead of
	get_initialized_tmp_var with NOT_GIMPLE_REG set to true.

gcc/testsuite/
	* gnat.dg/opt98.ads, gnat.dg/opt98.adb: New test.
2022-07-14 12:18:42 +02:00
2022-06-02 00:16:32 +00:00
2022-07-05 00:16:36 +00:00
2022-07-13 00:16:33 +00:00
2022-06-03 00:16:40 +00:00
2022-07-09 00:16:54 +00:00
2022-06-28 00:16:58 +00:00
2022-06-04 00:16:27 +00:00
2022-07-14 00:16:48 +00:00
2022-05-21 00:16:32 +00:00
2022-06-26 00:16:33 +00:00
2022-06-30 00:16:46 +00:00
2022-07-13 00:16:33 +00:00
2022-07-14 11:34:02 +02:00
2022-06-03 00:16:40 +00:00
2022-07-05 00:16:36 +00:00
2022-07-07 00:16:46 +00:00
2022-07-13 00:16:33 +00:00
2022-07-13 00:16:33 +00:00
2022-05-21 00:16:32 +00:00
2022-05-28 09:38:29 -06:00
2022-07-05 00:16:36 +00:00
2022-06-28 09:41:07 -03:00

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.
S
Description
Yggdrasil port of the GNU Compiler Collection
Readme 978 MiB
Languages
C++ 33%
C 27.4%
Ada 13%
Go 7.1%
D 7%
Other 12.1%