Re: Should ARMv8-A generic tuning default to -moutline-atomics

2020-04-29 Thread Andrew Pinski via Gcc
On Wed, Apr 29, 2020 at 6:25 AM Florian Weimer via Gcc wrote: > > Distributions are receiving requests to build things with > -moutline-atomics: > > > > Should this be reflected in the GCC upstream defaults for ARMv8-A > generic tuning?

Re: How do I make a double free at runtime fail reliably in the testsuite?

2020-04-29 Thread Tobias Burnus
-fsanitize=address should work – but I think you need to create gfortran.dg/asan/asan.exp, e.g. by copying gcc.dg/asan/asan.exp and adapting it. That not only checks for double free but also for instruments the code for use-after-free errors. Cheers, Tobias On 4/29/20 9:23 PM, Thomas Koenig vi

How do I make a double free at runtime fail reliably in the testsuite?

2020-04-29 Thread Thomas Koenig via Gcc
Hi, I have a test case which does a double free on a pointer, at runtime. I have to narrow it down a bit before comitting, but it indicates a regression. Assuming I put this into the testsuite, how can I make sure that this actually fails if the problem ever re-occurs? Is there a combination of

Re: Should ARMv8-A generic tuning default to -moutline-atomics

2020-04-29 Thread Andrew Haley via Gcc
On 4/29/20 1:54 PM, Florian Weimer via Gcc wrote: > * Kyrylo Tkachov: > >> Hi Florian, >>> >>> Distributions are receiving requests to build things with >>> -moutline-atomics: >>> >>> >>> >>> Should this be reflected in the GCC upstream d

Re: Should ARMv8-A generic tuning default to -moutline-atomics

2020-04-29 Thread Florian Weimer via Gcc
* Kyrylo Tkachov: > Hi Florian, > >> -Original Message- >> From: Gcc On Behalf Of Florian Weimer via Gcc >> Sent: 29 April 2020 13:33 >> To: gcc@gcc.gnu.org >> Cc: nmeye...@amzn.com >> Subject: Should ARMv8-A generic tuning default to -moutline-atomics >> >> Distributions are receiving r

RE: Should ARMv8-A generic tuning default to -moutline-atomics

2020-04-29 Thread Kyrylo Tkachov
Hi Florian, > -Original Message- > From: Gcc On Behalf Of Florian Weimer via Gcc > Sent: 29 April 2020 13:33 > To: gcc@gcc.gnu.org > Cc: nmeye...@amzn.com > Subject: Should ARMv8-A generic tuning default to -moutline-atomics > > Distributions are receiving requests to build things with >

Should ARMv8-A generic tuning default to -moutline-atomics

2020-04-29 Thread Florian Weimer via Gcc
Distributions are receiving requests to build things with -moutline-atomics: Should this be reflected in the GCC upstream defaults for ARMv8-A generic tuning? It does not make much sense to me if every distribution has to overide these