[patch, fortran] Fix PR 83540

2017-12-26 Thread Thomas Koenig
Hello world, this rather self-explanatory patch makes sure we don't get an error using reallocation on assignment for inlining matmul when we don't have reallocation on assignment. Regression-tested. OK for trunk? Regards Thomas 2017-12-25 Thomas Koenig PR fortran/83540

[PATCH, PR82391] Fold acc_on_device with const arg

2017-12-26 Thread Tom de Vries
Hi, the openacc standard states: If the acc_on_device routine has a compile-time constant argument, it evaluates at compile time to a constant. The purpose of this is to remove non-applicable device-specific code during compilation. In the case of asm insns which are device-specific, remova

Re: [PATCH] sel-sched: fix zero-usefulness case in sel_rank_for_schedule (PR 83513)

2017-12-26 Thread Andrey Belevantsev
On 25.12.2017 19:47, Alexander Monakov wrote: Hello, we need the following follow-up fix for priority comparison in sel_rank_for_schedule as demonstrated by PR 83513. Checked on x86_64 by running a bootstrap and also checking for no regressions in make -k check-gcc RUNTESTFLAGS="--target_board

Re: [Patch, fortran] PR83076 - [8 Regression] ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1598

2017-12-26 Thread Paul Richard Thomas
Hi All, This is a complete rework of the patch and of the original mechanism for adding caf token fields and finding them. In this patch, the token fields are added to the derived types after all the components have been resolved. This is done so that all the tokens appear at the very end of the

Re: [patch, fortran] Fix PR 83540

2017-12-26 Thread Paul Richard Thomas
OK - thanks for the patch. Paul On 26 December 2017 at 12:12, Thomas Koenig wrote: > Hello world, > > this rather self-explanatory patch makes sure we don't get an error > using reallocation on assignment for inlining matmul when > we don't have reallocation on assignment. > > Regression-tested

[testsuite, committed] Use relative line number in unroll-5.c

2017-12-26 Thread Tom de Vries
[ was: Re: [C/C++] Add support for #pragma GCC unroll v3 ] On 11/25/2017 11:15 AM, Eric Botcazou wrote: Index: testsuite/c-c++-common/unroll-5.c === --- testsuite/c-c++-common/unroll-5.c (revision 0) +++ testsuite/c-c++-common/unr