[Bug debug/84776] Indefinite compile time w/ var-tracking
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 9 07:56:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84776
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at gcc dot gnu.org,
| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The max-vartrack-expr-depth=20 parameter is recursion depth, so for many
expressions it is exponential compile time for that number. 20 is much higher
than the default, so compile time that much exponentially higher...
Adding a hard limit on the param is not really a good idea, in some cases it
could be limiting people from doing what they want. But if you use too high
value, you've asked for it.
More information about the Gcc-bugs
mailing list