Re: configure adds -std=gnu++11 to CXX variable

2024-05-27 Thread Florian Weimer via Gcc
* Paul Eggert: > On 2024-05-27 03:35, Florian Weimer wrote: >> Does this turn on experimental language modes by default? That's >> probably not what we want. > > What do C++ developers want these days? Autoconf should have a > reasonable default, and C++11 is surely not a good default anymore. I

Archaeology time: Help me identify these ancient OSes and vendors

2024-05-27 Thread Zack Weinberg via Gcc
I've been trying to fill in as many gaps as possible in the config.sub test suite (and finding a whole bunch of actual bugs in the process). I have a short list of inputs where the actual code to handle them is incomplete or broken, there's nothing in config.guess to use as a clue, and I don't know

Re: configure adds -std=gnu++11 to CXX variable

2024-05-27 Thread Paul Eggert
On 2024-05-27 12:18, Jakub Jelinek wrote: Maybe respect the carefully chosen compiler default (unless explicitly overridden in configure.ac)? Autoconf gave up on that idea long ago, as we had bad experiences with compiler defaults being chosen for the convenience of distro maintainers rather

Re: Question about the SLP vectorizer failed to perform automatic vectorization in one case

2024-05-27 Thread Hanke Zhang via Gcc
Hi Biener, Thanks for your help! I have already open a bugreport here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115252. Thanks Hanke Zhang Richard Biener 于2024年5月27日周一 21:14写道: > > On Sat, May 25, 2024 at 3:08 PM Hanke Zhang via Gcc wrote: > > > > Hi, > > I'm trying to studing the automati

Re: configure adds -std=gnu++11 to CXX variable

2024-05-27 Thread Jakub Jelinek via Gcc
On Mon, May 27, 2024 at 12:04:40PM -0700, Paul Eggert wrote: > On 2024-05-27 03:35, Florian Weimer wrote: > > Does this turn on experimental language modes by default? That's > > probably not what we want. > > What do C++ developers want these days? Autoconf should have a reasonable > default, an

Re: configure adds -std=gnu++11 to CXX variable

2024-05-27 Thread Paul Eggert
On 2024-05-27 03:35, Florian Weimer wrote: Does this turn on experimental language modes by default? That's probably not what we want. What do C++ developers want these days? Autoconf should have a reasonable default, and C++11 is surely not a good default anymore. It would be easy to disco

Re: Question about the SLP vectorizer failed to perform automatic vectorization in one case

2024-05-27 Thread Richard Biener via Gcc
On Sat, May 25, 2024 at 3:08 PM Hanke Zhang via Gcc wrote: > > Hi, > I'm trying to studing the automatic vectorization optimization in GCC, > but I found one case that SLP vectorizer failed to do such things. > > Here is the sample code: (also a simplification version of a function > from the 625/

Re: configure adds -std=gnu++11 to CXX variable

2024-05-27 Thread Florian Weimer via Gcc
* Paul Eggert: > diff --git a/NEWS b/NEWS > index 20dbc173..4ba8f3fe 100644 > --- a/NEWS > +++ b/NEWS > @@ -16,6 +16,10 @@ GNU Autoconf NEWS - User visible changes. >C11 and later. Programs can use AC_C_VARARRAYS and __STDC_NO_VLA__ >to use VLAs if available. > > +*** AC_PROG_CXX now pr