<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gcc.git, branch devel/omp/gcc-15</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/'/>
<entry>
<title>Merge branch 'releases/gcc-15' into devel/omp/gcc-15</title>
<updated>2025-11-05T11:59:58+00:00</updated>
<author>
<name>Tobias Burnus</name>
<email>tburnus@baylibre.com</email>
</author>
<published>2025-11-05T11:59:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=6816d10a43054983e14d15d5e83e3b08fedddc5d'/>
<id>6816d10a43054983e14d15d5e83e3b08fedddc5d</id>
<content type='text'>
Merge up to r15-10483-gcc39aed963b5c6 (5 Nov 2025)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge up to r15-10483-gcc39aed963b5c6 (5 Nov 2025)
</pre>
</div>
</content>
</entry>
<entry>
<title>ChangeLog.omp bump</title>
<updated>2025-11-05T11:58:54+00:00</updated>
<author>
<name>Tobias Burnus</name>
<email>tburnus@baylibre.com</email>
</author>
<published>2025-11-05T11:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=4dafab69aeee2a6a94b84147dd9dae3f1e975dec'/>
<id>4dafab69aeee2a6a94b84147dd9dae3f1e975dec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>OpenMP/Fortran: Fix skipping unmatchable metadirectives [PR122570]</title>
<updated>2025-11-05T11:58:21+00:00</updated>
<author>
<name>Tobias Burnus</name>
<email>tburnus@baylibre.com</email>
</author>
<published>2025-11-05T11:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=9bfe96472733b935dc71017dbb880fd8f704f88e'/>
<id>9bfe96472733b935dc71017dbb880fd8f704f88e</id>
<content type='text'>
Fix a bug in the removal code of always false variants in metadirectives.

	PR fortran/122570

gcc/fortran/ChangeLog:

	* openmp.cc (resolve_omp_metadirective): Fix 'skip' of
	never matchable metadirective variants.

gcc/testsuite/ChangeLog:

	* gfortran.dg/gomp/pr122570.f: New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a bug in the removal code of always false variants in metadirectives.

	PR fortran/122570

gcc/fortran/ChangeLog:

	* openmp.cc (resolve_omp_metadirective): Fix 'skip' of
	never matchable metadirective variants.

gcc/testsuite/ChangeLog:

	* gfortran.dg/gomp/pr122570.f: New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Daily bump.</title>
<updated>2025-11-05T00:26:25+00:00</updated>
<author>
<name>GCC Administrator</name>
<email>gccadmin@gcc.gnu.org</email>
</author>
<published>2025-11-05T00:26:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=cc39aed963b5c6044baf37c074413b6273303419'/>
<id>cc39aed963b5c6044baf37c074413b6273303419</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ChangeLog.omp bump</title>
<updated>2025-11-04T15:15:38+00:00</updated>
<author>
<name>Paul-Antoine Arras</name>
<email>parras@baylibre.com</email>
</author>
<published>2025-11-04T15:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=68cb993c6aca99e642296735e49dd21e30d40347'/>
<id>68cb993c6aca99e642296735e49dd21e30d40347</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>OpenMP/Fortran: Revamp handling of labels in metadirectives [PR122369,PR122508]</title>
<updated>2025-11-04T15:15:15+00:00</updated>
<author>
<name>Paul-Antoine Arras</name>
<email>parras@baylibre.com</email>
</author>
<published>2025-10-28T16:27:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=9425fa843aecea5f130539ef286a1fd656073959'/>
<id>9425fa843aecea5f130539ef286a1fd656073959</id>
<content type='text'>
When a label is matched in the first statement after the end of a metadirective
body, it is bound to the associated region. However this prevents it from being
referenced elsewhere.
This patch fixes it by rebinding such labels to the outer region. It also
ensures that labels defined in an outer region can be referenced in a
metadirective body.

	PR fortran/122369
	PR fortran/122508

gcc/fortran/ChangeLog:
	* gfortran.h (gfc_rebind_label): Declare new function.
	* parse.cc (parse_omp_metadirective_body): Rebind labels to the outer
	region. Maintain a vector of metadirective regions.
	(gfc_parse_file): Initialise it.
	* parse.h (GFC_PARSE_H): Declare it.
	* symbol.cc (gfc_get_st_label): Look for existing labels in outer
	metadirective regions.
	(gfc_rebind_label): Define new function.
	(gfc_define_st_label): Accept duplicate labels in metadirective body.
	(gfc_reference_st_label): Accept shared DO termination labels in
	metadirective body.

gcc/testsuite/ChangeLog:

	* gfortran.dg/gomp/pr122369-1.f90: New test.
	* gfortran.dg/gomp/pr122369-2.f90: New test.
	* gfortran.dg/gomp/pr122369-3.f90: New test.
	* gfortran.dg/gomp/pr122369-4.f90: New test.
	* gfortran.dg/gomp/pr122508-1.f90: New test.
	* gfortran.dg/gomp/pr122508-2.f90: New test.

(cherry picked from commit 7fa8420170b7a8ca40d7414ddcddaed425442cee)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a label is matched in the first statement after the end of a metadirective
body, it is bound to the associated region. However this prevents it from being
referenced elsewhere.
This patch fixes it by rebinding such labels to the outer region. It also
ensures that labels defined in an outer region can be referenced in a
metadirective body.

	PR fortran/122369
	PR fortran/122508

gcc/fortran/ChangeLog:
	* gfortran.h (gfc_rebind_label): Declare new function.
	* parse.cc (parse_omp_metadirective_body): Rebind labels to the outer
	region. Maintain a vector of metadirective regions.
	(gfc_parse_file): Initialise it.
	* parse.h (GFC_PARSE_H): Declare it.
	* symbol.cc (gfc_get_st_label): Look for existing labels in outer
	metadirective regions.
	(gfc_rebind_label): Define new function.
	(gfc_define_st_label): Accept duplicate labels in metadirective body.
	(gfc_reference_st_label): Accept shared DO termination labels in
	metadirective body.

gcc/testsuite/ChangeLog:

	* gfortran.dg/gomp/pr122369-1.f90: New test.
	* gfortran.dg/gomp/pr122369-2.f90: New test.
	* gfortran.dg/gomp/pr122369-3.f90: New test.
	* gfortran.dg/gomp/pr122369-4.f90: New test.
	* gfortran.dg/gomp/pr122508-1.f90: New test.
	* gfortran.dg/gomp/pr122508-2.f90: New test.

(cherry picked from commit 7fa8420170b7a8ca40d7414ddcddaed425442cee)
</pre>
</div>
</content>
</entry>
<entry>
<title>Ada: Fix visibility bug related to target name</title>
<updated>2025-11-04T12:14:45+00:00</updated>
<author>
<name>Bob Duff</name>
<email>duff@adacore.com</email>
</author>
<published>2025-08-20T18:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=3c42004d6e1524ce18f9f456b1cf8a78d54fc0b2'/>
<id>3c42004d6e1524ce18f9f456b1cf8a78d54fc0b2</id>
<content type='text'>
This patch fixes the following bug:
If the right-hand side of an expression contains a target name
(i.e. "@"), and also contains a reference to a user-defined operator
that is directly visible because of a "use type" clause on a renaming of
the package where the operator is declared, the compiler gives an
incorrect error saying that the renamed package is not visible.

It turns out that setting Entity of resolved nodes is unnecessary
and wrong; the fix is to simply remove that code.

gcc/ada/ChangeLog:
	PR ada/118208
	* exp_ch5.adb
	(Expand_Assign_With_Target_Names.Replace_Target):
	Remove code setting Entity to Empty.
	* sinfo.ads (Has_Target_Names):
	Improve comment: add "@" to clarify what "target name"
	means, and remove the content-free phrase "and must
	be expanded accordingly."
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes the following bug:
If the right-hand side of an expression contains a target name
(i.e. "@"), and also contains a reference to a user-defined operator
that is directly visible because of a "use type" clause on a renaming of
the package where the operator is declared, the compiler gives an
incorrect error saying that the renamed package is not visible.

It turns out that setting Entity of resolved nodes is unnecessary
and wrong; the fix is to simply remove that code.

gcc/ada/ChangeLog:
	PR ada/118208
	* exp_ch5.adb
	(Expand_Assign_With_Target_Names.Replace_Target):
	Remove code setting Entity to Empty.
	* sinfo.ads (Has_Target_Names):
	Improve comment: add "@" to clarify what "target name"
	means, and remove the content-free phrase "and must
	be expanded accordingly."
</pre>
</div>
</content>
</entry>
<entry>
<title>c++: Don't constrain template visibility using no-linkage variables [PR122253]</title>
<updated>2025-11-04T10:46:18+00:00</updated>
<author>
<name>Nathaniel Shead</name>
<email>nathanieloshead@gmail.com</email>
</author>
<published>2025-10-16T11:51:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=934b2d4ad4470b0acf8711d7406c65490877ac52'/>
<id>934b2d4ad4470b0acf8711d7406c65490877ac52</id>
<content type='text'>
When finding the minimal visibility of a template, any reference to a
dependent automatic variable will cause the instantiation to be marked
as internal linkage.  However, when processing the template decl we
don't yet know whether that should actually be the case, as a given
instantiation may not require referencing the local decl in its
mangling.

This patch fixes the issue by checking for no-linkage decls first, in
which case we just constrain using the type of the entity.  We can't use
a check for lk_external/lk_internal in the other cases, as
instantiations referring to internal types can still have external
linkage as determined by the language, but should still constrain the
visibility of any declarations that refer to them.

	PR c++/122253

gcc/cp/ChangeLog:

	* decl2.cc (min_vis_expr_r): Don't mark no-linkage declarations
	as VISIBILITY_ANON.

gcc/testsuite/ChangeLog:

	* g++.dg/modules/internal-16.C: New test.

Signed-off-by: Nathaniel Shead &lt;nathanieloshead@gmail.com&gt;
Reviewed-by: Patrick Palka &lt;ppalka@redhat.com&gt;
Reviewed-by: Jason Merrill &lt;jason@redhat.com&gt;
(cherry picked from commit f062a6b7985fcee82e02b626aada4e0824850bd0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When finding the minimal visibility of a template, any reference to a
dependent automatic variable will cause the instantiation to be marked
as internal linkage.  However, when processing the template decl we
don't yet know whether that should actually be the case, as a given
instantiation may not require referencing the local decl in its
mangling.

This patch fixes the issue by checking for no-linkage decls first, in
which case we just constrain using the type of the entity.  We can't use
a check for lk_external/lk_internal in the other cases, as
instantiations referring to internal types can still have external
linkage as determined by the language, but should still constrain the
visibility of any declarations that refer to them.

	PR c++/122253

gcc/cp/ChangeLog:

	* decl2.cc (min_vis_expr_r): Don't mark no-linkage declarations
	as VISIBILITY_ANON.

gcc/testsuite/ChangeLog:

	* g++.dg/modules/internal-16.C: New test.

Signed-off-by: Nathaniel Shead &lt;nathanieloshead@gmail.com&gt;
Reviewed-by: Patrick Palka &lt;ppalka@redhat.com&gt;
Reviewed-by: Jason Merrill &lt;jason@redhat.com&gt;
(cherry picked from commit f062a6b7985fcee82e02b626aada4e0824850bd0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Daily bump.</title>
<updated>2025-11-04T00:26:35+00:00</updated>
<author>
<name>GCC Administrator</name>
<email>gccadmin@gcc.gnu.org</email>
</author>
<published>2025-11-04T00:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=7503954945b71d13e28acd457301978b3b6482cc'/>
<id>7503954945b71d13e28acd457301978b3b6482cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[PR rtl-optimization/122321][RISC-V] Bounds check another access to ira_reg_equiv array</title>
<updated>2025-11-03T21:07:11+00:00</updated>
<author>
<name>Jeff Law</name>
<email>jlaw@ventanamicro.com</email>
</author>
<published>2025-11-01T14:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=33eebbfdc25e9d7a0e7411ee83bc86a0dd64d755'/>
<id>33eebbfdc25e9d7a0e7411ee83bc86a0dd64d755</id>
<content type='text'>
So another case where we're indexing into the ira_reg_equiv array without
checking bounds.  I sincerely hope we're not playing wack-a-mole here, but two
failures in a couple months for the same core problem is worrisome.

Bootstrapped and regression tested on x86_64 and riscv64 as well as run through
all the embedded targets in my tester without regressions.

	PR rtl-optimization/122321
gcc/
	* lra-constraints.cc (update_equiv): Make sure REGNO is in
	ira_reg_equiv before trying to update ira_reg_equiv.

gcc/testsuite/
	* gcc.target/riscv/rvv/autovec/pr122321.c: New test.

(cherry picked from commit ac3eeb987ad04923ddc57a9dc9bd4ec98146a981)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So another case where we're indexing into the ira_reg_equiv array without
checking bounds.  I sincerely hope we're not playing wack-a-mole here, but two
failures in a couple months for the same core problem is worrisome.

Bootstrapped and regression tested on x86_64 and riscv64 as well as run through
all the embedded targets in my tester without regressions.

	PR rtl-optimization/122321
gcc/
	* lra-constraints.cc (update_equiv): Make sure REGNO is in
	ira_reg_equiv before trying to update ira_reg_equiv.

gcc/testsuite/
	* gcc.target/riscv/rvv/autovec/pr122321.c: New test.

(cherry picked from commit ac3eeb987ad04923ddc57a9dc9bd4ec98146a981)
</pre>
</div>
</content>
</entry>
</feed>
