[pushed] Ada : Fix bootstrap after r11-4793.

2020-11-07 Thread Iain Sandoe
Hi The patch omitted a change for Ada, fixed thus. tested on x86_64-darwin, pushed to master as obvious/bootstrap fix. thanks Iain gcc/ada/ChangeLog: * gcc-interface/misc.c (gnat_printable_name): Change DECL_IS_BUILTIN -> DECL_IS_UNDECLARED_BUILTIN. --- gcc/ada/gcc-interface/mi

Re: Rename DECL_IS_BUILTIN to DECL_IS_UNDECLARED_BUILTIN

2020-11-07 Thread Iain Sandoe
Andreas Schwab wrote: ../../gcc/ada/gcc-interface/misc.c: In function 'const char* gnat_printable_name(tree, int)': ../../gcc/ada/gcc-interface/misc.c:562:47: error: 'DECL_IS_BUILTIN' was not declared in this scope if (verbosity == 2 && !DECL_IS_BUILTIN (decl)) should be fixed by https:

Re: [pushed] Ada : Fix bootstrap after r11-4793.

2020-11-07 Thread Eric Botcazou
> The patch omitted a change for Ada, fixed thus. > > tested on x86_64-darwin, > pushed to master as obvious/bootstrap fix. > thanks > Iain > > gcc/ada/ChangeLog: > > * gcc-interface/misc.c (gnat_printable_name): Change > DECL_IS_BUILTIN -> DECL_IS_UNDECLARED_BUILTIN. Thanks for fix

Re: [PATCH] c++: Tweaks for value_dependent_expression_p.

2020-11-07 Thread Jozef Lawrynowicz
On Fri, Oct 30, 2020 at 02:36:00AM +, Marek Polacek via Gcc-patches wrote: > We may not call value_dependent_expression_p on expressions that are > not potential constant expressions, otherwise value_d could crash, > as I saw recently (in C++98). So beef up the checking in i_d_e_p. > > This r

Re: [PATCH] libcpp: Update cpp_wcwidth() to Unicode 13.0.0

2020-11-07 Thread Lewis Hyatt via Gcc-patches
On Fri, Nov 6, 2020 at 12:46 PM Jeff Law wrote: > > > On 10/23/20 9:01 AM, Lewis Hyatt via Gcc-patches wrote: > > Hello- > > > > The attached patch updates cpp_wcwidth() (for computation of display > > widths needed to calculate column numbers in diagnostics) from Unicode 12 > > to Unicode 13. The

[PATCH] Objective-C++ : Allow prefix attrs on linkage specs.

2020-11-07 Thread Iain Sandoe
Hi, For Objective-C++/C, we cater for the possibility that a class interface (@interface) might be preceded by prefix attributes. In the case of Objective-C++, the reference implementation (a.k.a. clang) also allows (and combines) prefix attributes that precede a linkage specification (but only o

[C PATCH RFC] Drop qualifiers during lvalue conversion

2020-11-07 Thread Uecker, Martin
To better understand what impact this may have, I added code to drop the qualifiers in 'convert_lvalue_to_rvalue'. Here is the patch. There are three new errors in the testsuite: In 'gcc.dg/cond-constqual-1.c' we test for the opposite behavior for conditional operators. I do not know why. We cou

[PATCH] CFI-handling : Add a hook to allow target-specific Personality and LSDA indirections.

2020-11-07 Thread Iain Sandoe
Hi ** Actually, this was originally posted during last stage-1, but I forgot to keep pinging it… At present, the output of .cfi_personality and .cfi_lsda assumes ELF semantics for indirections. This isn't suitable for all targets and is one blocker to moving Darwin to use .cfi_. T

PING^4 [PATCH] Use the section flag 'o' for __patchable_function_entries

2020-11-07 Thread H.J. Lu via Gcc-patches
On Sat, Oct 31, 2020 at 5:01 AM H.J. Lu wrote: > > On Fri, Oct 23, 2020 at 5:41 AM H.J. Lu wrote: > > > > On Fri, Oct 2, 2020 at 6:00 AM H.J. Lu wrote: > > > > > > On Thu, Feb 6, 2020 at 6:57 PM H.J. Lu wrote: > > > > > > > > This commit in GNU binutils 2.35: > > > > > > > > https://sourceware.

Re: [PATCH 1/4] c++: Fix ICE with variadic concepts and aliases [PR93907]

2020-11-07 Thread Patrick Palka via Gcc-patches
On Fri, 6 Nov 2020, Jason Merrill wrote: > On 11/5/20 8:40 PM, Patrick Palka wrote: > > This patch (naively) extends the PR93907 fix to also apply to variadic > > concepts invoked with a type argument pack. Without this, we ICE on > > the below testcase (a variadic version of concepts-using2.C) i

Re: [PATCH] c++: Don't purge the satisfaction caches

2020-11-07 Thread Patrick Palka via Gcc-patches
On Fri, 6 Nov 2020, Jason Merrill wrote: > On 11/2/20 9:03 AM, Patrick Palka wrote: > > On Tue, 27 Oct 2020, Patrick Palka wrote: > > > > > The adoption of P2104 means we can memoize the result of satisfaction > > > indefinitely and no longer have to clear the satisfaction caches on > > > various

[r11-4813 Regression] FAIL: c-c++-common/Wimplicit-fallthrough-20.c -std=gnu++98 (test for warnings, line 36) on Linux/x86_64

2020-11-07 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, 8b7a9a249a63e066cff6e95db05a3158b4cc56cc is the first bad commit commit 8b7a9a249a63e066cff6e95db05a3158b4cc56cc Author: Martin Uecker Date: Sat Nov 7 00:48:33 2020 +0100 C Parser: Implement mixing of labels and code. caused FAIL: c-c++-common/Wimplicit-fallthrough-20.c

Re: [r11-4813 Regression] FAIL: c-c++-common/Wimplicit-fallthrough-20.c -std=gnu++98 (test for warnings, line 36) on Linux/x86_64

2020-11-07 Thread Marek Polacek via Gcc-patches
On Sat, Nov 07, 2020 at 10:15:14AM -0800, sunil.k.pandey via Gcc-patches wrote: > On Linux/x86_64, > > 8b7a9a249a63e066cff6e95db05a3158b4cc56cc is the first bad commit > commit 8b7a9a249a63e066cff6e95db05a3158b4cc56cc > Author: Martin Uecker > Date: Sat Nov 7 00:48:33 2020 +0100 > > C Pars

Re: [r11-4813 Regression] FAIL: c-c++-common/Wimplicit-fallthrough-20.c -std=gnu++98 (test for warnings, line 36) on Linux/x86_64

2020-11-07 Thread Uecker, Martin
Thanks, Marek!

Re: [PATCH] rs6000: MMA type causes an ICE in ranger pass due to incompatible types

2020-11-07 Thread Peter Bergner via Gcc-patches
On 10/21/20 2:31 PM, Peter Bergner wrote: > Ok, I'll wait a week and then do the backport and testing. I just pushed this to the GCC 10 release branch now. Peter