[Bug tree-optimization/47237] [4.3/4.4/4.5 Regression] builtin_apply_args broken WRT local ABI changes.

2011-06-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47237

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|4.3.6   |4.4.7

--- Comment #9 from Richard Guenther rguenth at gcc dot gnu.org 2011-06-27 
12:14:19 UTC ---
4.3 branch is being closed, moving to 4.4.7 target.


[Bug tree-optimization/47237] [4.3/4.4/4.5 Regression] builtin_apply_args broken WRT local ABI changes.

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47237

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:53:23 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:53:17 2011
New Revision: 169620

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169620
Log:
PR target/47237
* gcc.c-torture/execute/pr47237.c: New testcase.

* cgraph.h (cgraph_local_info): New field can_change_signature.
* ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
signature can change.
(ipcp_estimate_growth): Call sequence simplify only if calle signature
can change.
(ipcp_insert_stage): Only compute args_to_skip if signature can change.
(cgraph_function_versioning): We can not change signature of functions
that don't allow that.
* lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
(lto_input_node): Likewise.
* ipa-inline.c (compute_inline_parameters): Compute
local.can_change_signature.
* ipa-split.c (visit_bb): Never split away APPLY_ARGS.
* tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
that can not change signature.
* i386.c (ix86_function_regparm, ix86_function_sseregparm,
init_cumulative_args): Do not use local calling conventions for functions
that can not change signature.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/47237] [4.3/4.4/4.5 Regression] builtin_apply_args broken WRT local ABI changes.

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47237

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:53:16 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:53:08 2011
New Revision: 169619

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169619
Log:
PR target/47237
* cgraph.h (cgraph_local_info): New field can_change_signature.
* ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
signature can change.
(ipcp_estimate_growth): Call sequence simplify only if calle signature
can change.
(ipcp_insert_stage): Only compute args_to_skip if signature can change.
(cgraph_function_versioning): We can not change signature of functions
that don't allow that.
* lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
(lto_input_node): Likewise.
* ipa-inline.c (compute_inline_parameters): Compute
local.can_change_signature.
* ipa-split.c (visit_bb): Never split away APPLY_ARGS.
* tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
that can not change signature.
* i386.c (ix86_function_regparm, ix86_function_sseregparm,
init_cumulative_args): Do not use local calling conventions for functions
that can not change signature.

Added:
branches/google/integration/gcc/testsuite/gcc.c-torture/execute/pr47237.c
Modified:
branches/google/integration/gcc/cgraph.c
branches/google/integration/gcc/cgraph.h
branches/google/integration/gcc/cgraphunit.c
branches/google/integration/gcc/config/i386/i386.c
branches/google/integration/gcc/ipa-cp.c
branches/google/integration/gcc/ipa-inline.c
branches/google/integration/gcc/ipa-split.c
branches/google/integration/gcc/lto-cgraph.c
branches/google/integration/gcc/tree-sra.c


[Bug tree-optimization/47237] [4.3/4.4/4.5 Regression] builtin_apply_args broken WRT local ABI changes.

2011-01-26 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47237

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 Status|WAITING |ASSIGNED
  Known to work||4.6.0
Summary|[4.3/4.4/4.5/4.6|[4.3/4.4/4.5 Regression]
   |Regression] |builtin_apply_args broken
   |builtin_apply_args broken   |WRT local ABI changes.
   |WRT local ABI changes.  |

--- Comment #6 from H.J. Lu hjl.tools at gmail dot com 2011-01-27 05:13:46 
UTC ---
Fixed on trunk so far.