-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
probe for broken restrict #141
Comments
Something like this:
|
rurban
added a commit
that referenced
this issue
Sep 8, 2019
new AX_RESTRICT probe. rust reports gcc broken from 5 - 10, but I can only confirm clang 6-8 failing. gcc should not be used since 9 for other reasons. Disabled since we don't have short restrict loops yet. Closes GH #141
For now I disabled it, as I don't trust the restrict check (e.g. gcc-8 passes), but removed restrict from two suspicious candidate functions in decode_r2007. copy_bytes_2, copy_bytes_3. |
rurban
added a commit
that referenced
this issue
Dec 25, 2019
re-format docs: autoconf-archive is pretty strict gcc-9.2 on fedora has it fixed. enable it. we do have several small inlined functions with loops on arrays, so it might affects us. See GH #141
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
with -O2 and inlining or loop-unrolling restrict is broken since gcc 5 and clang 6 until now.
in clang bug added with llvm r305938
rust-lang/rust#54878
https://bugs.llvm.org/show_bug.cgi?id=39282
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609
Add a m4 probe and undefine it then.
The text was updated successfully, but these errors were encountered: