This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR79576
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 17 Feb 2017 14:35:42 +0100 (CET)
- Subject: [PATCH] Fix PR79576
- Authentication-results: sourceware.org; auth=none
The following fixes too deep recursion with insane
--param max-ssa-name-query-depth by limiting the param appropriately.
Given the search is not width limited it can be highly exponential
in complexity thus I limited it fairly low (10).
Committed as obvious.
Richard.
2017-02-17 Richard Biener <rguenther@suse.de>
PR middle-end/79576
* params.def (max-ssa-name-query-depth): Limit to 10.
Index: gcc/params.def
===================================================================
--- gcc/params.def (revision 245501)
+++ gcc/params.def (working copy)
@@ -1237,7 +1237,7 @@ DEFPARAM (PARAM_MAX_SSA_NAME_QUERY_DEPTH
"max-ssa-name-query-depth",
"Maximum recursion depth allowed when querying a property of an"
" SSA name.",
- 3, 1, 0)
+ 3, 1, 10)
DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_INSNS,
"max-rtl-if-conversion-insns",