This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: .bad_compare in bootstrap of head
- From: Jeff Law <law at redhat dot com>
- To: Дмитрий Дьяченко <dimhen at gmail dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, Daniel Santos <daniel dot santos at pobox dot com>, gcc <gcc at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Thu, 4 May 2017 11:49:21 -0600
- Subject: Re: .bad_compare in bootstrap of head
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=law at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 7882C80C04
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7882C80C04
- References: <dc529669-843a-5f62-36b8-97e18460d4e7@pobox.com> <mvm8tmdumy2.fsf@suse.de> <c0408e39-7b48-10bf-bdc3-f2c50fec1b8f@redhat.com> <CADJjh6nhWSovBkt5_bLus=xyKTKYOtWcUsBXHb8tRJhJRZcxRQ@mail.gmail.com> <98a50d2d-7f51-5277-df51-d5d612645d49@redhat.com>
On 05/04/2017 08:31 AM, Jeff Law wrote:
On 05/04/2017 07:26 AM, Дмитрий Дьяченко wrote:
Fedora 26 x86_64
r247595
~/src/gcc_current/configure --prefix=/usr/local/gcc_current
--enable-static --enable-checking=no --enable-languages=c,c++,lto
--enable-plugin --disable-multilib
And that may be the key, I've been able to get a similar failure. Could
easy be the checking flags. I'll do some bisecting here.
jeff
It's Jan's patch from April 30.
commit e062e35c7ff7743aa31868370bf5cb9f8da835dd
Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sun Apr 30 15:02:11 2017 +0000
PR ipa/79224
* ipa-inline-analysis.c (dump_predicate): Add optional
parameter NL.
(account_size_time): Use two predicates - exec_pred and
nonconst_pred_ptr.
(evaluate_conditions_for_known_args): Compute both clause and
nonspec_clause.
(evaluate_properties_for_edge): Evaulate both clause and
nonspec_clause.
(inline_summary_t::duplicate): Update.
(estimate_function_body_sizes): Caluculate exec and nonconst
predicates
separately.
(compute_inline_parameters): Likewise.
(estimate_edge_size_and_time): Update caluclation of time.
(estimate_node_size_and_time): Compute both time and nonspecialized
time.
(estimate_ipcp_clone_size_and_time): Update.
(inline_merge_summary): Update.
(do_estimate_edge_time): Update.
(do_estimate_edge_size): Update.
(do_estimate_edge_hints): Update.
(inline_read_section, inline_write_summary): Stream both new
predicates.
* ipa-inline.c (compute_uninlined_call_time): Take
uninlined_call_time
as argument.
(compute_inlined_call_time): Cleanup.
(big_speedup_p): Update.
(edge_badness): Update.
* ipa-inline.h (INLINE_TIME_SCALE): Remove.
(size_time_entry): Replace predicate by exec_predicate and
nonconst_predicate.
(edge_growth_cache_entry): Cache both time nad nonspecialized time.
(estimate_edge_time): Return also nonspec_time.
(reset_edge_growth_cache): Update.