[PATCH v2 0/1] libgccjit: Fix test-cold-attribute.c
Antoni Boucher via Sourceware Forge
forge-bot+antoyo@forge-stage.sourceware.org
Wed Apr 22 19:06:46 GMT 2026
Hi gcc-patches mailing list,
Antoni Boucher via Sourceware Forge <forge-bot+antoyo@forge-stage.sourceware.org> has requested that the following forgejo pull request
be published on the mailing list.
Created on: 2025-12-04 16:08:25+00:00
Latest update: 2025-12-21 14:24:11+00:00
Changes: 2 changed files, 4 additions, 4 deletions
Head revision: antoyo/gcc ref fix/jit-test-cold-attribute commit c6109d00276ea001d092e5326fc3a7e1f12bc331
Base revision: gcc/gcc-TEST ref trunk commit 56c6612598a07514a65ad5c0b25d12d1fc966e4c r16-5889-g56c6612598a075
Merge base: 56c6612598a07514a65ad5c0b25d12d1fc966e4c
Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/129.diff
Discussion: https://forge.sourceware.org/gcc/gcc-TEST/pulls/129
Requested Reviewers:
```
gcc/testsuite/ChangeLog:
* jit.dg/test-cold-attribute.c: Use -Oz to fix test.
```
Changed files:
- M: gcc/testsuite/jit.dg/all-non-failing-tests.h
- M: gcc/testsuite/jit.dg/test-cold-attribute.c
Antoni Boucher (1):
libgccjit: Fix test-cold-attribute.c
gcc/testsuite/jit.dg/all-non-failing-tests.h | 4 ++--
gcc/testsuite/jit.dg/test-cold-attribute.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Range-diff against v1:
1: f67d0e99a93e ! 1: c6109d00276e libgccjit: Fix test-cold-attribute.c
@@ Commit message
gcc/testsuite/ChangeLog:
+ * jit.dg/all-non-failing-tests.h: Update comment about
+ test-cold-attribute.c.
* jit.dg/test-cold-attribute.c: Use -Oz to fix test.
+ ## gcc/testsuite/jit.dg/all-non-failing-tests.h ##
+@@
+ #undef create_code
+ #undef verify_code
+
+-/* test-cold-attribute.c: This can't be in the testcases array as it needs
+- the `-O2` flag. */
++/* test-cold-attribute.c: This can't be in the testcases array as it needs a
++ specific optimization flag. */
+
+ /* test-constants.c */
+ #define create_code create_code_constants
+
## gcc/testsuite/jit.dg/test-cold-attribute.c ##
@@
#define TEST_ESCHEWS_SET_OPTIONS
--
2.54.0
More information about the Jit
mailing list