This is the mail archive of the gcc-patches@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]

[PATCH][Ada] Cleanups to make Ada build C++ compatible (part)


Hi,

As discussed here:
http://gcc.gnu.org/ml/gcc/2009-06/msg00607.html

Following Ian advices and with minor cleanups it is possible to go to
stage1 gnat1 link on the gcc-in-cxx branch and at the same time maintain
bootstrap on trunk.

Tested with c,ada on trunk on x86_64-linux, and up to stage1 gnat1 link
on gcc-in-cxx branch on the same platform, ok to commit to trunk? I
assume the patch will be picked by Ian on the branch during next merge.

Laurent

2009-06-26  Laurent GUERBY  <laurent@guerby.net>

	* tb-gcc.c (trace_callback): Use char* instead of void*.
	* gcc-interface/misc.c (enumerate_modes): Make loop compatible
	with C++.
	* gcc-interface/trans.c (parm_attr): Rename to parm_attr_d. 
	Change all uses.
	* gcc-interface/utils.c (new, class, template): Rename to be
	compatible with C++. Change all uses.
	* gcc-interface/decl.c (new): Likewise.


Attachment: patch-ada-gcc-in-cxx-v2.txt
Description: Text document


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