Re: Moving to C++11

2019-09-26 Thread Eric Gallager
On 9/26/19, Nicholas Krause wrote: > Greetings, > > I asked about moving to C/C++ 11 as it would make it easier to > > allow multithreading support due to having a memory model > > alongside other features. Jason Merill mentioned due to it > > being so common it may be a good time to. > > Moving

Re: Moving to C++11

2019-09-26 Thread Pedro Alves
On 9/26/19 9:08 AM, Richard Biener wrote: > Note the main issue is host compiler support. I'm not sure if C++11 would > be the step we'd gain most - for some hashtable issues I'd have needed > std::move support for example. There's always the possibility to > require an intermediate step (first

Re: Moving to C++11

2019-09-26 Thread Richard Sandiford
Tom Tromey writes: >> "Jason" == Jason Merrill writes: > > Jason> Note that std::move is from C++11. > >>> I'm not too worried about requiring even a C++14 compiler, for the >>> set of products we still release latest compilers we have newer >>> GCCs available we can use for building them (ev

Re: Moving to C++11

2019-09-26 Thread Tom Tromey
> "Jason" == Jason Merrill writes: Jason> Note that std::move is from C++11. >> I'm not too worried about requiring even a C++14 compiler, for the >> set of products we still release latest compilers we have newer >> GCCs available we can use for building them (even if those are >> not our p

Re: Moving to C++11

2019-09-26 Thread Jason Merrill
On Thu, Sep 26, 2019 at 4:08 AM Richard Biener wrote: > On Thu, Sep 26, 2019 at 9:23 AM Jonathan Wakely wrote: > > On Thu, 26 Sep 2019, 05:10 Nicholas Krause, wrote: > > > > > > Greetings, > > > > > > I asked about moving to C/C++ 11 as it would make it easier to > > > > > > allow multithreading

Re: Moving to C++11

2019-09-26 Thread Nicholas Krause
On 9/26/19 4:08 AM, Richard Biener wrote: On Thu, Sep 26, 2019 at 9:23 AM Jonathan Wakely wrote: On Thu, 26 Sep 2019, 05:10 Nicholas Krause, wrote: Greetings, I asked about moving to C/C++ 11 as it would make it easier to allow multithreading support due to having a memory model alongsid

Re: Moving to C++11

2019-09-26 Thread Richard Biener
On Thu, Sep 26, 2019 at 9:23 AM Jonathan Wakely wrote: > > On Thu, 26 Sep 2019, 05:10 Nicholas Krause, wrote: > > > > Greetings, > > > > I asked about moving to C/C++ 11 as it would make it easier to > > > > allow multithreading support due to having a memory model > > > > alongside other feature

Re: Moving to C++11

2019-09-26 Thread Jonathan Wakely
On Thu, 26 Sep 2019, 05:10 Nicholas Krause, wrote: > > Greetings, > > I asked about moving to C/C++ 11 as it would make it easier to > > allow multithreading support due to having a memory model > > alongside other features. Jason Merill mentioned due to it > > being so common it may be a good ti