You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zig currently supports having inline assembly inputs as clobbers. However, both clang and gcc do not, so using -ofmt=c produce c code that cannot compile with either.
Zig Version
0.15.0-dev.442+b9b606969
Steps to Reproduce and Observed Behavior
Zig currently supports having inline assembly inputs as clobbers. However, both clang and gcc do not, so using
-ofmt=c
produce c code that cannot compile with either.is valid zig, but produces
which is not valid c (for gcc and clang anyway).
This make the feature of having inputs as clobbers impossible to use in the std since tests seems to also be run using
-ofmt=c
.Expected Behavior
The C backend should produce working c code whenever inline assembly inputs are also in the clobber list.
The text was updated successfully, but these errors were encountered: