Skip to content

Releases: rust-lang/gcc

master-40548c15f62ed1939ec716bc0bebeaf2226e7d2d: libgccjit: Allow sending a const pointer as argument

gcc/jit/ChangeLog:

	* jit-recording.h: Remove memento_of_get_const::accepts_writes_from,
	memento_of_get_type::is_same_type_as: new method.

gcc/testsuite/ChangeLog:

	* jit.dg/all-non-failing-tests.h: Add test-const-pointer-argument.c.
	* jit.dg/test-const-pointer-argument.c: New test.

master-ec8ae43f9c04597011299d0d5d031d8074f3115d: jit: Fix volatile loads and stores

Related to PR d/110516 but for libgccjit.

2024-01-03  Martin Rodriguez Reboredo  <yakoyoku@gmail.com>

gcc/jit/
	* jit-playback.cc: Append TREE_THIS_VOLATILE and TREE_SIDE_EFFECTS to
	a dereference if underlying type is volatile.

Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>

master-5de134edfc6e65c4841bddcc5082050426299613: jit: Fix volatile loads and stores

Related to PR d/110516 but for libgccjit.

2024-01-03  Martin Rodriguez Reboredo  <yakoyoku@gmail.com>

gcc/jit/
	* jit-playback.cc: Append TREE_THIS_VOLATILE and TREE_SIDE_EFFECTS to
	a dereference if underlying type is volatile.

Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>

master-50d1270fd6409407f38b982e606df1dba4bf58ed: jit: Fix volatile loads and stores

Related to PR d/110516 but for libgccjit.

2024-01-03  Martin Rodriguez Reboredo  <yakoyoku@gmail.com>

gcc/jit/
	* jit-playback.cc: Append TREE_THIS_VOLATILE and TREE_SIDE_EFFECTS to
	a dereference if underlying type is volatile.

Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>

master-88b2da3c175d34d65415f69961420f35ac1a1c56

Switch from clear_builtin_types to TARGET_CLEANUP_BUILTINS

master-85e56c596fb599e0259293298f47a9aa6366c6ee

Remove target builtin cleanup as it no longer seems necessary

master-4787e395f8665cba582cec27def826202d3c50ea

Switch from clear_builtin_types to TARGET_CLEANUP_BUILTINS

master-b4002fd1dc353de13e0f77f536199680f718ba9d

master-29901846ff610daab8a80436cfe36e93b4b5aa1e

master-c16f53a752ed2b679fafe88d4ec795fe54a245ac