Re: [PATCH 4/4][libbacktrace] Add tests for unused formats

2018-12-29 Thread Gerald Pfeifer
On Sun, 30 Dec 2018, Tom de Vries wrote: > thanks for finding this. > > I build the patch for x86_64 and ran make check in the libbacktrace > subdirectory of the build directory, results looks good. Cool, thanks! I went ahead and committed this fix. Note, that I *may* be offline the next nine

Re: [PATCH 4/4][libbacktrace] Add tests for unused formats

2018-12-29 Thread Tom de Vries
On 29-12-18 07:40, Gerald Pfeifer wrote: > On Fri, 23 Nov 2018, Tom de Vries wrote: >> When building libbacktrace, we typically use elf.c, and don't build >> pecoff.c, xcoff.c or unknown.c >> >> Add testcases that use unused format to ensure that we also build and >> test those on a typical

[committed][darwin] Fix FAIL: g++.dg/abi/key2.C -std=gnu++* (test for excess errors)

2018-12-29 Thread Dominique d'Humières
The test g++.dg/abi/key2.C fails on darwin for trunk and the gcc8 branch due the warning /opt/gcc/_clean/gcc/testsuite/g++.dg/abi/key2.C: In function 'int sub()': /opt/gcc/_clean/gcc/testsuite/g++.dg/abi/key2.C:17:2: warning: no return statement in function returning non-void [-Wreturn-type]

Re: [wwwdocs] Add no_sanitize attribute

2018-12-29 Thread Gerald Pfeifer
On Sun, 7 Oct 2018, Sandra Loosemore wrote: > This is definitely an improvement. One more tweak I'd make is > > s/any of the options specified/the options provided as arguments to the > attribute/ Thank you, Sandra. I made that additional change. On Mon, 8 Oct 2018, Martin Liška wrote: > Yes,

Re: [PATCH/AARCH64] Add OcteonTX for -mcpu=

2018-12-29 Thread Gerald Pfeifer
On Wed, 26 Dec 2018, Andrew Pinski wrote: > This was what I committed finally. Update for the new cores that was > added after my previous patch. Also worth a note in gcc-9/changes.html I assume? Gerald

[committed][MSP430] Warn that the critical function attribute has no effect on interrupt functions

2018-12-29 Thread Jozef Lawrynowicz
The attached patch fixes an issue for MSP430 where the "critical" and "interrupt" function attributes could be used together. The MSP430 hardware already performs the same tasks as the "critical" attribute when entering/exiting an ISR i.e. disabling interrupts on entry, and restoring the

Re: [PATCH,fortran] Add support for IEEE_SUBNORMAL

2018-12-29 Thread Steve Kargl
On Fri, Dec 28, 2018 at 04:40:55PM -0800, Jerry DeLisle wrote: > On 12/28/18 10:44 AM, Steve Kargl wrote: > > Ping. > > OK, thanks. > For the record, here's the patch and ChangeLogs for what I committed. Previous patch did not come with a testscase. 2018-12-29 Steven G. Kargl *

Re: [PATCH 4/4][libbacktrace] Add tests for unused formats

2018-12-29 Thread Gerald Pfeifer
On Fri, 28 Dec 2018, Gerald Pfeifer wrote: > The patch below should address this (and does in my tests), though > my tester seems to have unrelated(?) problems right now, so better > for one of you to give a spin as well, please. Now successfully regression tested on i586-unknown-freebsd11.2. >

[committed] : Enable building pa-d.c on all hppa targets

2018-12-29 Thread John David Anglin
The attached patch enables building pa-c.d on all hppa targets.  Tested on hppa64-linux-gnu, hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. https://gcc.gnu.org/ml/gcc-testresults/2018-12/msg03264.html https://gcc.gnu.org/ml/gcc-testresults/2018-12/msg02928.html As can be seen, the 64-bit test

Re: v2 [PATCH] Fixes for PR68356, PR81210, and PR81693

2018-12-29 Thread Iain Sandoe
> On 29 Dec 2018, at 13:13, Dominique d'Humières wrote: > > New patch for taking into account the comments in > https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01003.html > > 2018-12-29 Dominique d'Humieres > >PR tree-optimization/68356 >PR target/81210 >PR

v2 [PATCH] Fixes for PR68356, PR81210, and PR81693

2018-12-29 Thread Dominique d'Humières
New patch for taking into account the comments in https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01003.html 2018-12-29 Dominique d'Humieres PR tree-optimization/68356 PR target/81210 PR target/81693 * gcc.dg/torture/pr68264.c: Skip on darwin. *

[committed] Fix OpenMP 5.0 task reduction lowering (PR ipa/88586)

2018-12-29 Thread Jakub Jelinek
Hi! The following testcase ICEs with -fopenmp -flto, because two fields in task reduction structure had NULL DECL_CONTEXT. Fixed thusly, additionally I've added type alignment adjustments that insert_field_into_struct normally does; I couldn't use that function though, because I don't want the

Re: [C++ Patch] [PR c++/88146] do not crash synthesizing inherited ctor(...)

2018-12-29 Thread Jakub Jelinek
On Sat, Dec 29, 2018 at 12:33:18AM -0200, Alexandre Oliva wrote: > --- a/gcc/cp/typeck2.c > +++ b/gcc/cp/typeck2.c > @@ -918,7 +918,11 @@ check_narrowing (tree type, tree init, tsubst_flags_t > complain, bool const_only) >return ok; > } > > - init = maybe_constant_value (init); >