Hi Chung-Lin,
I think you need to initialize the 'vec extrema' field with
vNULL,
or maybe some other constructor.
Thanks, I'll give it a try.
Regards
Thomas
On 2020/8/3 12:24 AM, Thomas Koenig via Gcc wrote:
Hi,
in a patch I am developing, I have the following code:
typedef struct {
gfc_code *c;
int branch_level;
bool seen_goto;
vec extrema;
} do_t;
static vec doloop_list;
[...]
do_t loop;
doloop_list.safe_push (loop);
do
Hi,
in a patch I am developing, I have the following code:
typedef struct {
gfc_code *c;
int branch_level;
bool seen_goto;
vec extrema;
} do_t;
static vec doloop_list;
[...]
do_t loop;
doloop_list.safe_push (loop);
doloop_list.last().extrema.reserve (1 << doloop_level);
wher