<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gcc.git/libgo, branch trunk</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>runtime: avoid libc memmove and memclr</title>
<updated>2025-07-08T22:49:16+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-07-01T04:26:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=479872227c0ac284f3935cafe90c70348059a35c'/>
<id>479872227c0ac284f3935cafe90c70348059a35c</id>
<content type='text'>
The libc memmove and memclr don't reliably operate on full memory words.
We already avoided them on PPC64, but the same problem can occur even
on x86, where some processors use "rep movsb" and "rep stosb".
Always use C code that stores full memory words.

While we're here, clean up the C code. We don't need special handling
if the memmove/memclr pointers are not pointer-aligned.

Unfortunately, this will likely be slower. Perhaps some day we can
have our own assembly code that operates a word at a time,
or we can use different operations when we know there are no pointers.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/685178
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The libc memmove and memclr don't reliably operate on full memory words.
We already avoided them on PPC64, but the same problem can occur even
on x86, where some processors use "rep movsb" and "rep stosb".
Always use C code that stores full memory words.

While we're here, clean up the C code. We don't need special handling
if the memmove/memclr pointers are not pointer-aligned.

Unfortunately, this will likely be slower. Perhaps some day we can
have our own assembly code that operates a word at a time,
or we can use different operations when we know there are no pointers.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/685178
</pre>
</div>
</content>
</entry>
<entry>
<title>syscall: pass correct pointer to system call in recvmsgRaw</title>
<updated>2025-07-08T22:01:25+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-07-01T04:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=284e13279e8c8067f7a0046a7ca8ff7a16398feb'/>
<id>284e13279e8c8067f7a0046a7ca8ff7a16398feb</id>
<content type='text'>
The code in recvmsgRaw, introduced in https://go.dev/cl/384695,
incorrectly passed &amp;rsa to the recvmsg system call.
But in recvmsgRaw rsa is already a pointer passed by the caller.
This change passes the correct pointer.

I'm guessing that this didn't show up in the testsuite because
we run the tests in short mode.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/685177
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code in recvmsgRaw, introduced in https://go.dev/cl/384695,
incorrectly passed &amp;rsa to the recvmsg system call.
But in recvmsgRaw rsa is already a pointer passed by the caller.
This change passes the correct pointer.

I'm guessing that this didn't show up in the testsuite because
we run the tests in short mode.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/685177
</pre>
</div>
</content>
</entry>
<entry>
<title>libgo: bump libgo version for GCC 15 release</title>
<updated>2025-03-04T19:43:22+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-03-04T03:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=8d7762945bba3c8321b5856cee3d5e5aed55facf'/>
<id>8d7762945bba3c8321b5856cee3d5e5aed55facf</id>
<content type='text'>
For PR go/119098

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/654477
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For PR go/119098

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/654477
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto/tls: fix Config.Time in tests using expired certificates</title>
<updated>2025-01-06T17:59:32+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-01-04T23:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=ed1493e12ed75e837e9b9aa794ed24daf397df7c'/>
<id>ed1493e12ed75e837e9b9aa794ed24daf397df7c</id>
<content type='text'>
This is a backport of https://go.dev/cl/640237 from the main repo.

Fixes PR go/118286

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/640435
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a backport of https://go.dev/cl/640237 from the main repo.

Fixes PR go/118286

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/640435
</pre>
</div>
</content>
</entry>
<entry>
<title>syscall: don't define syscall stub on Hurd</title>
<updated>2024-10-30T18:33:07+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2024-10-29T22:39:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=aad9de322774c25e80f3ade6ecd96f45b62bf40a'/>
<id>aad9de322774c25e80f3ade6ecd96f45b62bf40a</id>
<content type='text'>
Patch from Samuel Thibault.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/623415
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch from Samuel Thibault.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/623415
</pre>
</div>
</content>
</entry>
<entry>
<title>runtime/testdata: fix for C23 nullptr keyword</title>
<updated>2024-10-19T03:18:31+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2024-10-19T02:51:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=04b4a5e4866daa7b6f4a4a3e7ed1a23f7787841d'/>
<id>04b4a5e4866daa7b6f4a4a3e7ed1a23f7787841d</id>
<content type='text'>
Backport https://go.dev/cl/620955 from main repo.  Original description:

    src/runtime/testdata/testprogcgo/threadprof.go contains C code with a
    variable called nullptr.  This conflicts with the nullptr keyword in
    the C23 revision of the C standard (showing up as gccgo test build
    failures when updating GCC to use C23 by default when building C
    code).

    Rename that variable to nullpointer to avoid the clash with the
    keyword (any other name that's not a keyword would work just as well).

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/621059
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport https://go.dev/cl/620955 from main repo.  Original description:

    src/runtime/testdata/testprogcgo/threadprof.go contains C code with a
    variable called nullptr.  This conflicts with the nullptr keyword in
    the C23 revision of the C standard (showing up as gccgo test build
    failures when updating GCC to use C23 by default when building C
    code).

    Rename that variable to nullpointer to avoid the clash with the
    keyword (any other name that's not a keyword would work just as well).

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/621059
</pre>
</div>
</content>
</entry>
<entry>
<title>runtime: dump registers on Solaris</title>
<updated>2024-04-29T18:39:58+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2024-04-28T20:30:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=a05efc8bf5ed329ea7d9b1740c326bdc6b04e37a'/>
<id>a05efc8bf5ed329ea7d9b1740c326bdc6b04e37a</id>
<content type='text'>
Patch by Rainer Orth &lt;ro@gcc.gnu.org&gt;.

Fixes PR go/106813

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/581724
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Rainer Orth &lt;ro@gcc.gnu.org&gt;.

Fixes PR go/106813

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/581724
</pre>
</div>
</content>
</entry>
<entry>
<title>runtime: use &lt;stdbool.h&gt;</title>
<updated>2024-04-29T17:59:28+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2024-04-28T16:57:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=678dc5e85053f1a1ca76997eec95ba8823bb6830'/>
<id>678dc5e85053f1a1ca76997eec95ba8823bb6830</id>
<content type='text'>
&lt;stdbool.h&gt; has been available since C99. Use it rather than defining
our own boolean type and values.

Fixes https://gcc.gnu.org/PR114875

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/582275
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;stdbool.h&gt; has been available since C99. Use it rather than defining
our own boolean type and values.

Fixes https://gcc.gnu.org/PR114875

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/582275
</pre>
</div>
</content>
</entry>
<entry>
<title>libgo: bump libgo version for GCC 14 release</title>
<updated>2024-02-05T19:28:30+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2024-02-02T23:05:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=f1412546ac8999b7f6eeeee8cf967ce3f31794c2'/>
<id>f1412546ac8999b7f6eeeee8cf967ce3f31794c2</id>
<content type='text'>
	PR go/113668

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/560676
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	PR go/113668

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/560676
</pre>
</div>
</content>
</entry>
<entry>
<title>libgo: better error messages for unknown GOARCH/GOOS</title>
<updated>2024-02-02T23:10:02+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2024-01-23T01:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=cfc6d9ae8143cf0e903384bc63e8d659ca1c9fe7'/>
<id>cfc6d9ae8143cf0e903384bc63e8d659ca1c9fe7</id>
<content type='text'>
	PR go/113530

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/557655
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	PR go/113530

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/557655
</pre>
</div>
</content>
</entry>
</feed>
