[Patch][4.5] ObjC/C++ back-port of fix for PR35996

IainS developer@sandoe-acoustics.co.uk
Tue Jun 8 14:23:00 GMT 2010


tested on i686-apple-darwin9, i686-pc-linux-gnu,
OK for 4.5?

Iain

gcc/objc/ChangeLog:

  	Backport from mainline:
	PR objc/35996
	* objc-act.c (objc_init): Warn that -fobjc-gc is ignored for
	-fgnu-runtime and set flag_objc_gc to zero.

gcc/testsuite/ChangeLog:

	Backport from mainline:
	2010-04-07  Iain Sandoe <iains@gcc.gnu.org>
	PR objc/35996
	* objc.dg/objc-gc-4.m: Run for all targets, prune new warning.
	* obj-c++.dg/objc-gc-3.mm: Ditto.
	2010-04-30  Iain Sandoe <iains@gcc.gnu.org>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 160426-4-5-PR35996-diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100608/eb686619/attachment.txt>
-------------- next part --------------





More information about the Gcc-patches mailing list