Skip to content

Commit 1bd649e

Browse files
authored
Use Py_GCC_ATTRIBUTE(unused) for stop_tracing label
1 parent 8fc66ae commit 1bd649e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tools/cases_generator/tier1_generator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ def generate_tier1_labels(
203203
emitter.emit("\n")
204204
# Emit tail-callable labels as function defintions
205205
for name, label in analysis.labels.items():
206+
if name == 'stop_tracing':
207+
emitter.emit("Py_GCC_ATTRIBUTE((unused)) \n")
206208
emitter.emit(f"LABEL({name})\n")
207209
storage = Storage(Stack(), [], [], 0, False)
208210
if label.spilled:

0 commit comments

Comments
 (0)