diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2010-09-29 18:18:38 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2010-09-29 20:18:38 +0200 |
commit | d687413849f10f957c782eb4de2a54f3e78a7aae (patch) | |
tree | a94ac27b289fa25455ae4117a0a74ade6430a227 /libcpp/ChangeLog | |
parent | a0c6102d2935c97d834296038b1485f8841aa708 (diff) | |
download | gcc-d687413849f10f957c782eb4de2a54f3e78a7aae.zip gcc-d687413849f10f957c782eb4de2a54f3e78a7aae.tar.gz gcc-d687413849f10f957c782eb4de2a54f3e78a7aae.tar.bz2 |
re PR preprocessor/45362 (Dangling reference about saved cpp_macro for push/pop macro)
2010-09-29 Kai Tietz <kai.tietz@onevision.com>
PR preprocessor/45362
* directives.c (cpp_pop_definition): Make static.
(do_pragma_push_macro): Reworked to store text
definition.
(do_pragma_pop_macro): Add free text definition.
(cpp_push_definition): Removed.
* include/cpplib.h (cpp_push_definition): Removed.
(cpp_pop_definition): Likewise.
* internal.h (def_pragma_macro): Remove member 'value'
and add new members 'definition', 'line',
'syshdr', 'sued' and 'is_undef'.
* pch.c (_cpp_restore_pushed_macros): Rework to work
on text definition and store additional macro flags.
(_cpp_save_pushed_macros): Likewise.
From-SVN: r164729
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r-- | libcpp/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 3b6f4fa..cabe7ce 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,20 @@ +2010-09-29 Kai Tietz <kai.tietz@onevision.com> + + PR preprocessor/45362 + * directives.c (cpp_pop_definition): Make static. + (do_pragma_push_macro): Reworked to store text + definition. + (do_pragma_pop_macro): Add free text definition. + (cpp_push_definition): Removed. + * include/cpplib.h (cpp_push_definition): Removed. + (cpp_pop_definition): Likewise. + * internal.h (def_pragma_macro): Remove member 'value' + and add new members 'definition', 'line', + 'syshdr', 'sued' and 'is_undef'. + * pch.c (_cpp_restore_pushed_macros): Rework to work + on text definition and store additional macro flags. + (_cpp_save_pushed_macros): Likewise. + 2010-09-29 Joseph Myers <joseph@codesourcery.com> * include/cpplib.h (cpp_options): Rename warn_deprecated, |