Re: [PATCH, libstdc++] Add proper OpenBSD support

2012-09-09 Thread Mark Kettenis
> Date: Sun, 9 Sep 2012 21:07:39 +0100 > From: Jonathan Wakely > > On 4 September 2012 20:26, Mark Kettenis wrote: > > Fixes a few testcases. Mostly based on the existing > > NetBSD/FreeBSD/Darwin code. > > > > 2012-09-04 Mark Kettenis > > > > * configure.host (*-*-openbsd*) Set cpu_i

Re: [PATCH 3/6] Thread pointer built-in functions, arm [PING]

2012-09-09 Thread Chung-Lin Tang
On 2012/8/28 下午 04:14, Chung-Lin Tang wrote: > On 12/7/12 5:47 PM, Ramana Radhakrishnan wrote: >> On 12 July 2012 07:52, Chung-Lin Tang wrote: >>> ARM parts, no further notes. >>> >> >> ARM parts are ok, modulo approval for generic parts and no >> regressions with testing on arm-linux-gnueabi. >

Re: [PATCH 5/6] Thread pointer built-in functions, xtensa [PING]

2012-09-09 Thread Chung-Lin Tang
On 2012/8/28 下午 04:15, Chung-Lin Tang wrote: > On 12/7/12 下午2:52, Chung-Lin Tang wrote: > Xtensa parts updated to use MD pattern. > > Thanks, > Chung-Lin > > * config/xtensa/xtensa.md (get_thread_pointersi): Renamed from > load_tp. > (set_thread_pointersi): Renamed from set_tp. >

RE: [PATCH,i386] fma4 addition for bdver2

2012-09-09 Thread Gopalasubramanian, Ganesh
Hi, The second change (done in config/i386/driver-i386.c (host_detect_local_cpu)) is not reflected in svn revision 191109. Since we are handling the fma instruction selection in i386.c\i386.md, we need not disable the flag in driver. Let me know your opinion. Regards Ganesh -Original Mess

Re: [C++ Patch] for c++/54537

2012-09-09 Thread Jason Merrill
OK. Jason

Re: PR 43852: new configure option --disable-libstdcxx-verbose

2012-09-09 Thread Jonathan Wakely
On 27 August 2012 18:15, Jonathan Wakely wrote: > Unless anyone has objections I'm going to commit this to trunk, > implementing Sebastian's idea to disable the verbose terminate handler > and the "pure virtual function called" message, which write to stderr > when a process terminates. This allows

[wwwdocs] gcc-3.1/changes.html, adjust Adacore link

2012-09-09 Thread Gerald Pfeifer
Applied. Gerald Index: htdocs/gcc-3.1/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.1/changes.html,v retrieving revision 1.64 diff -u -3 -p -r1.64 changes.html --- htdocs/gcc-3.1/changes.html 27 Nov 2010 20:24:33 -

Re: [PATCH] Further OpenBSD/amd64 and OpenBSD/i386 improvements

2012-09-09 Thread Gerald Pfeifer
Hi Mark, On Tue, 4 Sep 2012, Mark Kettenis wrote: > Here are some additional fixes for OpenBSD that fix a fair number of > failing testcases. I can split this up in smaller patches if that's > preferred. in general having one patch per issue is preferred, and it makes it easier and quicker to ge

Re: [v3] fix bootstrap/54419

2012-09-09 Thread Dominique Dhumieres
> Also, Jack, why is the variable called ac_cv_x86_rdrand rather than > glibcxx_x86_rdrand to be consistent with every other variable in > libstdc++-v3/acinclude.m4? And why _GLIBCXX_X86_RDRAND not something > like _GLIBCXX_HAVE_AS_X86_RDRAND? The bootstrap failure is fixed, but Although I canno

Re: [PATCH, libstdc++] Add proper OpenBSD support

2012-09-09 Thread Jonathan Wakely
Oops, forgot to correct the gcc-patches email address... On 9 September 2012 21:07, Jonathan Wakely wrote: > On 4 September 2012 20:26, Mark Kettenis wrote: >> Fixes a few testcases. Mostly based on the existing >> NetBSD/FreeBSD/Darwin code. >> >> 2012-09-04 Mark Kettenis >> >> * conf

Re: [v3] fix bootstrap/54419

2012-09-09 Thread Gerald Pfeifer
On Sun, 9 Sep 2012, Gerald Pfeifer wrote: > amd64-unknown-freebsd8.3 doesn't like this, I'm afraid: > > configure: visibility supported: yes > checking for rdrand support in assembler... eval: ${+...}: Bad substitution > gmake[2]: *** [configure-stage1-target-libstdc++-v3] Error 2 > > Note, this

Re: [v3] fix bootstrap/54419

2012-09-09 Thread Jonathan Wakely
On 9 September 2012 20:43, Gerald Pfeifer wrote: > On Sun, 9 Sep 2012, Jonathan Wakely wrote: >> I've committed the patch from >> http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00466.html (with some >> fixes to the changelog entry) >> >> 2012-09-09 Ulrich Drepper >> Dominique d'Hu

Re: [v3] fix bootstrap/54419

2012-09-09 Thread Gerald Pfeifer
On Sun, 9 Sep 2012, Jonathan Wakely wrote: > I've committed the patch from > http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00466.html (with some > fixes to the changelog entry) > > 2012-09-09 Ulrich Drepper > Dominique d'Humieres > Jack Howarth > > PR boo

[PATCH] Use -lgcc in libgcc_so linker script

2012-09-09 Thread Andreas Schwab
The libgcc_s.so linker script (as used by targets using t-slibgcc-libgcc) refers to libgcc.a, which causes the linker to search in cwd first, where it might find a completely unrelated libgcc.a (eg. while building a cross gcc). Use -lgcc instead so that it is searched on the library path. Andreas

[C++ Patch] for c++/54537

2012-09-09 Thread Fabien Chêne
Hi, The problem here is the misused of the OVL_USED macro. It should only be applied on OVERLOAD, this patch forces that by checking the OVL_USED macro. As a result, we need to make sure that we have an overload by checking its tree code. Tested x86_64-unknown-linux-gnu. OK to commit ? 2012-09-

Fix libstdc++/54388

2012-09-09 Thread Jonathan Wakely
PR libstdc++/54388 * include/std/array (array::at() const): Ensure lvalue result. * testsuite/23_containers/array/element_access/54388.cc: New. * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust dg-error line numbers. * testsuite/23_co

Re: out-of-line and arch-specific random_device

2012-09-09 Thread Ulrich Drepper
On Sun, Sep 9, 2012 at 1:36 PM, Jonathan Wakely wrote: > Also, why does random.cc contain a non-member function called > _M_strotoul, Copy&paste. Used to be in the class. Should be changed now.

Re: out-of-line and arch-specific random_device

2012-09-09 Thread Jonathan Wakely
On 30 August 2012 17:33, Ulrich Drepper wrote: > On Thu, Aug 30, 2012 at 11:52 AM, Hans-Peter Nilsson > wrote: >>> From: Ulrich Drepper >>> Date: Tue, 28 Aug 2012 05:57:08 +0200 >> >> This patch (commit r190787) broke build for non-_GLIBCXX_USE_RANDOM_TR1 >> targets. (See libstdc++-v3/configure

LTO partitioning reorg 2/n

2012-09-09 Thread Jan Hubicka
Hi, this patch removes the duplication of boundary logic in between lto_promote_cross_file_statics and compute_ltrans_boundary. With common representation it is easy to compute boundaries first and the promote the symbols that appear in some boundary. This duplication was source of quite few bugs

[v3] fix bootstrap/54419

2012-09-09 Thread Jonathan Wakely
I've committed the patch from http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00466.html (with some fixes to the changelog entry) 2012-09-09 Ulrich Drepper Dominique d'Humieres Jack Howarth PR bootstrap/54419 * acinclude.m4: Define GLIBCXX_CHECK_X86

Re: VxWorks Patches Back from the Dead!

2012-09-09 Thread rbmj
Just because I *love* bothering everyone with emails... I've made a few changes and squashed everything into a single patch for ease of application. The commit message is inside the patch, but here's the suggested ChangeLog: configure.ac: add --enable-libstdcxx option configure: regenerate

[SH] PR 54089 - Improve software dynamic shifts

2012-09-09 Thread Oleg Endo
Hello, This patch does two things... 1) The dynamic shift cost is set to be the same if HW dynamic shifts are available. This improves code size for SH2A a little (-2 KByte on CSiBE for -m2a-single -O2). 2) Improve code around library function calls for software dynamic shifts (logical right +

[rtl] combine a vec_concat of 2 vec_selects from the same vector

2012-09-09 Thread Marc Glisse
Hello, this patch lets the compiler try to rewrite: (vec_concat (vec_select x [a]) (vec_select x [b])) as: vec_select x [a b] or even just "x" if appropriate. In a first iteration I was restricting it to b-a==1, but it seemed better not to: it helps for {v[1],v[0]} and doesn't change anythi

Re: [Patch contrib] check_GNU_style: remove tmp file

2012-09-09 Thread Gerald Pfeifer
On Mon, 3 Sep 2012, Christophe Lyon wrote: > check_GNU_style.sh currently leaves a temporary file in the current > directory. This patch removes it upon exit. > > Christophe. > > 2012-09-03 Christophe Lyon > > * check_GNU_style.sh: Remove temporay file upon exit. Shouldn't this also

Re: symbolic names for processor IDs

2012-09-09 Thread Uros Bizjak
On Sun, Sep 9, 2012 at 4:53 AM, Ulrich Drepper wrote: > On Sat, Sep 8, 2012 at 7:17 AM, Uros Bizjak wrote: >> There are some other cpuid vendor signatures than AMD and Intel, > > How about a patch with this complete list? Well, OK then. It won't hurt. The patch is OK for mainline with appropria