summary refs log tree commit diff stats
path: root/results/classifier/no-thinking-deepseek-r1:70b/output/instruction/1541
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-08 08:55:39 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-07-08 08:55:39 +0000
commit1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (patch)
tree90ceb50013ad28bab46e52731ec4ce1e70c32a57 /results/classifier/no-thinking-deepseek-r1:70b/output/instruction/1541
parentc50b0c4da17b6e83640e4ed2380fffb5f507c846 (diff)
downloadqemu-analysis-1a3c4faf4e0a25ed0b86e8739d5319a634cb9112.tar.gz
qemu-analysis-1a3c4faf4e0a25ed0b86e8739d5319a634cb9112.zip
add deepseek 70b result
Diffstat (limited to 'results/classifier/no-thinking-deepseek-r1:70b/output/instruction/1541')
-rw-r--r--results/classifier/no-thinking-deepseek-r1:70b/output/instruction/154135
1 files changed, 35 insertions, 0 deletions
diff --git a/results/classifier/no-thinking-deepseek-r1:70b/output/instruction/1541 b/results/classifier/no-thinking-deepseek-r1:70b/output/instruction/1541
new file mode 100644
index 000000000..a677253a1
--- /dev/null
+++ b/results/classifier/no-thinking-deepseek-r1:70b/output/instruction/1541
@@ -0,0 +1,35 @@
+
+
+
+Invalid position of G_NORETURN in clang v15
+Description of problem:
+Order of `G_NORETURN` used in https://gitlab.com/qemu-project/qemu/-/blob/0f3de970febd2c9b29dccecb63ca928c6802a101/include/qemu/osdep.h#L240-242 is not valid in clang++ 15.0.7.
+
+Switching `extern` with `G_NORETURN` seems to fix the issue.
+Steps to reproduce:
+1. Build qemu system for MIPSEL or use minimal reproducer:
+
+`example.cpp`:
+```
+#include "/path/to/qemu/include/glib-compat.h"
+
+extern G_NORETURN
+void // QEMU_ERROR("code path is reachable")
+    qemu_build_not_reached_always(void);
+```
+
+```
+$ clang++ --version
+clang version 15.0.7
+Target: x86_64-pc-linux-gnu
+Thread model: posix
+InstalledDir: /usr/bin
+$ clang++ -m64 -mcx16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu++11 -O0 -g example.cpp
+example.cpp:3:8: error: an attribute list cannot appear here
+extern G_NORETURN
+       ^~~~~~~~~~
+/usr/include/glib-2.0/glib/gmacros.h:1075:21: note: expanded from macro 'G_NORETURN'
+# define G_NORETURN [[noreturn]]
+                    ^~~~~~~~~~~~
+1 error generated.
+```