gcc-6-20161020 is now available

2016-10-20 Thread gccadmin
Snapshot gcc-6-20161020 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20161020/ 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/branches/gcc-6

Re: LSDA unwind information is off by one (in __gcc_personality_v0)

2016-10-20 Thread Eric Botcazou
> We don't call _Unwind_GetIPInfo from __gcc_personality_v0 because > HAVE_GETIPINFO is not defined. This happens only when using the system > unwinder on ia64, if I'm not mistaken. > > Disassembly shows that the code is not compiled in and not part of > libgcc_s.so.1, although _Unwind_GetIPInfo i

Re: Reduced source set

2016-10-20 Thread Jonathan Wakely
On 20 October 2016 at 16:13, Bernhard Schommer wrote: > Hi, > > for local version of different gcc version (c/c++ - only) we want to > minimize the size of the sources in our local git. What can be removed > without problems? What kind of problems? Do you care about optional things like the saniti

Re: LSDA unwind information is off by one (in __gcc_personality_v0)

2016-10-20 Thread Jim Wilson
On 10/20/2016 11:51 AM, Florian Weimer wrote: exception handling region. Subtracting 1 is an extremely hackish way to achieve that and likely is not portable at all. Gdb has been doing this for over 25 years for every architecture. When you use the backtrace command, it gets a return address

Re: LSDA unwind information is off by one (in __gcc_personality_v0)

2016-10-20 Thread Florian Weimer
On 10/20/2016 08:37 PM, Jeff Law wrote: Obviously if the PC value is actually pointing at the proper instruction, then the decrement is highly undesirable as it could put the adjusted PC into a different exception region. Yes, that's what's happening with the glibc bug. The question is how to

Re: LSDA unwind information is off by one (in __gcc_personality_v0)

2016-10-20 Thread Florian Weimer
On 10/20/2016 07:17 PM, Andreas Schwab wrote: On Okt 20 2016, Florian Weimer wrote: We have a fun little glibc bug which causes pthread_cond_wait to write out of bounds on i386: https://sourceware.org/bugzilla/show_bug.cgi?id=20719 Root cause is this in libgcc/unwind-c.c: 130 int ip

Re: LSDA unwind information is off by one (in __gcc_personality_v0)

2016-10-20 Thread Jeff Law
On 10/20/2016 10:28 AM, Florian Weimer wrote: We have a fun little glibc bug which causes pthread_cond_wait to write out of bounds on i386: https://sourceware.org/bugzilla/show_bug.cgi?id=20719 Root cause is this in libgcc/unwind-c.c: 130 int ip_before_insn = 0; … 158 /* Pars

Re: LSDA unwind information is off by one (in __gcc_personality_v0)

2016-10-20 Thread Andreas Schwab
On Okt 20 2016, Florian Weimer wrote: > We have a fun little glibc bug which causes pthread_cond_wait to write out > of bounds on i386: > > https://sourceware.org/bugzilla/show_bug.cgi?id=20719 > > Root cause is this in libgcc/unwind-c.c: > > 130 int ip_before_insn = 0; > … > 158

LSDA unwind information is off by one (in __gcc_personality_v0)

2016-10-20 Thread Florian Weimer
We have a fun little glibc bug which causes pthread_cond_wait to write out of bounds on i386: https://sourceware.org/bugzilla/show_bug.cgi?id=20719 Root cause is this in libgcc/unwind-c.c: 130 int ip_before_insn = 0; … 158 /* Parse the LSDA header. */ 159 p = parse_lsd

Reduced source set

2016-10-20 Thread Bernhard Schommer
Hi, for local version of different gcc version (c/c++ - only) we want to minimize the size of the sources in our local git. What can be removed without problems? Best, -Bernhard

Re: [BUILDROBOT] s390.md:10630:9: error: this statement may fall through [-Werror=implicit-fallthrough=]

2016-10-20 Thread Andreas Krebbel1
> function ?const char* output_1786(rtx_def**, rtx_insn*)?: > /home/jbglaw/repos-configlist_mk/gcc/gcc/config/s390/s390.md:10630: > 9: error: this statement may fall through [-Werror=implicit-fallthrough=] > if (larl_operand (operands[0], Pmode)) > ^~ > /home/jbglaw/repos-configl