2 ms·
It's a pity the flag -ftrivial-auto-var-init=zero is eventually going to go away (there is -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-cl
by captainmuon 8y ago
It's a pity the flag -ftrivial-auto-var-init=zero is eventually going to go away (there is -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang). I understand their motive, but it would be great to use that flag and others like -fno-strict-aliasing etc. to make a "safe and friendly C" dialect. I.e. turning undefined behavior into "obvious" behavior when possible.
- dlivingston 8y agoI thought you writing `-enable-trivial-auto-var-init-zero-knowning-it-will-be-removed-from-clang` was just satire. Nope. A little humorous that it's a real flag. https://reviews.llvm.org/D54604?id=174471 https://reviews.llvm.org/D54604?id=174471