https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70400
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- On Thu, 24 Mar 2016, ryao at gentoo dot org wrote: > How would GCC "reject all programs" without emitting an error? If there is > some By emitting a warning. That's a rejection. The standard requirement is to emit a diagnostic for such programs, and that's what this option does ("Diagnostics consist of all the output sent to stderr by GCC.", as per implement-c.texi). If you want a different definition of rejection, -pedantic-errors provides one.