This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc/gcc ChangeLog c-decl.c c-pragma.c c-pragma ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_1-branch
Changes by:	rth@gcc.gnu.org	2002-03-22 14:49:52

Modified files:
	gcc            : ChangeLog c-decl.c c-pragma.c c-pragma.h 
	gcc/config/alpha: osf.h 
	gcc/config/i386: sol2.h 
	gcc/config/sparc: sol2.h 
	gcc/cp         : decl.c 
	gcc/doc        : extend.texi 
Added files:
	gcc/testsuite/g++.dg/other: pragma-ep-1.C pragma-re-1.C 
	gcc/testsuite/gcc.dg: pragma-ep-1.c pragma-ep-2.c pragma-ep-3.c 
	                      pragma-re-1.c pragma-re-2.c 

Log message:
	* c-pragma.c (maybe_apply_renaming_pragma): New.
	(handle_pragma_redefine_extname, pending_redefine_extname): New.
	(handle_pragma_extern_prefix, pragma_extern_prefix): New.
	(init_pragma): Register them.
	* c-pragma.h (maybe_apply_renaming_pragma): Declare.
	* c-decl.c (finish_decl): Call it.
	* cp/decl.c (cp_finish_decl): Likewise.
	* doc/extend.texi: Document the new pragmas.
	
	* config/alpha/osf.h (CPP_SUBTARGET_SPEC): Add __EXTERN_PREFIX.
	(HANDLE_PRAGMA_EXTERN_PREFIX): New.
	
	* config/i386/sol2.h (CPP_PREDEFINES): Add __PRAGMA_REDEFINE_EXTNAME.
	(HANDLE_PRAGMA_REDEFINE_EXTNAME): New.
	* config/sparc/sol2.h: Likewise.
	
	* g++.dg/other/pragma-re-1.C: New.
	* g++.dg/other/pragma-ep-1.C: New.
	* gcc.dg/pragma-re-1.c, gcc.dg/pragma-re-2.c: New.
	* gcc.dg/pragma-ep-1.c, gcc.dg/pragma-ep-2.c: New.
	* gcc.dg/pragma-ep-3.c: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.13152.2.178&r2=1.13152.2.179
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.300.2.3&r2=1.300.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-pragma.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.46.6.2&r2=1.46.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-pragma.h.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.26.2.2&r2=1.26.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/osf.h.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.22&r2=1.22.14.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/sol2.h.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.19.2.2&r2=1.19.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2.h.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.36&r2=1.36.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.866.2.10&r2=1.866.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/extend.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.64&r2=1.64.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/pragma-ep-1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/pragma-re-1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pragma-ep-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pragma-ep-2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pragma-ep-3.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pragma-re-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pragma-re-2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]