History

Fix arm64-gen.c when passing a struct ptr to va_arg.

Christian Jullien committed 6 years ago

Commit ec0e9361 parent 6fa78a32 files · +18 −2Browse files

Showing the changes to tests (1 of 2 files). Show all

Unified · Split

tests/tests2/73_arm64.c+11−0
@@ -230,6 +230,17 @@ void ret(void) · 229 unmodified lines
230230 printf("%.1Lf %.1Lf\n", fr_hfa34().a, fr_hfa34().d);
231231 }
232232
233+void*
234+va_arg_with_struct_ptr(va_list ap) {
235+ /*
236+ * This was a BUG identified with FFTW-3.3.8 on arm64.
237+ * The test case only checks it compiles.
238+ */
239+ struct X { int _x; };
240+ struct X *x = va_arg(ap, struct X *);
241+ return x;
242+}
243+
233244 int match(const char **s, const char *f)
234245 {
235246 const char *p = *s;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t