[PATCH v1 0/1] libgccjit: Fix volatile loads and stores
Antoni Boucher via Sourceware Forge
forge-bot@forge-test.rdfm.org
Wed Oct 15 20:15:09 GMT 2025
Hi gcc-patches mailing list,
Antoni Boucher <antoyo@noreply.localhost> has requested that the following forgejo pull request
be published on the mailing list.
Created on: 2025-10-15 20:10:20+00:00
Latest update: 2025-10-15 20:14:39+00:00
Changes: 7 changed files, 417 additions, 1 deletions
Head revision: antoyo/gcc ref fix/volatile-type commit a84814067ca5944328177f57c75bd69cb11d5376
Base revision: gcc/gcc-TEST ref trunk commit 99af0f9078865269ae13367a25e2b156c8ccba77 r16-4445-g99af0f90788652
Merge base: 99af0f9078865269ae13367a25e2b156c8ccba77
Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/106.diff
Discussion: https://forge.sourceware.org/gcc/gcc-TEST/pulls/106
Requested Reviewers:
```
Related to PR d/110516 but for libgccjit.
2024-01-03 Martin Rodriguez Reboredo <yakoyoku@gmail.com>
gcc/jit/ChangeLog:
* jit-playback.cc: Append TREE_THIS_VOLATILE and TREE_SIDE_EFFECTS
if underlying type is volatile.
gcc/testsuite/ChangeLog:
* jit.dg/all-non-failing-tests.h: Mention new tests.
* jit.dg/test-volatile1.c: New test.
* jit.dg/test-volatile2.c: New test.
* jit.dg/test-volatile3.c: New test.
* jit.dg/test-volatile4.c: New test.
* jit.dg/test-volatile5.c: New test.
Co-authored-by: Antoni Boucher <bouanto@zoho.com>
Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
```
Changed files:
- A: gcc/testsuite/jit.dg/test-volatile1.c
- A: gcc/testsuite/jit.dg/test-volatile2.c
- A: gcc/testsuite/jit.dg/test-volatile3.c
- A: gcc/testsuite/jit.dg/test-volatile4.c
- A: gcc/testsuite/jit.dg/test-volatile5.c
- M: gcc/jit/jit-playback.cc
- M: gcc/testsuite/jit.dg/all-non-failing-tests.h
Martin Rodriguez Reboredo (1):
libgccjit: Fix volatile loads and stores
gcc/jit/jit-playback.cc | 28 ++++++-
gcc/testsuite/jit.dg/all-non-failing-tests.h | 35 ++++++++
gcc/testsuite/jit.dg/test-volatile1.c | 58 +++++++++++++
gcc/testsuite/jit.dg/test-volatile2.c | 82 +++++++++++++++++++
gcc/testsuite/jit.dg/test-volatile3.c | 85 ++++++++++++++++++++
gcc/testsuite/jit.dg/test-volatile4.c | 70 ++++++++++++++++
gcc/testsuite/jit.dg/test-volatile5.c | 60 ++++++++++++++
7 files changed, 417 insertions(+), 1 deletion(-)
create mode 100644 gcc/testsuite/jit.dg/test-volatile1.c
create mode 100644 gcc/testsuite/jit.dg/test-volatile2.c
create mode 100644 gcc/testsuite/jit.dg/test-volatile3.c
create mode 100644 gcc/testsuite/jit.dg/test-volatile4.c
create mode 100644 gcc/testsuite/jit.dg/test-volatile5.c
--
2.50.1
More information about the Test-list
mailing list