Re: -fno-common

2019-01-29 Thread Bernhard Schommer
orting any kind of "common" at all - or at the very > least, make "-fno-common" the default. > > <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678> > > (That is just my opinion, of course.) > > mvh., > > David > > > On 29/01/2

Re: -fno-common

2019-01-29 Thread David Brown
any kind of "common" at all - or at the very least, make "-fno-common" the default. <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678> (That is just my opinion, of course.) mvh., David On 29/01/2019 11:09, Bernhard Schommer wrote: Thanks for the fast answer, sor

Re: -fno-common

2019-01-29 Thread Jakub Jelinek
On Tue, Jan 29, 2019 at 11:09:35AM +0100, Bernhard Schommer wrote: > Thanks for the fast answer, sorry if I posted this on the wrong list. > Actually I was looking at this not due to changes in my code but > rather to implement the option for another compiler and I wanted to > mimic the behavior of

Re: -fno-common

2019-01-29 Thread Bernhard Schommer
., 29. Jan. 2019 um 10:54 Uhr schrieb David Brown : > > On 28/01/2019 16:58, Bernhard Schommer wrote: > > Hi, > > > > I would like to know if the handling of the option -fno-common has > > changed between version 7.3 and 8.2 for x86. I tried it with the > > defaul

Re: -fno-common

2019-01-29 Thread David Brown
On 28/01/2019 16:58, Bernhard Schommer wrote: > Hi, > > I would like to know if the handling of the option -fno-common has > changed between version 7.3 and 8.2 for x86. I tried it with the > default system version of OpenSUSE and for example: > > const int i; > > is

Re: -fno-common

2019-01-29 Thread Richard Biener
On Mon, Jan 28, 2019 at 4:59 PM Bernhard Schommer wrote: > > Hi, > > I would like to know if the handling of the option -fno-common has > changed between version 7.3 and 8.2 for x86. I tried it with the > default system version of OpenSUSE and for example: > > const int

Re: -fno-common

2019-01-29 Thread Iain Sandoe
> On 28 Jan 2019, at 15:58, Bernhard Schommer > wrote: > > I would like to know if the handling of the option -fno-common has > changed between version 7.3 and 8.2 for x86. I tried it with the > default system version of OpenSUSE and for example: > > const int i; &g

-fno-common

2019-01-28 Thread Bernhard Schommer
Hi, I would like to know if the handling of the option -fno-common has changed between version 7.3 and 8.2 for x86. I tried it with the default system version of OpenSUSE and for example: const int i; is placed in the .bss section. With a newer self-compiled version 8.2 the same variable is

Re: -fno-common

2005-03-31 Thread Daniel Jacobowitz
On Thu, Mar 31, 2005 at 07:33:53PM +0100, Dave Korn wrote: > Is the manual wording just slightly vague here, and both .data and .bss > are regarded as covered by the phrase "the data section of the object file"? Yes. -- Daniel Jacobowitz CodeSourcery, LLC

-fno-common

2005-03-31 Thread Dave Korn
According to the manual, --snip-- `-fno-common' In C, allocate even uninitialized global variables in the data section of the object file, rather than generating them as common blocks. -