Re: gcc -fno-common

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 06, 2020 at 11:01:56AM +0000, Dave Love wrote:
> Jakub Jelinek <jakub@xxxxxxxxxx> writes:
> 
> > On Wed, Feb 05, 2020 at 05:13:27PM +0000, 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.  I'll pass that on to the maintainer of the (x86_64-specific)
> performance library, though I guess he'll fix it anyhow.

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 variables without
initializers.

	Jakub
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux