Re: gcc-gnat for Linux/MIPS-32bit-be, and HPPA2

2018-07-22 Thread U.Mutlu
Carlo Pisani wrote on 07/22/2018 03:24 AM: hi guys got some deb files from an old Debian's archive(1), converted .deb into .tgz, and installed but it seems there is no gnat-gcc I don't know how Gnat works on Debian, but for sure it doesn't work like the version I have on my gentoo-x86 box where

Re: gcc-gnat for Linux/MIPS-32bit-be, and HPPA2

2018-07-22 Thread U.Mutlu
U.Mutlu wrote on 07/22/2018 11:20 AM: Carlo Pisani wrote on 07/22/2018 03:24 AM: hi guys got some deb files from an old Debian's archive(1), converted .deb into .tgz, and installed but it seems there is no gnat-gcc I don't know how Gnat works on Debian, but for sure it doesn't work like the ver

Re: gcc-gnat for Linux/MIPS-32bit-be, and HPPA2

2018-07-22 Thread Didier Kryn
Le 22/07/2018 à 03:24, Carlo Pisani a écrit : hi guys got some deb files from an old Debian's archive(1), converted .deb into .tgz, and installed but it seems there is no gnat-gcc I don't know how Gnat works on Debian, but for sure it doesn't work like the version I have on my gentoo-x86 box whe

Re: gcc-gnat for Linux/MIPS-32bit-be, and HPPA2

2018-07-22 Thread Matthias Klose
On 22.07.2018 03:24, Carlo Pisani wrote: > hi guys > got some deb files from an old Debian's archive(1), converted .deb Debian stretch (9) comes with GCC 6, and gnat cross compilers available, same for Ubuntu 18.04 LTS (GCC 7). It may be better to start with more recent versions (packages are gna

Re: gcc-gnat for Linux/MIPS-32bit-be, and HPPA2

2018-07-22 Thread John David Anglin
On Sun, Jul 22, 2018 at 03:24:48AM +0200, Carlo Pisani wrote:> > On HPPA: > - "gnatgcc" is not existing out of the debian pagkage(1) > - gnat make calls "gcc-4.3" > - the installed gcc (provided by gentoo) can't compile ada-files > - since the compiler was compiled with languages=C,C++,Fortran >

Re: O2 Agressive Optimisation by GCC

2018-07-22 Thread Umesh Kalappa
Allan , >>he might as well go traditional you mean using the locks ? Thank you ~Umesh On Sat, Jul 21, 2018 at 4:20 AM, Allan Sandfeld Jensen wrote: > On Samstag, 21. Juli 2018 00:21:48 CEST Jonathan Wakely wrote: >> On Fri, 20 Jul 2018 at 23:06, Allan Sandfeld Jensen wrote: >> > On Freitag, 20.

Re: O2 Agressive Optimisation by GCC

2018-07-22 Thread Umesh Kalappa
Hi Richard, making i unsigned still the optimization is effective ,no luck. and yes test() is the threaded routine and since i and j are global ,we need the side effects take place like assignment etc ,that are observed by other threads . By making volatile or thread safe or atomic operations

Re: gcc-gnat for Linux/MIPS-32bit-be, and HPPA2

2018-07-22 Thread U.Mutlu
I think the OP is in need of the 4.3 version of gnat, found it at a Debian archive site, but lacks some dependencies (gcc and libs). Normally they too should be there around. The 4.3 versions of gnat/gcc/g++ can be found precompiled in the official Debian 5 (lenny) release for the various platfor

gcc-9-20180722 is now available

2018-07-22 Thread gccadmin
Snapshot gcc-9-20180722 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/9-20180722/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 9 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

Re: O2 Agressive Optimisation by GCC

2018-07-22 Thread Allan Sandfeld Jensen
On Sonntag, 22. Juli 2018 17:01:29 CEST Umesh Kalappa wrote: > Allan , > > >>he might as well go traditional > > you mean using the locks ? > No I am meant relying on undefined behavior. In your case I would recommend using modern atomics, which is defined behavior, and modern and fast. I was