Re: [PATCH, rs6000] Add support to __builtin_cpu_supports() for two new HWCAP2 bits

2017-07-29 Thread Peter Bergner
On 6/27/17 10:51 AM, Segher Boessenkool wrote: > On Mon, Jun 26, 2017 at 10:33:48PM -0500, Peter Bergner wrote: >> Tulio added support for two new AT_HWCAP2 bits to GLIBC which have been >> recently added to the kernel: >> >> https://www.sourceware.org/ml/libc-alpha/2017-06/msg00069.html >> >> Th

Re: [PATCH][PR sanitizer/77631] Support separate debug info in libbacktrace

2017-07-29 Thread Denis Khalikov
On 06/29/2017 02:59 AM, Ian Lance Taylor wrote: On Fri, Jun 16, 2017 at 8:39 AM, Denis Khalikov wrote: Hello everyone, This is a patch for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631 Can some one please review attached patch. Sorry to take so long about this. It's a lot to look at.

[PATCH] Handle BIT_INSERT_EXPR in hashable_expr_equal_p

2017-07-29 Thread Andrew Pinski
Hi, When I was playing around where lowering of bit-field accesses go in the pass order, I found that DOM had the same issue as PRE had when it came to comparing BIT_INSERT_EXPR for equality. The same exact testcase was showing the wrong code; gcc.dg/tree-ssa/20040324-1.c. This fixes DOM the sa

[PATCH] i386: Update INCOMING_FRAME_SP_OFFSET for exception handler

2017-07-29 Thread H.J. Lu
Since there is an extra error code passed to the exception handler, INCOMING_FRAME_SP_OFFSET is return address plus error code for the exception handler. This patch updates INCOMING_FRAME_SP_OFFSET to the correct value for the exception handler. This patch exposed a bug in DWARF stack frame CFI g

[PATCH] i386: Rewrite check for AVX512 features

2017-07-29 Thread H.J. Lu
Add a new file, avx512-check.h, to check all AVX512 features. The test is skipped if any requested AVX512 features are unavailable. Tested on Skylake server and Haswell. OK for trunk? H.J. --- PR target/81590 * gcc.target/i386/avx512-check.h: New file. * gcc.target/i386

Fix segfault on anonymous structures with -fdump-ada-spec

2017-07-29 Thread Eric Botcazou
This is a trivial patch to fix a segfault on anonymous structures with the special -fdump-ada-spec switch. It also contains a fixlet for enumeral types. Bootstrapped/regtested on x86_64-suse-linux, applied on the mainline. 2017-07-29 Eric Botcazou c-family/ * c-ada-spec.c (dump_gen