Jakub Jelinek jakub@redhat.com 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 variables without initializers.
Good point. Perhaps that's worth mentioning in the porting notes.
The library is from Intel, so it has to support a compiler with mythical powers, but it already conditionalizes assorted __attribute__s, as you'd expect.