One example: ../../Source/JavaScriptCore/b3/B3Type.h: In function 'size_t JSC::B3::sizeofType(JSC::B3::Type)': ../../Source/JavaScriptCore/b3/B3Type.h:71:1: error: control reaches end of non-void function [-Werror=return-type] cc1plus: all warnings being treated as errors See the following bug reports for details: - bug150794 - bug150842 There are many places where this warning hit in B3. It is clear that it isn't a false warning, we should assert to avoid undefined behaviour. At least in debug not to make the compiler to emit extra codes in hot paths.
Created attachment 268540 [details] Patch
Comment on attachment 268540 [details] Patch r=me
Comment on attachment 268540 [details] Patch Clearing flags on attachment: 268540 Committed r194858: <http://trac.webkit.org/changeset/194858>
All reviewed patches have been landed. Closing bug.