Re: How to check if two symbols are from same source unit during WPA ?

2016-04-15 Thread Jan Hubicka
> On Thu, 14 Apr 2016, Ramana Radhakrishnan wrote: > > > > > > > > > What happens in practice? GCC doesn't put functions in random > > > partitions. > > > > > > > The data goes into a separate partition AFAIU - it means that all data > > accesses are as though they are extern references whic

Getting format of arg_type

2016-04-15 Thread Prasad Ghangal
Hi! Regarding PR64955, I was observing function format_type_warning() (in c-family/c-format.c), how can I get format specifier for arg_type? Say, if tree arg_type stores 'char', then how can I get its format i.e. 'c' ? Thanks, Prasad Ghangal

GCC 6.0.1 Status Report (2016-04-15)

2016-04-15 Thread Jakub Jelinek
Status == We have reached zero P1 regressions today (and < 100 important regressions) and the branches/gcc-6-branch has been created; and GCC 6.1-rc1 will be built and announced soon. The branch is now frozen for blocking regressions and documentation fixes only, all changes to the branch requ

Re: GCC 6.0.1 Status Report (2016-04-15)

2016-04-15 Thread Jeff Law
On 04/15/2016 09:10 AM, Jakub Jelinek wrote: Status == We have reached zero P1 regressions today (and < 100 important regressions) and the branches/gcc-6-branch has been created; and GCC 6.1-rc1 will be built and announced soon. The branch is now frozen for blocking regressions and documenta

Re: GCC 6.0.1 Status Report (2016-04-15)

2016-04-15 Thread H.J. Lu
On Fri, Apr 15, 2016 at 8:12 AM, Jeff Law wrote: > On 04/15/2016 09:10 AM, Jakub Jelinek wrote: >> >> Status >> == >> >> We have reached zero P1 regressions today (and < 100 important >> regressions) and the branches/gcc-6-branch has been created; >> and GCC 6.1-rc1 will be built and announced

GCC 7.0.0 Status Report (2016-04-15)

2016-04-15 Thread Jakub Jelinek
Status == The trunk has branched for the GCC 6 release and is now open again for general development, stage 1. Please consider not disrupting it too much during the RC phase of GCC 6 so it is possible to test important fixes for 6.1 on it. Quality Data Priority # Ch

Re: Problems installing GCC

2016-04-15 Thread Jonathan Wakely
On 15 April 2016 at 17:27, Hassan Haddouchi wrote: > Dear, > > > I'm new to the C world and I was looking for the GCC compiler. So far I > downloaded the .tar.gz from the website and unpacked it, but how can I > install the compiler in order to be able to compile C code? > > Kind regards, > Haddo

Problems installing GCC

2016-04-15 Thread Hassan Haddouchi
Dear, I'm new to the C world and I was looking for the GCC compiler. So far I downloaded the .tar.gz from the website and unpacked it, but how can I install the compiler in order to be able to compile C code? Kind regards, Haddouchi Student Computer Science

GCC 6.1 Release Candidate available from gcc.gnu.org

2016-04-15 Thread Jakub Jelinek
The first release candidate for GCC 6.1 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/6.0.1-RC-20160415 and shortly its mirrors. It has been generated from SVN revision 235040. I have so far bootstrapped and tested the release candidate on x86_64-linux and i686-linux. Please test it

Re: Preventing preemption of 'protected' symbols in GNU ld 2.26 [aka should we revert the fix for 65248]

2016-04-15 Thread Jeff Law
On 03/30/2016 08:34 AM, Alan Modra wrote: OK, I'll try to list the technical issues re. pr65248 "Copy relocation against protected symbol doesn't work". Given a shared library that defines a variable, and a non-PIC executable that references that variable, the linker makes a duplicate of the var

Re: Preventing preemption of 'protected' symbols in GNU ld 2.26 [aka should we revert the fix for 65248]

2016-04-15 Thread H.J. Lu
On Fri, Apr 15, 2016 at 2:49 PM, Jeff Law wrote: > > So in the immediate term, if we drop the problem 65248 patch, we're back in > a state where the DSO and the executable can have two different views of > certain objects. In which case we really need a solution in place to flag > that as an erro