Re: How to allocate memory safely in RTL, preferably on the stack? (relating to the RTL-level if-converter)

2015-09-10 Thread Jeff Law
On 09/10/2015 12:28 PM, Abe wrote: On 9/8/15 1:12 PM, Jeff Law wrote: Look at assign_stack_local. Thanks very much! The above was very helpful, and I have started to make some progress on this work. I`ll report back when I have much more progress. Would you like me to CC further emails abo

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 functio

Re: Powerpc atomic_load

2015-09-10 Thread 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 function: > > __atomic_load(&Buf, &buf, __ATOMIC_SEQ_CST); > > expands to: > > sync > lis

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

Build problem with libgomp on ToT?

2015-09-10 Thread Steve Ellcey
I just ran into this build failure last night: /usr/bin/install: cannot create regular file `/scratch/sellcey/repos/nightly/install-mips-mti-linux-gnu/lib/gcc/mips-mti-linux-gnu/6.0.0/finclude/omp_lib_kinds.mod': File exists This is on a parallel make install (-j 7) with multilibs. I don't see