re PR tree-optimization/34683 (SSA rewriting in the loop unroller causes quadratic...
commitb61ea03d2dc7cb1852d1cf401a22f1f6935972ad
authorRichard Guenther <rguenther@suse.de>
Mon, 7 Jan 2008 14:49:36 +0000 (7 14:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 7 Jan 2008 14:49:36 +0000 (7 14:49 +0000)
treef69fbfc7468d0e14fa1e4c2b833a1807785c2f97
parentc4bd75cd50a5955d7135c8e8fd1cb9b239e4f49e
re PR tree-optimization/34683 (SSA rewriting in the loop unroller causes quadratic behavior)

2008-01-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34683
* tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
VOPs of the needed size to save memory.  Use VEC_quick_push
to save compile-time.
(vdefs_to_vec): Likewise.

From-SVN: r131375
gcc/ChangeLog
gcc/tree-ssa-sccvn.c