[RFC/PATCH] Use range-based for loops for traversing loops

2021-07-18 Thread Kewen.Lin via Gcc-patches
Hi, This patch follows Martin's suggestion here[1], to support range-based for loops for traversing loops, analogously to the patch for vec[2]. Bootstrapped and regtested on powerpc64le-linux-gnu P9, x86_64-redhat-linux and aarch64-linux-gnu, also bootstrapped on ppc64le P9 with bootstrap-O3 conf

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-18 Thread Andrew Pinski via Gcc-patches
On Sun, Jul 18, 2021 at 11:21 PM Kewen.Lin via Gcc-patches wrote: > > Hi, > > This patch follows Martin's suggestion here[1], to support > range-based for loops for traversing loops, analogously to > the patch for vec[2]. > > Bootstrapped and regtested on powerpc64le-linux-gnu P9, > x86_64-redhat-

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-19 Thread Jonathan Wakely via Gcc-patches
On Mon, 19 Jul 2021 at 07:20, Kewen.Lin wrote: > > Hi, > > This patch follows Martin's suggestion here[1], to support > range-based for loops for traversing loops, analogously to > the patch for vec[2]. > > Bootstrapped and regtested on powerpc64le-linux-gnu P9, > x86_64-redhat-linux and aarch64-l

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-19 Thread Richard Biener via Gcc-patches
On Mon, Jul 19, 2021 at 8:20 AM Kewen.Lin wrote: > > Hi, > > This patch follows Martin's suggestion here[1], to support > range-based for loops for traversing loops, analogously to > the patch for vec[2]. > > Bootstrapped and regtested on powerpc64le-linux-gnu P9, > x86_64-redhat-linux and aarch64

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-19 Thread Martin Sebor via Gcc-patches
On 7/19/21 12:20 AM, Kewen.Lin wrote: Hi, This patch follows Martin's suggestion here[1], to support range-based for loops for traversing loops, analogously to the patch for vec[2]. Bootstrapped and regtested on powerpc64le-linux-gnu P9, x86_64-redhat-linux and aarch64-linux-gnu, also bootstrap

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-20 Thread Kewen.Lin via Gcc-patches
on 2021/7/19 下午2:26, Andrew Pinski wrote: > On Sun, Jul 18, 2021 at 11:21 PM Kewen.Lin via Gcc-patches > wrote: >> >> Hi, >> >> This patch follows Martin's suggestion here[1], to support >> range-based for loops for traversing loops, analogously to >> the patch for vec[2]. >> >> Bootstrapped and r

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-20 Thread Kewen.Lin via Gcc-patches
on 2021/7/19 下午10:08, Jonathan Wakely wrote: > On Mon, 19 Jul 2021 at 07:20, Kewen.Lin wrote: >> >> Hi, >> >> This patch follows Martin's suggestion here[1], to support >> range-based for loops for traversing loops, analogously to >> the patch for vec[2]. >> >> Bootstrapped and regtested on powerp

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-20 Thread Kewen.Lin via Gcc-patches
on 2021/7/19 下午10:34, Richard Biener wrote: > On Mon, Jul 19, 2021 at 8:20 AM Kewen.Lin wrote: >> >> Hi, >> >> This patch follows Martin's suggestion here[1], to support >> range-based for loops for traversing loops, analogously to >> the patch for vec[2]. >> >> Bootstrapped and regtested on power

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-20 Thread Kewen.Lin via Gcc-patches
on 2021/7/19 下午11:59, Martin Sebor wrote: > On 7/19/21 12:20 AM, Kewen.Lin wrote: >> Hi, >> >> This patch follows Martin's suggestion here[1], to support >> range-based for loops for traversing loops, analogously to >> the patch for vec[2]. >> >> Bootstrapped and regtested on powerpc64le-linux-gnu

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-20 Thread Jonathan Wakely via Gcc-patches
On Tue, 20 Jul 2021 at 09:58, Kewen.Lin wrote: > > on 2021/7/19 下午11:59, Martin Sebor wrote: > > On 7/19/21 12:20 AM, Kewen.Lin wrote: > >> Hi, > >> > >> This patch follows Martin's suggestion here[1], to support > >> range-based for loops for traversing loops, analogously to > >> the patch for ve

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-20 Thread Jonathan Wakely via Gcc-patches
On Tue, 20 Jul 2021 at 10:49, Jonathan Wakely wrote: > > On Tue, 20 Jul 2021 at 09:58, Kewen.Lin wrote: > > > > on 2021/7/19 下午11:59, Martin Sebor wrote: > > > On 7/19/21 12:20 AM, Kewen.Lin wrote: > > >> Hi, > > >> > > >> This patch follows Martin's suggestion here[1], to support > > >> range-ba

Re: [RFC/PATCH] Use range-based for loops for traversing loops

2021-07-20 Thread Kewen.Lin via Gcc-patches
on 2021/7/20 下午5:49, Jonathan Wakely wrote: > On Tue, 20 Jul 2021 at 09:58, Kewen.Lin wrote: >> >> on 2021/7/19 下午11:59, Martin Sebor wrote: >>> On 7/19/21 12:20 AM, Kewen.Lin wrote: Hi, This patch follows Martin's suggestion here[1], to support range-based for loops for traver