This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Do less generous pointer globbing in alias.c
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Richard Biener <rguenther at suse dot de>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 30 May 2015 23:08:16 +0200
- Subject: Re: Do less generous pointer globbing in alias.c
- Authentication-results: sourceware.org; auth=none
- References: <20150527052850 dot GB88897 at kam dot mff dot cuni dot cz> <alpine dot LSU dot 2 dot 11 dot 1505271046320 dot 30088 at zhemvz dot fhfr dot qr> <20150527144221 dot GB51385 at kam dot mff dot cuni dot cz> <20150527145821 dot GC51385 at kam dot mff dot cuni dot cz> <20150527150413 dot GD51385 at kam dot mff dot cuni dot cz> <5B58CC66-6A43-401E-9A83-A26D076D2A45 at suse dot de> <20150528132943 dot GA8474 at kam dot mff dot cuni dot cz> <alpine dot LSU dot 2 dot 11 dot 1505281544250 dot 30088 at zhemvz dot fhfr dot qr> <20150528140924 dot GA86368 at kam dot mff dot cuni dot cz> <20150528201251 dot GA407 at kam dot mff dot cuni dot cz>
Jan Hubicka <hubicka@ucw.cz> writes:
> * alias.c (alias_set_entry_d): Add is_pointer and has_pointer.
> (alias_stats): Add num_universal.
> (alias_set_subset_of): Special case pointers; be ready for NULL
> children.
> (alias_sets_conflict_p): Special case pointers; be ready for NULL
> children.
> (init_alias_set_entry): Break out from ...
> (record_alias_subset): ... here; propagate new fields;
> allocate children only when really needed.
> (get_alias_set): Do less generous pointer globbing.
> (dump_alias_stats_in_alias_c): Update statistics.
> * gcc.dg/alias-8.c: Do not xfail.
> * gcc.dg/pr62167.c: Prevent FRE.
> * gcc.dg/alias-14.c: New testcase.
This is causing a miscompilation of the stage2 compiler on ia64.
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."