[Bug c/69900] New: [6 Regression] Unhelpful diagnostic about Ignored options
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 22 08:57:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69900
Bug ID: 69900
Summary: [6 Regression] Unhelpful diagnostic about Ignored
options
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
[ 182s] ../grub-core/lib/pbkdf2.c:34:32: error: '-Wunreachable-code' is not an
option that controls warnings [-Werror=pragmas]
[ 182s] #pragma GCC diagnostic ignored "-Wunreachable-code"
[ 182s] ^~~~~~~~~~~~~~~~~~~~
[ 182s] cc1: all warnings being treated as errors
from
#pragma GCC diagnostic ignored "-Wunreachable-code"
I think CL_IGNORED flags should behave differently here.
More information about the Gcc-bugs
mailing list