[PATCH] RTEMS: Add GCC Runtime Library Exception

2017-07-23 Thread Sebastian Huber
gcc/ PR libgcc/61152 * aarch64/rtems.h: Add GCC Runtime Library Exception. Format changes. * arm/rtems.h: Likewise. * bfin/rtems.h: Likewise. * i386/rtemself.h: Likewise. * lm32/rtems.h: Likewise. * m32c/rtems.h: Likewise. *

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 08/08 V2

2017-07-23 Thread Jeff Law
On 07/21/2017 07:23 AM, Andreas Krebbel wrote: > Hi, > > I've used your patch as the base and applied my changes on top. The > attached patch is the result, so it is supposed to replace your > version. It now also supports emitting a runtime loop. > > It bootstraps fine but unfortunately I see

[committed] Always assume NetBSD provides __cxa_atexit

2017-07-23 Thread Krister Walfridsson
I have committed the attached patch to remove checks for obsolete NetBSD releases from the 1990s that do not provide __cxa_atexit. Bootstrapped and tested on i386-unknown-netbsdelf6.1 and x86_64-unknown-netbsd6.1. /Krister 2017-07-23 Krister Walfridsson * config.gcc (*-*-netbsd

Re: [PATCH] New C++ warning option '-Wduplicated-access-specifiers'

2017-07-23 Thread Martin Sebor
On 07/23/2017 02:42 PM, Volker Reichelt wrote: On 21 Jul, Martin Sebor wrote: On 07/20/2017 10:35 AM, Volker Reichelt wrote: Hi, the following patch introduces a new C++ warning option -Wduplicated-access-specifiers that warns about redundant access-specifiers in classes, e.g. class B {

Re: [PATCH v2] New C++ warning option '-Waccess-specifiers'

2017-07-23 Thread Volker Reichelt
On 23 Jul, Eric Gallager wrote: > On 7/23/17, Volker Reichelt wrote: >> Hi again, >> >> here is an updated patch for a new warning about redundant >> access-specifiers. It takes Dave's various comments into account. >> >> The main changes w.r.t. to the previous versions are: >> >> * The warning is

Re: [PATCH v2] New C++ warning option '-Waccess-specifiers'

2017-07-23 Thread Eric Gallager
On 7/23/17, Volker Reichelt wrote: > Hi again, > > here is an updated patch for a new warning about redundant > access-specifiers. It takes Dave's various comments into account. > > The main changes w.r.t. to the previous versions are: > > * The warning is now a two-level warning with a slightly s

[PATCH v2] New C++ warning option '-Waccess-specifiers'

2017-07-23 Thread Volker Reichelt
Hi again, here is an updated patch for a new warning about redundant access-specifiers. It takes Dave's various comments into account. The main changes w.r.t. to the previous versions are: * The warning is now a two-level warning with a slightly shorter name: -Waccess-specifiers=1, -Waccess-sp

Re: [PATCH] New C++ warning option '-Wduplicated-access-specifiers'

2017-07-23 Thread Volker Reichelt
On 21 Jul, David Malcolm wrote: > On Fri, 2017-07-21 at 19:58 +0200, Volker Reichelt wrote: >> On 21 Jul, David Malcolm wrote: >> > On Thu, 2017-07-20 at 18:35 +0200, Volker Reichelt wrote: >> >> Hi, >> >> >> >> the following patch introduces a new C++ warning option >> >> -Wduplicated-access-spec

Re: [PATCH] New C++ warning option '-Wduplicated-access-specifiers'

2017-07-23 Thread Volker Reichelt
On 21 Jul, Martin Sebor wrote: > On 07/20/2017 10:35 AM, Volker Reichelt wrote: >> Hi, >> >> the following patch introduces a new C++ warning option >> -Wduplicated-access-specifiers that warns about redundant >> access-specifiers in classes, e.g. >> >> class B >> { >> public: >> B();

Re: [patch, fortran] Fix another dependency check for reallocation on assignment

2017-07-23 Thread Jerry DeLisle
On 07/23/2017 04:27 AM, Thomas Koenig wrote: > Hello world, > > in PR 66102, I found a patch by Mikael which has never been applied. > After dusting it off, finding that it looks reasonable and fixes > the test case in question I'd like to apply this. > > Regression-tested. OK for trunk? > OK,

[patch, libfortran] Fix PR 80365, undefined memcpy

2017-07-23 Thread Thomas Koenig
Hello world, the attached test cases fixes a problematic invocation of memcpy where src=NULL and n=0 by simply doing nothing in the surrounding function if there is nothing to be done. No test case, because this only shows up with a sanitized libgfortran or under a debugger. OK for trunk? Rega

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

2017-07-23 Thread Denis Khalikov
Hello, this is a ping for that patch https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00022.html Thanks.

std::vector default default and move constructors

2017-07-23 Thread François Dumont
Hi Is it time now to consider this patch ? * include/bits/stl_vector.h (_Vector_impl_data): New. (_Vector_impl): Inherit from latter. (_Vertor_impl(_Vector_impl&&, _Tp_alloc_type&&)): New. (_Vector_base(_Vector_base&&, const allocator_type&)): Use latter. (_Vector_bas

[PATCH, rs6000, 5/6] Backport patch to align .toc section

2017-07-23 Thread Bill Schmidt
Hi, Alan added code to have GCC align the .toc section in GCC 7, aligning to four bytes for 32-bit mode, and 8 bytes for 64-bit mode. This is normally unnecessary since alignment of the .toc has historically been handled by the standard linker script. However, people using non-standard toolchain

[PATCH] PR driver/81523: Make -static override -pie

2017-07-23 Thread H.J. Lu
-static and -pie together behave differently depending on whether GCC is configured with --enable-default-pie. On x86, "-static -pie" fails to create executable when --enable-default-pie isn't used, but creates a static executable when --enable-default-pie is used. This patch makes -static comple

Re: [PATCH 7/6] fortran: fix pair_cmp qsort comparator

2017-07-23 Thread Thomas Koenig
Am 21.07.2017 um 16:29 schrieb Alexander Monakov: Bootstrapped and regtested on x86-64, OK for trunk? * interface.c (pair_cmp): Fix gfc_symbol comparison. Adjust comment. OK. Thanks for the patch! Regards Thomas

Re: [PATCH] allow deferred-shape pointers in OpenACC data clauses

2017-07-23 Thread Thomas Koenig
Am 17.07.2017 um 00:31 schrieb Cesar Philippidis: On 07/16/2017 10:28 AM, Thomas Koenig wrote: It is possible to declare a pointer with the contiguous attribute. Is there a reason that this cannot be used in general= That's a good point. But some users don't want to modify their programs mor

[patch, fortran] Fix another dependency check for reallocation on assignment

2017-07-23 Thread Thomas Koenig
Hello world, in PR 66102, I found a patch by Mikael which has never been applied. After dusting it off, finding that it looks reasonable and fixes the test case in question I'd like to apply this. Regression-tested. OK for trunk? Regards Thomas 2017-07-23 Thomas Koenig

[PATCH, i386]: fix PR80569, "shrx" instruction generated in 16-bit mode

2017-07-23 Thread Uros Bizjak
Hello! We have to prevent BMI, BMI2 and TBM instructions in -m16 mode. 2017-07-23 Uros Bizjak PR target/80569 * config/i386/i386.c (ix86_option_override_internal): Disable BMI, BMI2 and TBM instructions for -m16. testsuite/ChangeLog: 2017-07-23 Uros Bizjak PR target/8056

Re: [PATCH,AIX] Enable XCOFF in libbacktrace on AIX

2017-07-23 Thread Rainer Orth
Hi Ian, > On Mon, May 15, 2017 at 7:24 AM, REIX, Tony wrote: >> Description: >> * This patch enables libbacktrace to handle XCOFF on AIX. >> >> Tests: >> * Fedora25/x86_64 + GCC v7.1.0 : Configure/Build: SUCCESS >>- build made by means of a .spec file based on Fedora gcc-7.0.1-0.12 >> .spe