Re: gcc -fno-common

2020-02-06 Thread Dave Love
Jakub Jelinek writes: > Note, if for whatever reason one wants the common behavior e.g. on a few > selected variables, one can add __attribute__((__common__)) to those > variables to override the default, it doesn't have to be just -fcommon > that changes the behavior of all non-automatic variabl

Re: gcc -fno-common

2020-02-06 Thread Jakub Jelinek
On Thu, Feb 06, 2020 at 11:01:56AM +, Dave Love wrote: > Jakub Jelinek writes: > > > On Wed, Feb 05, 2020 at 05:13:27PM +, Dave Love wrote: > >> GCC doesn't document the targets for which -fno-common produces better > >> code. Can someone say for which of the Fedora ones it makes a > >>

Re: gcc -fno-common

2020-02-06 Thread Dave Love
Jakub Jelinek writes: > On Wed, Feb 05, 2020 at 05:13:27PM +, Dave Love wrote: >> GCC doesn't document the targets for which -fno-common produces better >> code. Can someone say for which of the Fedora ones it makes a >> difference? > > E.g. on any that is capable of vectorization. Thanks.

Re: gcc -fno-common

2020-02-05 Thread Jakub Jelinek
On Wed, Feb 05, 2020 at 05:13:27PM +, Dave Love wrote: > GCC doesn't document the targets for which -fno-common produces better > code. Can someone say for which of the Fedora ones it makes a > difference? E.g. on any that is capable of vectorization. Common vars can't have alignment increase

gcc -fno-common

2020-02-05 Thread Dave Love
GCC doesn't document the targets for which -fno-common produces better code. Can someone say for which of the Fedora ones it makes a difference? ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fed