From: Trevor Saunders Date: Thu, 17 Jun 2021 15:10:15 +0000 (-0400) Subject: fix get-loop_hot_path with gcc 4.8.5 X-Git-Tag: basepoints/gcc-13~6714 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caeb8892a556a4a634641c7613fec957359dbd49;p=thirdparty%2Fgcc.git fix get-loop_hot_path with gcc 4.8.5 gcc/ChangeLog: * cfgloopanal.c (get_loop_hot_path): Make path an auto_vec. --- diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c index fdd8d3f43feb..2db46c810360 100644 --- a/gcc/cfgloopanal.c +++ b/gcc/cfgloopanal.c @@ -504,7 +504,7 @@ auto_vec get_loop_hot_path (const class loop *loop) { basic_block bb = loop->header; - vec path = vNULL; + auto_vec path; bitmap visited = BITMAP_ALLOC (NULL); while (true)