Re: [pr/69916] ICE with empty loops

2016-03-04 Thread Bernd Schmidt
On 02/24/2016 09:07 PM, Nathan Sidwell wrote: this patch fixes the ICE reported in pr69916 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69916) The loop is lowered at omp-lowering, but subsequently determined to be dead before we get to oacc-target-lower. The loop CF is removed along with the

[pr/69916] ICE with empty loops

2016-02-24 Thread Nathan Sidwell
Jakub, this patch fixes the ICE reported in pr69916 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69916) The loop is lowered at omp-lowering, but subsequently determined to be dead before we get to oacc-target-lower. The loop CF is removed along with the (pure) IFN_OACC_LOOP function calls