Re: Minor documentation typo

2016-04-10 Thread Andreas Schwab
NightStrike  writes:

> On https://gcc.gnu.org/gcc-5/porting_to.html about two thirds of the way down:
>
> "As the default mode changed to C11, the __STDC_VERSION__ standard
> macro, introduced in C95, is now defined by default, and has the value
> 201112L."
>
> That should probably be C99.

No, C95 is correct.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Re: Split-stack support for aarch64

2016-04-10 Thread Ian Lance Taylor
On Mon, Apr 4, 2016 at 6:52 AM, Adhemerval Zanella
 wrote:
>
> Since BZ#67877 [1] does not have much information on it, I would like
> to ask for some inputs of which is the requirement of implementing
> split-stack on aarch64 besides 'feature parity'.
>
> I am asking it because on PR it states the main use it gccgo and
> afaik there is some usage in other programs, but the widespread
> is not really convincing (for instance, rust now allows targets
> to be built without it [2]).
>
> I also noted GO from 1.4 does not use split-stack anymore, stating
> it suffers from a performance issue ("hot stack split") and some
> search on the internet describes that for 64-bit targets split-stack
> is not really an efficient way to manage stack grows.
>
> So this is only for gccgo support? It gccgo stuck in pre 1.4 version
> and/or not willing remove split-stack usage (as go itself)?

As far as I know gccgo is the only program to seriously use split-stack support.

The Go gc compiler now uses stack copying rather than stack splitting.
It would be great to implement that in gccgo, but it's hard.  It
requires knowing absolutely every single pointer on the stack.  If we
could do that, stack copying would in effect be a minor variant of
stack splitting.  The compiler side would not change noticeably, only
some of the support code in libgcc.

Ian


gcc-6-20160410 is now available

2016-04-10 Thread gccadmin
Snapshot gcc-6-20160410 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/6-20160410/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 6 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision 234869

You'll find:

 gcc-6-20160410.tar.bz2   Complete GCC

  MD5=6961f3dfee5cff57bc496afe7299eba1
  SHA1=58abcbfc6c171fe8a0d7f3971b08ce0ae5a56030

Diffs from 6-20160403 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-6
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.