Merge IPA and late local modref flags

Marek Polacek polacek@redhat.com
Tue Nov 9 16:35:21 GMT 2021


On Tue, Nov 09, 2021 at 05:32:42PM +0100, Jan Hubicka via Gcc-patches wrote:
> > > +	}
> > > +      if (!(flags & EAF_UNUSED))
> > > +	lags |= past;
> >                    ^^^^^
> > 
> > 
> > Broke bootstrap.
> Martin just fixed it. Sorry for that.
> Diff complained about 8 spaces instead of tab and I did not rebuild
> after replacing it bit too overzelaously.

I've fixed it by the obvious:

gcc/ChangeLog:

	* ipa-modref.c (analyze_parms): Fix a typo.
---
 gcc/ipa-modref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c
index 2f91b563745..e3cad3ee447 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -2488,7 +2488,7 @@ analyze_parms (modref_summary *summary, modref_summary_lto *summary_lto,
 	  dump_eaf_flags (dump_file, flags, true);
 	}
       if (!(flags & EAF_UNUSED))
-	lags |= past;
+	flags |= past;
       if (flags)
 	{
 	  if (summary)

base-commit: abe562bb01479ea2c8952ad98714f3225527aa7e
-- 
2.33.1



More information about the Gcc-patches mailing list