diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-05-16 12:10:28 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-05-16 10:10:28 +0000 |
commit | 0b9004ed5642ab56f97347cc9c5ca9a59a2fb6bb (patch) | |
tree | 2fad4cf8e62a6fa8390658fc1bb6621e961d826e /gcc/testsuite | |
parent | c1d854fb24ba20ecdd1736117a5e5cd39686e479 (diff) | |
download | gcc-0b9004ed5642ab56f97347cc9c5ca9a59a2fb6bb.zip gcc-0b9004ed5642ab56f97347cc9c5ca9a59a2fb6bb.tar.gz gcc-0b9004ed5642ab56f97347cc9c5ca9a59a2fb6bb.tar.bz2 |
ipa-inline-analysis.c (compute_inline_parameters): Be more reailistic on estimating thunk bodies...
* ipa-inline-analysis.c (compute_inline_parameters): Be more reailistic
on estimating thunk bodies; do not set inline_failed to CIF_THUNK for
calls from thunk.
* ipa-inline-transform.c (inline_call): When inlining into thunk produce
gimple body.
(preserve_function_body_p): No need to preserve function body
* cif-codes.def (CIF_THUNK): Remove.
* cgraphclones.c (duplicate_thunk_for_node): Thunks calls are inlinable.
* g++.dg/ipa/ivinline-7.C: Do not xfail.
* g++.dg/ipa/ivinline-9.C: Do not xfail.
From-SVN: r236274
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/ipa/ivinline-7.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/ipa/ivinline-9.C | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1598857..c5f151f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-05-16 Jan Hubicka <hubicka@ucw.cz> + + * g++.dg/ipa/ivinline-7.C: Do not xfail. + * g++.dg/ipa/ivinline-9.C: Do not xfail. + 2016-05-16 Matthew Wahab <matthew.wahab@arm.com> * g++.dg/ext/arm-fp16/fp16-param-1.c: Update expected output. Add diff --git a/gcc/testsuite/g++.dg/ipa/ivinline-7.C b/gcc/testsuite/g++.dg/ipa/ivinline-7.C index b725db5..a7b41e7 100644 --- a/gcc/testsuite/g++.dg/ipa/ivinline-7.C +++ b/gcc/testsuite/g++.dg/ipa/ivinline-7.C @@ -76,4 +76,4 @@ int main (int argc, char *argv[]) } /* { dg-final { scan-ipa-dump "Discovered a virtual call to a known target.*B::.*foo" "inline" } } */ -/* { dg-final { scan-ipa-dump "B::foo\[^\\n\]*inline copy in int main" "inline" { xfail *-*-* } } } */ +/* { dg-final { scan-ipa-dump "B::foo\[^\\n\]*inline copy in int main" "inline" } } */ diff --git a/gcc/testsuite/g++.dg/ipa/ivinline-9.C b/gcc/testsuite/g++.dg/ipa/ivinline-9.C index f6110c1..41b2381 100644 --- a/gcc/testsuite/g++.dg/ipa/ivinline-9.C +++ b/gcc/testsuite/g++.dg/ipa/ivinline-9.C @@ -90,4 +90,4 @@ int main (int argc, char *argv[]) } /* { dg-final { scan-ipa-dump "Discovered a virtual call to a known target.*B::.*foo" "inline" } } */ -/* { dg-final { scan-ipa-dump "B::foo\[^\\n\]*inline copy in int main" "inline" { xfail *-*-* } } } */ +/* { dg-final { scan-ipa-dump "B::foo\[^\\n\]*inline copy in int main" "inline" } } */ |