[Bug middle-end/49310] [4.7 Regression] Compile time hog in var-tracking emit
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 8 09:55:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49310
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 #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-08 09:54:29 UTC ---
Using -g -O2 -fbounds-check instead of -g -O1 -fbounds-check cures it,
or e.g. -g -O1 -fbounds-check --param max-vartrack-expr-depth=5
speeds it up. The programming style is very weird, and combined with
-fbounds-check which results in huge number of bbs doesn't help it,
plus the expression chains for the debug vars really seem to be very long (and
at the points where bounds checking failures are reported the relevant
registers
holding the expressions are reused for something else).
More information about the Gcc-bugs
mailing list