Bug 35054 - No documentation of #pragma push_macro("macro_name")
Summary: No documentation of #pragma push_macro("macro_name")
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: 4.4.0
Assignee: Danny Smith
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2008-02-02 09:53 UTC by Danny Smith
Modified: 2008-03-13 07:08 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2008-02-05 09:37:33


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Smith 2008-02-02 09:53:46 UTC
The new feature 

#pragma push_macro("macro_name") 
and 
#pragma pop_macro("macro_name") 

enabled by 

2007-03-30  Richard Henderson  <rth@redhat.com>
	    Kai Tietz  <kai.tietz@onevision.com>

	* c-pragma.c (struct def_pragma_macro_value): New.
	(struct def_pragma_macro): New.
	(pushed_macro_table): New.
	(dpm_hash, dpm_eq): New.
	(handle_pragma_push_macro, handle_pragma_pop_macro): New.
	(init_pragma): Install them.
	* doc/tm.texi (HANDLE_PRAGMA_PUSH_POP_MACRO): New.

is not documented as a user extension in extend.texi
Comment 1 Danny Smith 2008-02-05 09:37:33 UTC
Patch at 
http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00118.html
danny
Comment 2 dannysmith@gcc.gnu.org 2008-03-13 07:07:19 UTC
Subject: Bug 35054

Author: dannysmith
Date: Thu Mar 13 07:06:30 2008
New Revision: 133161

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133161
Log:
	PR 35054
	* doc/extend.texi (Structure-Packing Pragmas): Replace "Win32"
	with the phrase "Microsoft Windows compilers".
	(Push/Pop Macro Pragmas): New subsection. Document
	#pragma push_macro and pragma pop_macro.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/extend.texi

Comment 3 Danny Smith 2008-03-13 07:08:09 UTC
Fixed for 4.4.0