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]

Re: [committed] Fix a typo (PR translation/52264)


On Feb 15, 2012, at 10:32 PM, Jakub Jelinek wrote:
> Bootstrapped/regtested on x86_64-linux and i686-linux,
> committed to trunk as obvious:
> 
> 2012-02-16  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR translation/52264
> 	* cgraphunit.c (verify_cgraph_node): Fix a typo.
> 
> --- gcc/cgraphunit.c.jj	2012-02-12 15:46:32.000000000 +0100
> +++ gcc/cgraphunit.c	2012-02-15 21:29:25.927382754 +0100
> @@ -667,7 +667,7 @@ verify_cgraph_node (struct cgraph_node *
>       for (i = 0; ipa_ref_list_reference_iterate (&node->ref_list, i, ref); i++)
> 	if (ref->use != IPA_REF_ALIAS)
> 	  {
> -	    error ("Alias has non-alias refernece");
> +	    error ("Alias has non-alias reference");

Unless Alias means something very specific, the english word should be lower case.  Since this is the middle end, it should not refer to anything terribly specific, so, is should be lower case.


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