OSDN Git Service

2008-01-07 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jan 2008 14:49:36 +0000 (14:49 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jan 2008 14:49:36 +0000 (14:49 +0000)
commit3ee3dfa4447aab6c7d4ee1ab1039e20e2c6fe6c5
treef69fbfc7468d0e14fa1e4c2b833a1807785c2f97
parentca03fed05ea8f42219cae8958a6d3206d56b297b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131375 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-sccvn.c