mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-21 19:35:28 -05:00
Daily bump.
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
2025-08-15 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR preprocessor/120778
|
||||
PR target/121520
|
||||
* include/cpplib.h (struct cpp_options): Add
|
||||
suppress_builtin_macro_warnings member.
|
||||
(cpp_warn): New inline functions.
|
||||
* init.cc (cpp_create_reader): Clear suppress_builtin_macro_warnings.
|
||||
(cpp_init_builtins): Call cpp_warn on __cplusplus, __STDC__,
|
||||
__STDC_VERSION__, __STDC_MB_MIGHT_NEQ_WC__ and
|
||||
__STDCPP_STRICT_POINTER_SAFETY__ when appropriate.
|
||||
* directives.cc (do_undef): Warn on undefining NODE_WARN macros if
|
||||
not cpp_keyword_p. Don't emit any NODE_WARN related diagnostics
|
||||
if CPP_OPTION (pfile, suppress_builtin_macro_warnings).
|
||||
(cpp_define, _cpp_define_builtin, cpp_undef): Temporarily set
|
||||
CPP_OPTION (pfile, suppress_builtin_macro_warnings) around
|
||||
run_directive calls.
|
||||
* macro.cc (_cpp_create_definition): Warn on defining NODE_WARN
|
||||
macros if they weren't previously defined and not cpp_keyword_p.
|
||||
Ignore NODE_WARN for diagnostics if
|
||||
CPP_OPTION (pfile, suppress_builtin_macro_warnings).
|
||||
|
||||
2025-08-10 H.J. Lu <hjl.tools@gmail.com>
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
Reference in New Issue
Block a user