[committed] Remove gimple_call_types_likely_match_p (PR 70929)
Jakub Jelinek
jakub@redhat.com
Thu Nov 7 15:18:00 GMT 2019
On Thu, Nov 07, 2019 at 12:00:32PM +0100, Martin Jambor wrote:
> 2019-11-07 Martin Jambor <mjambor@suse.cz>
>
> PR lto/70929
> * cif-code.def (MISMATCHED_ARGUMENTS): Removed.
> * cgraph.h (gimple_check_call_matching_types): Remove
> * cgraph.c (gimple_check_call_args): Likewise.
> (gimple_check_call_matching_types): Likewise.
> (symbol_table::create_edge): Do not call
> gimple_check_call_matching_types.
> (cgraph_edge::make_direct): Likewise.
> (cgraph_edge::redirect_call_stmt_to_callee): Likewise.
> * value-prof.h (check_ic_target): Remove.
> * value-prof.c (check_ic_target): Remove.
> (gimple_ic_transform): Do nat call check_ic_target.
> * auto-profile.c (function_instance::find_icall_target_map): Likewise.
> (afdo_indirect_call): Likewise.
> * ipa-prop.c (update_indirect_edges_after_inlining): Do not call
> gimple_check_call_matching_types.
> * ipa-inline.c (early_inliner): Likewise.
>
> testsuite/
> * g++.dg/lto/pr70929_[01].C: New test.
> * gcc.dg/winline-10.c: Adjust for the fact that inlining happens.
I'm seeing some regressions on i686-linux from yesterday, and while I haven't
proved it is your patch, it is very likely.
The regressions are:
+FAIL: gcc.dg/cast-function-1.c (internal compiler error)
+FAIL: gcc.dg/cast-function-1.c (test for excess errors)
+FAIL: gdc.test/runnable/nested.d -O2 (internal compiler error)
+UNRESOLVED: gdc.test/runnable/nested.d -O2 compilation failed to produce executable
+FAIL: gdc.test/runnable/nested.d -O2 -frelease (internal compiler error)
+UNRESOLVED: gdc.test/runnable/nested.d -O2 -frelease compilation failed to produce executable
+FAIL: gdc.test/runnable/nested.d -O2 -frelease -g (internal compiler error)
+UNRESOLVED: gdc.test/runnable/nested.d -O2 -frelease -g compilation failed to produce executable
+FAIL: gdc.test/runnable/nested.d -O2 -frelease -g -shared-libphobos (internal compiler error)
+UNRESOLVED: gdc.test/runnable/nested.d -O2 -frelease -g -shared-libphobos compilation failed to produce executable
+FAIL: gdc.test/runnable/nested.d -O2 -frelease -shared-libphobos (internal compiler error)
+UNRESOLVED: gdc.test/runnable/nested.d -O2 -frelease -shared-libphobos compilation failed to produce executable
+FAIL: gdc.test/runnable/nested.d -O2 -g (internal compiler error)
+UNRESOLVED: gdc.test/runnable/nested.d -O2 -g compilation failed to produce executable
+FAIL: gdc.test/runnable/nested.d -O2 -g -shared-libphobos (internal compiler error)
+UNRESOLVED: gdc.test/runnable/nested.d -O2 -g -shared-libphobos compilation failed to produce executable
+FAIL: gdc.test/runnable/nested.d -O2 -shared-libphobos (internal compiler error)
+UNRESOLVED: gdc.test/runnable/nested.d -O2 -shared-libphobos compilation failed to produce executable
All are checking ICEs on type mismatches.
Can you please have a look?
Jakub
More information about the Gcc-patches
mailing list