http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56824
--- Comment #9 from Magnus Reftel <magnus.reftel at gmail dot com> --- Thanks for the patch! I applied it on top of 53c3c39b96df9c6a6368bf0d6acfd28a7af3cb63 and tested. Without the patch, the error was still printed when compiling the testcase. With the patch, the error was not printed. Removing the "#pragma GCC diagnostic ignored" made the error print again, as expected. The fix is thus working as it should on the testcase. I no longer have access to the code base where the problem was discovered, so I guess this verification will have to do. I'm not sure what the criteria for updating the status field are, though, so I leave it at "ASSIGNED".