Re: Implicit conversion to a generic vector type
A new arithmeticish type would take more effort, I understand. Marc, are there plans to incorporate your patch, perhaps in an extended form, in a release any time soon? My apologies if I'm addressing these questions to the wrong person. Regards, Martin On 26 May 2016 at 11:11, Marc Glisse wrote: > On Thu, 26 May 2016, martin krastev wrote: > >> Thank you for the reply. So it's a known g++ issue with a candidate >> patch. Looking at the patch, I was wondering, what precludes the >> generic vector types form being proper arithmetic types? > > > In some cases vectors act like arithmetic types (operator+, etc), and in > others they don't (conversions in general). We have scalarish_type_p for > things that are scalars or vectors, we could add arithmeticish_type_p ;-) > > (I think the name arithmetic comes directly from the standard, so we don't > want to change its meaning) > > -- > Marc Glisse
GCC 5.4 Release Candidate available from gcc.gnu.org
The first release candidate for GCC 5.4 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/5.4.0-RC-20160527 and shortly its mirrors. It has been generated from SVN revision 236809. I have sofar bootstrapped the release candidate on x86_64-suse-linux-gnu. Please test the release candidate and report any issues to bugzilla. If all goes well I'd like to release GCC 5.4 at the beginning of next week.
Re: Implicit conversion to a generic vector type
On Fri, 27 May 2016, martin krastev wrote: A new arithmeticish type would take more effort, I understand. Marc, are there plans to incorporate your patch, perhaps in an extended form, in a release any time soon? There is no plan either way. When someone is motivated enough (I am not, currently), they will submit a patch to gcc-patc...@gcc.gnu.org, which will be reviewed. Note that a patch needs to include testcases (see the files in gcc/testsuite/g++.dg for examples). If you are interested, you could give it a try... -- Marc Glisse