https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70400
--- Comment #4 from Richard Yao <ryao at gentoo dot org> --- How would GCC "reject all programs" without emitting an error? If there is some other way, it is not being done as GCC emits assembly that assembles and links without a problem. Rejecting the program should not allow things to go so far. If `-pedantic` does not cause programs to be rejected under any circumstance, then the documentation is wrong.