Piotr Trojanek dc9ecb41c8 [Ada] Detect infinite loops with operators in exit conditions
To warn about infinite loops we detect variables referenced in loop exit
conditions. We handle references within boolean operators, i.e.
comparison and negation, which are likely to appear at the top level of
the condition (e.g. "X > 0"). However, we can easily handle all
operators, because they are likely to appear inside the condition (e.g.
"abs (X) > 0.0").

Cleanup related to a new restriction No_Uninitialized_Local_Scalars.

gcc/ada/

	* sem_warn.adb (Find_Var): Detect all operators; replace
	"condition" to "expression" in comments, because when this
	routine is called recursively it no longer examines the
	condition.
	(Is_Suspicious_Function_Name): Reduce scope of a local variable
	to avoid shadowing with a parameter of a nested
	Substring_Present function.
2022-05-11 08:53:20 +00:00
2022-03-19 00:16:22 +00:00
2022-05-04 00:16:24 +00:00
2022-05-07 00:16:26 +00:00
2022-02-28 00:16:17 +00:00
2021-10-23 00:16:26 +00:00
2022-02-14 00:16:23 +00:00
2022-05-11 00:16:40 +00:00
2021-11-30 00:16:44 +00:00
2022-01-03 10:42:10 +01:00
2022-03-25 00:17:18 +00:00
2022-04-06 00:16:22 +00:00
2022-01-03 10:42:10 +01:00
2022-03-19 00:16:22 +00:00
2022-05-05 00:16:29 +00:00
2022-01-03 10:42:10 +01:00
2021-11-16 00:16:31 +00:00
2022-05-11 00:16:40 +00:00
2022-01-27 00:16:29 +00:00
2022-05-11 00:16:40 +00:00
2022-05-11 00:16:40 +00:00
2022-02-04 00:16:24 +00:00
2022-01-03 10:42:10 +01:00
2021-10-20 00:16:43 +00:00
2022-04-29 00:16:26 +00:00
2022-01-12 00:16:39 +00:00
2022-05-06 00:16:26 +00:00
2022-01-03 10:42:10 +01:00
2022-05-11 00:16:40 +00:00
2022-01-03 10:42:10 +01:00
2022-05-05 00:16:29 +00:00
2022-04-29 00:16:26 +00:00
2021-12-17 00:16:20 +00:00
2021-06-24 16:51:40 +05:30
2022-05-10 00:17:14 +00:00
2021-12-21 09:10:57 +01:00
2022-03-29 17:43:32 +08: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%