Re: [PATCH 2/6] gimple-ssa-store-merging.c: fix sort_by_bitpos

2017-07-22 Thread Segher Boessenkool
On Sat, Jul 15, 2017 at 11:47:45PM +0300, Alexander Monakov wrote: > --- a/gcc/gimple-ssa-store-merging.c > +++ b/gcc/gimple-ssa-store-merging.c > @@ -516,12 +516,12 @@ sort_by_bitpos (const void *x, const void *y) >store_immediate_info *const *tmp = (store_immediate_info * const *) x; >sto

Re: [PATCH] toplev: avoid recursive emergency_dump_function

2017-07-22 Thread Segher Boessenkool
Hi! On Thu, Jul 20, 2017 at 05:40:28PM +0300, Alexander Monakov wrote: > Segher pointed out on IRC that ICE reporting with dumps enabled got worse: > if emergency_dump_function itself leads to an ICE (e.g. by segfaulting), > nested ICE reporting will invoke emergency_dump_function in exactly the >

[PATCH, alpha]: libgo patch: also recognize alpha in signal handler

2017-07-22 Thread Uros Bizjak
Similar patch to the one for PPC [1]. [1] https://gcc.gnu.org/ml/gcc-patches/2017-07/msg01334.html Tested on alphaev68-pc-linux-gnu. Uros. Index: libgo/runtime/go-signal.c === --- libgo/runtime/go-signal.c (revision 250443) +++ li

Re: gotools patch committed: Test runtime, misc/cgo/{test,testcarchive}

2017-07-22 Thread Uros Bizjak
> This patch to the gotools Makefile adds tests to `make check`. We now > test the runtime package using the newly built go tool, and test that > cgo works by running the misc/cgo/test and misc/cgo/testcarchive > tests. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. > Committed to main

Re: [00/77] Add wrapper classes for machine_modes

2017-07-22 Thread Segher Boessenkool
Hi Richard, On Thu, Jul 13, 2017 at 09:35:44AM +0100, Richard Sandiford wrote: > This series is an update of: > > https://gcc.gnu.org/ml/gcc-patches/2016-12/msg00766.html > > It adds a group of wrapper classes around machine_mode for modes that > are known to belong to, or need to belong to,

Re: Fix inconsistent section flags

2017-07-22 Thread Joerg Sonnenberger
One more patch needed for another edge condition. Joerg Index: src/external/gpl3/gcc/dist/gcc/varasm.c diff -u src/external/gpl3/gcc/dist/gcc/varasm.c:1.2 src/external/gpl3/gcc/dist/gcc/varasm.c:1.3 --- src/external/gpl3/gcc/dist/gcc/varasm.c:1.2 Mon Jul 17 19:53:10 2017 +++ src/external/gpl3/gcc

[PATCH] dwarf2asm.c for AIX

2017-07-22 Thread David Edelsohn
dw2_asm_output_nstring() essentially inlines the version of OUTPUT_ASCII for the GNU Assembler ELF file format for the debug_asm case to append the comment and calls OUTPUT_ASCII when not debugging. The DWARF portion of the GCC testsuite relies on the text that appears in the comments, so it needs

[PATCH] dwarf2out.c patch for AIX

2017-07-22 Thread David Edelsohn
Recent versions of the AIX toolchain now support the debug_macinfo section. The section header of the macinfo_section includes a reference to the debug lineptr. As with the earlier adjustment to the debug line reference in the debug_info section, the debug_macinfo section requires a similar adjust