------- Comment #1 from manu at gcc dot gnu dot org 2008-07-22 16:30 ------- One testcase could use #include_next in a system header and compile with just -pedantic-errors. This should be silent but it currently emits an error.
Another testcase could be just: static int sc = INT_MAX + 1; compiled with "-pedantic-errors -w". This should be silent as well, but it will give an error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36901