[Patch V3] Fix bootstrap/43684 (was) Re: [Patch] Remove "set but unused" vars from rs6000.c.

IainS developer@sandoe-acoustics.co.uk
Fri Apr 9 11:36:00 GMT 2010


On 9 Apr 2010, at 10:24, Jakub Jelinek wrote:

> On Thu, Apr 08, 2010 at 09:50:09AM +0100, IainS wrote:
>> as per title.
>> I have done the mechanical job of removing the unused - I cannot be
>> sure that the original author intended these vars to be unused.
>
> Please provide a ChangeLog entry with every patch posted to gcc- 
> patches.

Sorry...

The attached patch replaces and consolidates :
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00338.html
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00329.htm
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00331.html
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00345.html


gcc/fortran/
2010-04-09  Iain Sandoe  <iains@gcc.gnu.org>

	PR bootstrap/43684
	* gfortranspec.c: Do not expose vars only used by
	HAVE_LD_STATIC_DYNAMIC targets unless compiling for such.

gcc/
2010-04-09  Iain Sandoe  <iains@gcc.gnu.org>

	PR bootstrap/43684
	* varasm.c (default_assemble_visibility): Wrap vars that are
	set, but unused, by targets without GAS.
	* config/rs6000/rs6000.c: Remove set, but unused, vars.
	* config/darwin.c: Ditto.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 158149-darwin-set-but-unused-patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100409/0018b18b/attachment.txt>
-------------- next part --------------





More information about the Gcc-patches mailing list