Re: GSoC 2018: Hrishikesh Kulkarni has been selected to work on LTO dumping tool

2018-04-30 Thread Richard Biener
On Sat, Apr 28, 2018 at 5:36 PM, Hrishikesh Kulkarni wrote: > Hi, > > I have created a new file lto-dump.c and to test if it's linked > correctly, I have put a dummy function called dump which should simply > print hello world after passing -dump option to lto1. > > ~/gnu-toolchain/gcc/master/test

"position independent" vs "position-independent" in documentation

2018-04-30 Thread Jonathan Wakely
Should we standardize on "position-independent" and add it to https://gcc.gnu.org/codingconventions.html#Spelling ?

Re: Bug or feature - merging linkage declarations from static forced-inline functions

2018-04-30 Thread Freddie Chopin
Here's a minimal test case: -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- $ cat test.cpp extern "C" { void f1() { union some_type{ char a[2]; int b; } variable; } void f2() { union some_type{ char a[2]; int b; } variable; } } $ arm-none-eabi-gcc test.cpp -c

Re: Second GCC 8.1 Release Candidate available from gcc.gnu.org

2018-04-30 Thread Bill Seurer
On 04/27/18 16:39, Jakub Jelinek wrote: The second release candidate for GCC 8.1 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/8.0.1-RC-20180427 and shortly its mirrors. It has been generated from SVN revision 259731. I have so far bootstrapped and tested the release candidate on x8

Re: Bug or feature - merging linkage declarations from static forced-inline functions

2018-04-30 Thread Jonathan Wakely
On 30 April 2018 at 20:02, Freddie Chopin wrote: > Here's a minimal test case: > > -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- > > $ cat test.cpp > > extern "C" > { > > void f1() > { > union some_type{ > char a[2]; > int b; > } variable; > } > > void f2() > { > union some

Re: Bug or feature - merging linkage declarations from static forced-inline functions

2018-04-30 Thread Nathan Sidwell
On 04/30/2018 03:21 PM, Jonathan Wakely wrote: On 30 April 2018 at 20:02, Freddie Chopin wrote: Here's a minimal test case: -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- $ cat test.cpp Nathan, is this a regression for this testcase? IIUC the local types and the local variables s

Re: Bug or feature - merging linkage declarations from static forced-inline functions

2018-04-30 Thread Freddie Chopin
On Mon, 2018-04-30 at 15:38 -0400, Nathan Sidwell wrote: > On 04/30/2018 03:21 PM, Jonathan Wakely wrote: > > Nathan, is this a regression for this testcase? IIUC the local > > types > > and the local variables should have no linkage, and not conflict. > > > > that does seem plausible. Freddie,

Re: "position independent" vs "position-independent" in documentation

2018-04-30 Thread Sandra Loosemore
On 04/30/2018 05:56 AM, Jonathan Wakely wrote: Should we standardize on "position-independent" and add it to https://gcc.gnu.org/codingconventions.html#Spelling ? The same generic English usage rules apply here as to other compound phrases; hyphenate when immediately before a noun, don't hyphe

gcc 8.0.1 RC documentation broken

2018-04-30 Thread Andrew Roberts
I filed a bug (85578) about the documentation in: gcc-8.0.1-RC-20180427/INSTALL being broken (links not working). I filed this under 'web' as I couldn't see any documentation component. It doesn't appear to have been looked at, so just wanted to flag it up before the release tomorrow.