> Adding missing patch.
> 
> Martin

> >From 35ba97e0139d955c04e67ca157f8899bbb468bf1 Mon Sep 17 00:00:00 2001
> From: marxin <mli...@suse.cz>
> Date: Thu, 9 Jun 2016 17:51:38 +0200
> Subject: [PATCH] Fix code emission for FAIL_ALLOC predictor
> 
> gcc/ChangeLog:
> 
> 2016-06-13  Martin Liska  <mli...@suse.cz>
> 
>       * predict.def: Define a new predictor.
> 
> gcc/fortran/ChangeLog:
> 
> 2016-06-13  Martin Liska  <mli...@suse.cz>
> 
>       * trans-array.c (gfc_array_allocate): Do not generate expect
>       stmt.
>       * trans.c (gfc_allocate_using_malloc): Properly set FAIL_ALLOC
>       predictor for malloc return value.
>       (gfc_allocate_allocatable): Use REALLOC predictor instead of
>       FAIL_ALLOC.
>       (gfc_deallocate_with_status): Likewise.

OK, thanks!

Honza

Reply via email to