summaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-29 16:47:31 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-29 16:47:31 +0000
commit8d53b873fdcebaf0981b10073aea4734a49a78e6 (patch)
tree14c3f7d6586f4143d154f174b189c54456ded8e8 /gcc/params.def
parent7c1ab261537ea0c0411e3dc8750e6e7e4c442c5a (diff)
downloadgcc-8d53b873fdcebaf0981b10073aea4734a49a78e6.tar.gz
2009-05-29 Martin Jambor <mjambor@suse.cz>
* tree-sra.c: New implementation of SRA. * params.def (PARAM_SRA_MAX_STRUCTURE_SIZE): Removed. (PARAM_SRA_MAX_STRUCTURE_COUNT): Removed. (PARAM_SRA_FIELD_STRUCTURE_RATIO): Removed. * params.h (SRA_MAX_STRUCTURE_SIZE): Removed. (SRA_MAX_STRUCTURE_COUNT): Removed. (SRA_FIELD_STRUCTURE_RATIO): Removed. * doc/invoke.texi (sra-max-structure-size): Removed. (sra-field-structure-ratio): Removed. * testsuite/gfortran.dg/pr25923.f90: XFAIL warning expectation. * testsuite/gcc.dg/tree-ssa/ssa-fre-7.c: Compile with -fno-tree-sra. * testsuite/gcc.dg/tree-ssa/ssa-fre-8.c: Likewise. * testsuite/gcc.dg/tree-ssa/ssa-fre-9.c: Likewise. * testsuite/gcc.dg/memcpy-1.c: Removed param sra-max-structure-size. * testsuite/gcc.dg/tree-ssa/sra-2.c: Likewise. * testsuite/gcc.dg/tree-ssa/sra-3.c: Likewise. * testsuite/gcc.dg/tree-ssa/sra-1.c: Likewise. * testsuite/gcc.dg/tree-ssa/sra-4.c: Changed comment. * testsuite/gcc.dg/tree-ssa/sra-5.c: New file. * testsuite/gcc.dg/tree-ssa/sra-6.c: New file. * testsuite/gcc.c-torture/compile/sra-1.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147980 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def30
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/params.def b/gcc/params.def
index ccbc305a627..370d0948da9 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -38,36 +38,6 @@ along with GCC; see the file COPYING3. If not see
Be sure to add an entry to invoke.texi summarizing the parameter. */
-/* The maximum structure size at which the scalar replacement of
- aggregates (SRA) pass will perform block copies. The default
- value, 0, implies that GCC will select the most appropriate size
- itself. */
-DEFPARAM (PARAM_SRA_MAX_STRUCTURE_SIZE,
- "sra-max-structure-size",
- "The maximum structure size (in bytes) for which GCC will "
- "use by-element copies",
- 0, 0, 0)
-
-/* The maximum number of structure fields which the SRA pass will
- instantiate to avoid block copies. The default value, 0, implies
- that GCC will select the appropriate value itself. */
-DEFPARAM (PARAM_SRA_MAX_STRUCTURE_COUNT,
- "sra-max-structure-count",
- "The maximum number of structure fields for which GCC will "
- "use by-element copies",
- 0, 0, 0)
-
-/* The ratio between instantiated fields and the complete structure
- size. We say that if the ratio of the number of bytes in
- instantiated fields to the number of bytes in the complete
- structure exceeds this parameter, or if the number of instantiated
- fields to the total number of fields exceeds this parameter, then
- block copies are not used. The default is 75%. */
-DEFPARAM (PARAM_SRA_FIELD_STRUCTURE_RATIO,
- "sra-field-structure-ratio",
- "The threshold ratio between instantiated fields and the total structure size",
- 75, 0, 100)
-
/* The threshold ratio between current and hottest structure counts.
We say that if the ratio of the current structure count,
calculated by profiling, to the hottest structure count