Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Pushed to trunk as r16-252-gbc39b0072f5660.
gcc/ChangeLog: * diagnostic.h (diagnostic_context::m_opt_permissive): Convert from int to diagnostic_option_id. Update comment. Signed-off-by: David Malcolm <dmalc...@redhat.com> --- gcc/diagnostic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index c679017d285..36f4a1c8f9f 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -848,9 +848,9 @@ public: /* True if permerrors are warnings. */ bool m_permissive; - /* The index of the option to associate with turning permerrors into - warnings. */ - int m_opt_permissive; + /* The option to associate with turning permerrors into warnings, + if any. */ + diagnostic_option_id m_opt_permissive; /* True if errors are fatal. */ bool m_fatal_errors; -- 2.26.3