Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-18 Thread Paul Iannetta via Gcc-patches
On Mon, Oct 17, 2022 at 09:22:23AM +0200, Richard Biener wrote: > On Fri, Oct 14, 2022 at 4:18 PM Paul Iannetta via Gcc-patches > wrote: > > > > On Wed, Oct 12, 2022 at 01:18:19AM +0200, Paul Iannetta wrote: > > > On Mon, Oct 10, 2022 at 11:07:06PM +, Joseph Myers wrote: > > > > On Mon, 10 Oct

Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-17 Thread Richard Biener via Gcc-patches
On Fri, Oct 14, 2022 at 4:18 PM Paul Iannetta via Gcc-patches wrote: > > On Wed, Oct 12, 2022 at 01:18:19AM +0200, Paul Iannetta wrote: > > On Mon, Oct 10, 2022 at 11:07:06PM +, Joseph Myers wrote: > > > On Mon, 10 Oct 2022, Paul Iannetta via Gcc-patches wrote: > > > > > > > I have a patch to

Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-14 Thread Paul Iannetta via Gcc-patches
On Wed, Oct 12, 2022 at 01:18:19AM +0200, Paul Iannetta wrote: > On Mon, Oct 10, 2022 at 11:07:06PM +, Joseph Myers wrote: > > On Mon, 10 Oct 2022, Paul Iannetta via Gcc-patches wrote: > > > > > I have a patch to bring this feature to the C front-end as well, and > > > would like to hear your

Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-11 Thread Paul Iannetta via Gcc-patches
On Mon, Oct 10, 2022 at 11:07:06PM +, Joseph Myers wrote: > On Mon, 10 Oct 2022, Paul Iannetta via Gcc-patches wrote: > > > I have a patch to bring this feature to the C front-end as well, and > > would like to hear your opinion on it, especially since it may affect > > the feature-set of the

Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-10 Thread Richard Biener via Gcc-patches
On Mon, Oct 10, 2022 at 4:12 PM Paul Iannetta via Gcc-patches wrote: > > Hi, > > I am trying to bridge the gap between the extensions supported by the C > and C++ front-ends. When it comes to vector extensions, C++ supports > vectors in comparisons and within conditional expressions whereas the C

Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-10 Thread Joseph Myers
On Mon, 10 Oct 2022, Paul Iannetta via Gcc-patches wrote: > I have a patch to bring this feature to the C front-end as well, and > would like to hear your opinion on it, especially since it may affect > the feature-set of the objc front-end as well. > Currently, this is only a tentative patch and

Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-10 Thread Iain Sandoe
Hi Paul, > On 10 Oct 2022, at 16:20, Paul Iannetta wrote: > On Mon, Oct 10, 2022 at 03:37:24PM +0100, Iain Sandoe wrote: >> Hi Paul, >> >> Not a review of the patch - but a couple of observations. >> >>> On 10 Oct 2022, at 15:11, Paul Iannetta via Gcc-patches >>> wrote: >> >>> I am trying t

Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-10 Thread Paul Iannetta via Gcc-patches
Hi Ian, Observations are also very welcomed, thank you! On Mon, Oct 10, 2022 at 03:37:24PM +0100, Iain Sandoe wrote: > Hi Paul, > > Not a review of the patch - but a couple of observations. > > > On 10 Oct 2022, at 15:11, Paul Iannetta via Gcc-patches > > wrote: > > > I am trying to bridge t

Re: [RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-10 Thread Iain Sandoe
Hi Paul, Not a review of the patch - but a couple of observations. > On 10 Oct 2022, at 15:11, Paul Iannetta via Gcc-patches > wrote: > I am trying to bridge the gap between the extensions supported by the C > and C++ front-ends. When it comes to vector extensions, C++ supports > vectors in c

[RFC] Add support for vectors in comparisons (like the C++ frontend does)

2022-10-10 Thread Paul Iannetta via Gcc-patches
Hi, I am trying to bridge the gap between the extensions supported by the C and C++ front-ends. When it comes to vector extensions, C++ supports vectors in comparisons and within conditional expressions whereas the C front-end does not. I have a patch to bring this feature to the C front-end as