Victor Do Nascimento 57acdcf3fb vect: Fix dominator update [PR123152]
The `recompute_dominator' function used in the code fragment within
this patch assumes correctness in the rest of the CFG. Consequently,
it is wrong to rely upon it before the subsequent updates are made in
the "Update dominators for multiple exits" loop in the function.

Furthermore, if `loop_exit' == `scalar_exit', the "Update dominators for
multiple exits" logic will already take care of updating the
dominator for `scalar_exit->dest', such that the moved statement is
unnecessary.

gcc/ChangeLog:

	PR tree-optimization/123152
	* tree-vect-loop-manip.cc
	(slpeel_tree_duplicate_loop_to_edge_cfg): Correct order of
	dominator update.

gcc/testsuite/ChangeLog:

	* gcc.dg/vect/vect-uncounted-prolog-peel_2.c: New.
	* gcc.dg/vect/vect-uncounted-prolog-peel_3.c: Likewise.
	* g++.dg/vect/vect-uncounted-prolog-peel_1.cc: Likewise.
2025-12-19 23:26:32 +00:00
2025-12-10 00:16:32 +00:00
2025-12-16 00:16:36 +00:00
2025-08-29 00:19:55 +00:00
2025-12-19 23:26:32 +00:00
2025-12-13 00:16:34 +00:00
2025-12-12 00:16:34 +00:00
2025-11-07 00:20:18 +00:00
2025-12-02 09:47:45 +00:00
2025-11-22 00:20:52 +00:00
2025-12-11 00:16:27 +00:00
2025-11-04 00:20:26 +00:00
2025-12-17 00:16:30 +00:00
2025-12-16 00:16:36 +00:00
2025-11-30 00:16:27 +00:00
2025-12-16 00:16:36 +00:00
2025-11-24 00:18:45 +00:00
2025-11-04 00:20:26 +00:00
2025-12-01 00:16:36 +00:00
2025-12-13 00:16:34 +00:00
2025-11-04 00:20:26 +00:00
2025-12-10 00:16:32 +00:00
2025-11-04 00:20:26 +00:00
2025-12-11 00:16:27 +00:00
2025-11-04 00:20:26 +00:00
2025-11-04 00:20:26 +00:00
2025-11-04 00:20:26 +00:00
2025-12-17 00:16:30 +00:00
2025-11-04 00:20:26 +00:00
2025-12-18 00:16:33 +00:00
2025-10-11 11:08:01 +02:00
2025-11-30 01:52:27 +01:00
2025-11-30 01:52:27 +01:00
2025-11-30 01:52:27 +01:00
2025-11-30 01:52:24 +01:00
2025-10-11 11:08:01 +02: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.
Description
No description provided
Readme 1.5 GiB
Languages
C++ 30.7%
C 30%
Ada 14.5%
D 6.1%
Go 5.7%
Other 12.5%