Re: [PATCH] c++: C++20 DR 2237, disallow simple-template-id in cdtor.

2020-04-05 Thread Jason Merrill via Gcc-patches
On 4/4/20 7:30 PM, Marek Polacek wrote: This patch implements DR 2237 which says that a simple-template-id is no longer valid as the declarator-id of a constructor or destructor; see . It is not explicitly stated but out-of-line destructors with a

Re: [PATCH] Generalize -fuse-ld= to support absolute path or arbitrary ld.linker

2020-04-05 Thread Fangrui Song via Gcc-patches
On 2020-03-11, Martin Liška wrote: On 2/10/20 1:02 AM, Fangrui Song via gcc-patches wrote: Hello. Thank you for the patch. You haven't received a review because we are right now in stage4 of the development cycle: https://gcc.gnu.org/develop.html#stage4 Thanks for the review! According to

[committed] libstdc++: Refer to Git documentation

2020-04-05 Thread Gerald Pfeifer
Nice to see that our redirects work as intended. Still, preferrable to adjust URLs. Pushed. Gerald --- libstdc++-v3/ChangeLog | 6 ++ libstdc++-v3/doc/html/manual/appendix_contributing.html | 2 +- libstdc++-v3/doc/xml/manual/appendix_contributing.xml |

Re: [committed] wwwdocs: ada: Tweak link to GNAT: The GNU Ada Compiler.

2020-04-05 Thread Gerald Pfeifer
On Wed, 1 Apr 2020, Arnaud Charlet wrote: > We're investigating at Adacore whether the HTML version can be restored. Thank you. > In the mean time, pointing to > https://www.adacore.com/books/gnat-the-gnu-ada-compiler is indeed the way to > go. Done thusly (= pushed). Gerald commit

Re: [RFA/RFC] [PR tree-optimization/80635] Optimize some V_C_Es with limited ranges into NOP_EXPRs

2020-04-05 Thread Eric Botcazou
> Ada no longer uses VIEW_CONVERT_EXPR between scalar types ... between integral types (it does use it if you explicit request an unchecked version between integer and floating-point types for example). -- Eric Botcazou

[committed] coroutines, testsuite: Renumber two tests (NFC).

2020-04-05 Thread Iain Sandoe
Hi, This fixes a nit in the numbering of tests that I spotted while working on open PRs. tested on x86_64-linux/darwin. applied to master thanks Iain Try to keep tests order by distinct number (and with a short descriptive name appended). gcc/testsuite/ 2020-04-05 Iain Sandoe

Re: [RFA/RFC] [PR tree-optimization/80635] Optimize some V_C_Es with limited ranges into NOP_EXPRs

2020-04-05 Thread Eric Botcazou
> ISTR Ada uses V_C_E to implement checks on value ranges to types. We need to > make sure to not interfere with this. Yes, Jeff privately asked some time ago whether this would be problematic and I answered that this wouldn't. Ada no longer uses VIEW_CONVERT_EXPR between scalar types,

Re: Question?

2020-04-05 Thread Chamsi Pirson via Gcc-patches
Hi just a quick question, My name is Chamsi Pirson. I'm a freelance writer, with 5 years of experience, creating content for varied online portals. I have expertise in writing about technology related topics. You can check out some of my previous posts here and here! I'm reaching out to see if

Re: Results for 10.0.1 20200404 (experimental) [master revision r10-7550-gaae5d08a8d4d] (GCC) testsuite on x86_64-apple-darwin19

2020-04-05 Thread Iain Sandoe via Gcc-patches
Iain Sandoe via Gcc-patches wrote: LAST_UPDATED: Sat Apr 4 08:01:44 UTC 2020 (revision r10-7550-gaae5d08a8d4d) damn .. beaten by autocompletion again.. sorry Iain

Re: [PATCH] free() was missing from a part of the documentation

2020-04-05 Thread Jeff Law via Gcc-patches
On Thu, 2020-04-02 at 12:29 -0600, Zackery Spytz via Gcc-patches wrote: > Hello, > > The free() function was missing from a part of the documentation! THanks for the patch. I've pushed it to the trunk. jeff

Results for 10.0.1 20200404 (experimental) [master revision r10-7550-gaae5d08a8d4d] (GCC) testsuite on x86_64-apple-darwin19

2020-04-05 Thread Iain Sandoe via Gcc-patches
LAST_UPDATED: Sat Apr 4 08:01:44 UTC 2020 (revision r10-7550-gaae5d08a8d4d) Native configuration is x86_64-apple-darwin19 === g++ tests === Running target unix FAIL: c-c++-common/asan/alloca_big_alignment.c -Os output pattern test FAIL:

Re: [RFA/RFC] [PR tree-optimization/80635] Optimize some V_C_Es with limited ranges into NOP_EXPRs

2020-04-05 Thread Jeff Law via Gcc-patches
On Sun, 2020-04-05 at 20:48 +0200, Richard Biener wrote: > On April 5, 2020 5:25:15 PM GMT+02:00, Jeff Law via Gcc-patches < > gcc-patches@gcc.gnu.org> wrote: > > So here's an approach to try and address PR80635. > > > > In this BZ we're getting a false positive uninitialized warning using > >

Re: [RFA/RFC] [PR tree-optimization/80635] Optimize some V_C_Es with limited ranges into NOP_EXPRs

2020-04-05 Thread Richard Biener via Gcc-patches
On April 5, 2020 5:25:15 PM GMT+02:00, Jeff Law via Gcc-patches wrote: > >So here's an approach to try and address PR80635. > >In this BZ we're getting a false positive uninitialized warning using >std::optional. > >As outlined in the BZ this stems from SRA using a VIEW_CONVERT_EXPR >which

RE: [PATCH]Microblaze: Modified trap instruction

2020-04-05 Thread Nagaraju Mekala
> -Original Message- > From: Jeff Law > Sent: Sunday, April 5, 2020 9:36 PM > To: Michael Eager ; Nagaraju Mekala > ; gcc-patches@gcc.gnu.org > Cc: Sadanand Mutyala > Subject: Re: [PATCH]Microblaze: Modified trap instruction > > On Sat, 2020-04-04 at 11:15 -0700, Michael Eager wrote: >

RE: [PATCH]Microblaze: Fixed missing save of r18 in fast_interrupt.

2020-04-05 Thread Nagaraju Mekala
> -Original Message- > From: Jeff Law > Sent: Sunday, April 5, 2020 9:45 PM > To: Michael Eager ; Nagaraju Mekala > ; gcc-patches@gcc.gnu.org > Cc: Sadanand Mutyala ; klauspeter...@gmail.com > Subject: Re: [PATCH]Microblaze: Fixed missing save of r18 in fast_interrupt. > > On Sat,

Re: [PATCH]Microblaze: Fixed missing save of r18 in fast_interrupt.

2020-04-05 Thread Jeff Law via Gcc-patches
On Sat, 2020-04-04 at 11:16 -0700, Michael Eager wrote: > OK to apply. > > On 4/4/20 2:18 AM, Nagaraju Mekala wrote: > > Hello All, > > > > Fixed missing save of r18 in fast_interrupt. > > Register 18 is used as a clobber register, and must be stored when entering > > a > > fast_interrupt.

Re: [PATCH]Microblaze: Modified trap instruction

2020-04-05 Thread Jeff Law via Gcc-patches
On Sat, 2020-04-04 at 11:15 -0700, Michael Eager wrote: > OK to apply. > > On 4/4/20 1:59 AM, Nagaraju Mekala wrote: > > Hello All, > > > > There is a bug in trap instruction generation. > > Instead of "bri 0" instruction "brki r0, -1" was used, corrected it > > now. > > > >

[RFA/RFC] [PR tree-optimization/80635] Optimize some V_C_Es with limited ranges into NOP_EXPRs

2020-04-05 Thread Jeff Law via Gcc-patches
So here's an approach to try and address PR80635. In this BZ we're getting a false positive uninitialized warning using std::optional. As outlined in the BZ this stems from SRA using a VIEW_CONVERT_EXPR which isn't handled terribly well by the various optimizers/analysis passes. We have these

New Swedish PO file for 'gcc' (version 10.1-b20200322)

2020-04-05 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file,

[PATCH] lra: Stop eh_return data regs being incorrectly marked live [PR92989]

2020-04-05 Thread Richard Sandiford
lra_assign has an assert to make sure that no pseudo is allocated to a conflicting hard register. It used to be restricted to !flag_ipa_ra, but in g:a1e6ee38e708ef2bdef4 I'd enabled it for flag_ipa_ra too. It then tripped a few times while building libstdc++ for mips-mti-linux. Previous patches