Skip to content

Commit 345c3ae

Browse files
yoneymeta-codesync[bot]
authored andcommitted
Remove gnu::always_inline from function call
Summary: Clang supports `always_inline` on call statements, but GCC does not. Reviewed By: alexmalyshev Differential Revision: D112412918 fbshipit-source-id: 4dfbb3ed9ae3b6fe3b0720699f7c48750d1668b5
1 parent 0a29301 commit 345c3ae

4 files changed

Lines changed: 0 additions & 8 deletions

File tree

cinderx/UpstreamBorrow/borrowed-3.14.c.template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ void _PyDict_InsertSplitValue(
217217
Py_ssize_t ix) {
218218
#if defined(__clang__)
219219
[[clang::always_inline]]
220-
#elif defined(__GNUC__)
221-
[[gnu::always_inline]]
222220
#endif
223221
insert_split_value(_PyInterpreterState_GET(), mp, key, value, ix);
224222
}

cinderx/UpstreamBorrow/borrowed-3.14.free-threading.c.template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ void _PyDict_InsertSplitValue(
218218
Py_ssize_t ix) {
219219
#if defined(__clang__)
220220
[[clang::always_inline]]
221-
#elif defined(__GNUC__)
222-
[[gnu::always_inline]]
223221
#endif
224222
insert_split_value(_PyInterpreterState_GET(), mp, key, value, ix);
225223
}

cinderx/UpstreamBorrow/borrowed-3.14.free-threading.gen_cached.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2836,8 +2836,6 @@ void _PyDict_InsertSplitValue(
28362836
Py_ssize_t ix) {
28372837
#if defined(__clang__)
28382838
[[clang::always_inline]]
2839-
#elif defined(__GNUC__)
2840-
[[gnu::always_inline]]
28412839
#endif
28422840
insert_split_value(_PyInterpreterState_GET(), mp, key, value, ix);
28432841
}

cinderx/UpstreamBorrow/borrowed-3.14.gen_cached.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2387,8 +2387,6 @@ void _PyDict_InsertSplitValue(
23872387
Py_ssize_t ix) {
23882388
#if defined(__clang__)
23892389
[[clang::always_inline]]
2390-
#elif defined(__GNUC__)
2391-
[[gnu::always_inline]]
23922390
#endif
23932391
insert_split_value(_PyInterpreterState_GET(), mp, key, value, ix);
23942392
}

0 commit comments

Comments
 (0)