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 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

-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 plac

Reduced source set

2016-10-20 Thread Bernhard Schommer
Hi, for local version of different gcc version (c/c++ - only) we want to minimize the size of the sources in our local git. What can be removed without problems? Best, -Bernhard

Re: ppc eabi float arguments

2015-09-22 Thread Bernhard Schommer
Am 22.09.2015 um 19:43 schrieb David Edelsohn: On Tue, Sep 22, 2015 at 1:39 PM, Bernhard Schommer wrote: Hi, if been working with the windriver Diab c compiler for 32bit ppc for and encountered an incompatibly with the eabi version of the gcc 4.83. When calling functions with more than 8

ppc eabi float arguments

2015-09-22 Thread Bernhard Schommer
Hi, if been working with the windriver Diab c compiler for 32bit ppc for and encountered an incompatibly with the eabi version of the gcc 4.83. When calling functions with more than 8 float arguments the gcc stores the 9th float argument (and so on) as a float where as the diab compiler stores th

Re: Powerpc atomic_load

2015-09-10 Thread Bernhard Schommer
Thanks a lot for this fast answer. Am 10.09.2015 um 19:52 schrieb David Edelsohn: https://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html On Thu, Sep 10, 2015 at 1:39 PM, Bernhard Schommer wrote: I just ran into something strange using gcc 8.4.3 for powerpc. A call to the __atomic_load

Powerpc atomic_load

2015-09-10 Thread Bernhard Schommer
I just ran into something strange using gcc 8.4.3 for powerpc. A call to the __atomic_load function: __atomic_load(&Buf, &buf, __ATOMIC_SEQ_CST); expands to: sync lis 9,Buf@ha lwz 9,Buf@l(9) cmpw 7,9,9 bne- 7,$+4 isync stw 9,8(1) However the PowerISA_V2.07 manual suggest in Appendix B.2.3 (Saf