This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Eliminate write-only variables
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org, jakub at redhat dot com
- Date: Fri, 16 May 2014 19:41:13 +0200
- Subject: Re: Eliminate write-only variables
- Authentication-results: sourceware.org; auth=none
- References: <20140516172559 dot GF20755 at kam dot mff dot cuni dot cz> <87mwehmxq1 dot fsf at igel dot home>
> Jan Hubicka <hubicka@ucw.cz> writes:
>
> > + /* Remove stores to variables we marked readonly.
>
> s/read/write/
>
> > + /* For calls we can simply remove LHS when it is known to be read only. */
>
> s/read/write/
Ah, thanks!
Honza
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."