Revert a hunk from r261322 (PR lto/88876).

2019-02-12  Martin Liska  <mliska@suse.cz>

	PR lto/88876
	* ipa-pure-const.c (propagate_pure_const): Revert hunk as
	we need default values of funct_state for a function that
	is not optimized.

From-SVN: r268795
This commit is contained in:
Martin Liska 2019-02-12 14:46:41 +01:00 committed by Martin Liska
parent f9f75f8d3c
commit b3f2b048eb
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2019-02-12 Martin Liska <mliska@suse.cz>
PR lto/88876
* ipa-pure-const.c (propagate_pure_const): Revert hunk as
we need default values of funct_state for a function that
is not optimized.
2019-02-12 Eric Botcazou <ebotcazou@adacore.com>
* asan.c (asan_expand_mark_ifn): Take into account the alignment of

View file

@ -1498,7 +1498,8 @@ propagate_pure_const (void)
}
if (avail > AVAIL_INTERPOSABLE)
{
funct_state y_l = funct_state_summaries->get (y);
funct_state y_l = funct_state_summaries->get_create (y);
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file,