Re: vector lightweight debug mode

2015-09-19 Thread François Dumont
On 16/09/2015 22:29, Jonathan Wakely wrote: > >>> constexpr bool __move_storage = _Alloc_traits::_S_propagate_on_move_assign() || _Alloc_traits::_S_always_equal(); @@ -778,7 +779,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER */ refer

Re: vector lightweight debug mode

2015-09-19 Thread Jonathan Wakely
On 17 September 2015 at 21:52, Christopher Jefferson wrote: > -- Forwarded message -- > From: Christopher Jefferson > Date: 17 September 2015 at 18:59 > Subject: Re: vector lightweight debug mode > To: Jonathan Wakely > > > On 16 September 2015 at 21:29, Jonathan Wakely wrote: >

Re: vector lightweight debug mode

2015-09-19 Thread Jonathan Wakely
On 19 September 2015 at 08:31, François Dumont wrote: > On 16/09/2015 22:29, Jonathan Wakely wrote: >> No, because it is undefined to compare iterators that belong to >> different containers, or to compare pointers that point to different >> arrays. >> > > (Written before Christopher reply:) > > At

Re: vector lightweight debug mode

2015-09-19 Thread Jonathan Wakely
On 19 September 2015 at 10:12, Jonathan Wakely wrote: > On 19 September 2015 at 08:31, François Dumont wrote: >> On 16/09/2015 22:29, Jonathan Wakely wrote: >>> No, because it is undefined to compare iterators that belong to >>> different containers, or to compare pointers that point to different

[PATCH] hurd: align -p and -pg behavior on Linux

2015-09-19 Thread Samuel Thibault
On Linux, -p and -pg do not make gcc link against libc_p.a, only -profile does (as documented in r11246), and thus people expect -p and -pg to work without libc_p.a installed (it is actually even not available any more in Debian). We should thus rather make the Hurd port do the same to avoid build

Re: [PATCH, middle-end]: Fix PR67619, ICE at -O1 and above in int_mode_for_mode, at stor-layout.c

2015-09-19 Thread Andreas Schwab
Uros Bizjak writes: > PR middle-end/67619 > * gcc.dg/torture/pr67619.c: New test. On ia64: FAIL: gcc.dg/torture/pr67619.c -O0 (test for excess errors) Excess errors: /usr/local/gcc/gcc-20150919/gcc/testsuite/gcc.dg/torture/pr67619.c:12:1: error: __builtin_eh_return not suppor

[committed, pa] Don't generate sibcall to public functions on TARGET_ELF32

2015-09-19 Thread John David Anglin
The attached change fixes a compilation error building the Debian mupdf package: cc -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DJBIG_NO_MEMENTO -Wall -pipe -O2 -DNDEBUG -fomit-frame-pointer -Iinclude -Igenerated -I/usr/inc lude/freetype2-DSHARE_JPEG -I/usr/include/openjpeg-

Re: Fwd: [PATCH] Enable libstdc++ numeric conversions on Cygwin

2015-09-19 Thread Jennifer Yao
> Do you already have a copyright assignment for GCC? > > If not, would you be willing to complete one? No, but I would be willing to complete one, yes. Are you willing to send me the appropriate forms, or should I contact someone else? > N.B. I don't see a patch attached to your mail, but that's

Re: [Patch, libstdc++] Add specific error message into exceptions

2015-09-19 Thread Tim Shen
On Wed, Sep 16, 2015 at 10:38 AM, Jonathan Wakely wrote: > On 12/09/15 01:57 +, Tim Shen wrote: >> >> Ok then, let's not appending dynamic location string, but only throw a >> string literal pointer. > > > This looks great, and a *huge* improvement on the current errors even > without more pre

Re: [PATCH] Fix Cygwin bootstrap failing to find win32 libraries

2015-09-19 Thread JonY
On 9/20/2015 02:52, Kai Tietz wrote: > Hello JonY, > > patch is ok with proper ChangeLog. > > Thanks, > Kai > Am 16.09.2015 13:42 schrieb "JonY" <10wa...@gmail.com>: > Explicitly search sysroot/usr/lib/32api for additional win32 libraries, fixes failing Cygwin bootstrapping. How is that? >> l

Re: (patch,rfc) s/gimple/gimple */

2015-09-19 Thread Trevor Saunders
On Fri, Sep 18, 2015 at 09:32:37AM -0600, Jeff Law wrote: > On 09/18/2015 07:32 AM, Trevor Saunders wrote: > >On Wed, Sep 16, 2015 at 03:11:14PM -0400, David Malcolm wrote: > >>On Wed, 2015-09-16 at 09:16 -0400, Trevor Saunders wrote: > >>>Hi, > >>> > >>>I gave changing from gimple to gimple * a sh

Re: (patch,rfc) s/gimple/gimple */

2015-09-19 Thread Jeff Law
On 09/19/2015 06:55 PM, Trevor Saunders wrote: On Fri, Sep 18, 2015 at 09:32:37AM -0600, Jeff Law wrote: On 09/18/2015 07:32 AM, Trevor Saunders wrote: On Wed, Sep 16, 2015 at 03:11:14PM -0400, David Malcolm wrote: On Wed, 2015-09-16 at 09:16 -0400, Trevor Saunders wrote: Hi, I gave changing

[PATCH] Fix 47679 by improving jump threading

2015-09-19 Thread Jeff Law
The refactoring has been leading to the point where we can record temporary expression equivalences in the threader in a manner similar to what we've already been doing with the const/copy equivalences. Once we're recording the temporary expression equivalences in the right place, we detect