Re: Update to GCC copyright assignment policy

2021-06-30 Thread Bradley M. Kuhn
As most of you are probably aware, glibc is also discussing whether or not to remove the copyright assignment mandate to the FSF. I have posted a comment there regarding that, now available at: https://sourceware.org/pipermail/libc-alpha/2021-June/128303.html … which is supplemented by a longer

Re: [RISCV] Call for topics: RISC-V GNU Toolchain Biweekly Sync-up call (July 1, 2021)

2021-06-30 Thread 吴伟
Hi all, I've just noticed that the meeting time conflicted with the monthly meeting of the software standing committee of RISC-V International. So I'd like to skip today's meeting. The next meeting time is July 15. Sorry for the inconvenience. On Wed, Jun 30, 2021 at 10:52 PM Wei Wu (吴伟) wrote:

Re: Are DECL_UIDs for the same across partitions during LGEN?

2021-06-30 Thread Richard Biener via Gcc
On June 30, 2021 6:28:29 PM GMT+02:00, Erick Ochoa wrote: >On Wed, 30 Jun 2021 at 17:06, Richard Biener > wrote: >> >> On June 30, 2021 4:07:00 PM GMT+02:00, Erick Ochoa via Gcc > wrote: >> >Hi, >> > >> >I am still working on understanding the LTO framework and how the >> >gimple representation wo

Re: daily report on extending static analyzer project [GSoC]

2021-06-30 Thread David Malcolm via Gcc
On Wed, 2021-06-30 at 21:39 +0530, Ankur Saini wrote: > > > > On 30-Jun-2021, at 1:23 AM, David Malcolm > > wrote: > > > > On Tue, 2021-06-29 at 22:04 +0530, Ankur Saini wrote: > > [...] > > > P.S. it has been over a week since I sent a mail to    > > > overse...@gcc.gnu.org 

Re: Using source-level annotations to help GCC detect buffer overflows

2021-06-30 Thread Martin Sebor via Gcc
On 6/29/21 12:31 PM, David Brown wrote: On 29/06/2021 17:50, Martin Sebor wrote: On 6/29/21 6:27 AM, David Brown wrote: On 28/06/2021 21:06, Martin Sebor via Gcc wrote: I wrote an article for the Red Hat Developer blog about how to annotate code to get the most out of GCC's access checking war

Re: Are DECL_UIDs for the same across partitions during LGEN?

2021-06-30 Thread Erick Ochoa via Gcc
On Wed, 30 Jun 2021 at 17:06, Richard Biener wrote: > > On June 30, 2021 4:07:00 PM GMT+02:00, Erick Ochoa via Gcc > wrote: > >Hi, > > > >I am still working on understanding the LTO framework and how the > >gimple representation works across multiple partitions. I found myself > >printing all gl

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Eli Zaretskii via Gcc
> Cc: jos...@codesourcery.com, gcc@gcc.gnu.org, gcc-patc...@gcc.gnu.org > From: Martin Liška > Date: Wed, 30 Jun 2021 16:04:32 +0200 > > > Thanks, but does that mean @var will no longer stand out in the > > produced Info format? That'd be sub-optimal, I think, because a clear > > reference to a

Re: Are DECL_UIDs for the same across partitions during LGEN?

2021-06-30 Thread Richard Biener via Gcc
On June 30, 2021 4:07:00 PM GMT+02:00, Erick Ochoa via Gcc wrote: >Hi, > >I am still working on understanding the LTO framework and how the >gimple representation works across multiple partitions. I found myself >printing all global variables and printing their DECL_UID. I noticed >that for some

Re: [RISCV] Call for topics: RISC-V GNU Toolchain Biweekly Sync-up call (July 1, 2021)

2021-06-30 Thread 吴伟
Hi all, Agenda: 1. Relax the ISA string order checking for -march - https://github.com/riscv/riscv-toolchain-conventions/pull/14Zfinx ABI - https://github.com/riscv/riscv-elf-psabi-doc/pull/189Mapping symbol - https://sourceware.org/pipermail/binutils/2021-May/116803.htmlRFC: New attribute for

Are DECL_UIDs for the same across partitions during LGEN?

2021-06-30 Thread Erick Ochoa via Gcc
Hi, I am still working on understanding the LTO framework and how the gimple representation works across multiple partitions. I found myself printing all global variables and printing their DECL_UID. I noticed that for some variables, their DECL_UIDs were different across different partitions. Tha

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Martin Liška
On 6/30/21 3:38 PM, Eli Zaretskii wrote: Cc: jos...@codesourcery.com, gcc@gcc.gnu.org, gcc-patc...@gcc.gnu.org From: Martin Liška Date: Wed, 30 Jun 2021 15:28:40 +0200 ‘@`file'’ Read command-line options from ‘`file'’. The options read are inserted in place of the origi

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Eli Zaretskii via Gcc
> Cc: jos...@codesourcery.com, gcc@gcc.gnu.org, gcc-patc...@gcc.gnu.org > From: Martin Liška > Date: Wed, 30 Jun 2021 15:28:40 +0200 > > >‘@`file'’ > > > > Read command-line options from ‘`file'’. The options read are > > inserted in place of the original ‘@`file'’ option.

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Martin Liška
On 6/29/21 6:57 PM, Eli Zaretskii wrote: 2. The translation of @var produces double-quoting in Info, here's an example: The usual way to run GCC is to run the executable called ‘gcc’, or ‘`machine'-gcc’ when cross-compiling, or ‘`machine'-gcc-`version'’ to run a specific version of

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Eli Zaretskii via Gcc
> Cc: jos...@codesourcery.com, gcc@gcc.gnu.org, gcc-patc...@gcc.gnu.org > From: Martin Liška > Date: Wed, 30 Jun 2021 12:11:03 +0200 > > > (Admittedly, Emacs by default hides some of the text of a > > cross-reference, but not hiding them in this case produces an even > > less legible text.) > >

[RISCV] Call for topics: RISC-V GNU Toolchain Biweekly Sync-up call (July 1, 2021)

2021-06-30 Thread 吴伟
Hi all, We may skip tomorrow's RISC-V GNU Biweekly meeting, for not so many topics were collected. Please reply this email if you have several topics to discuss, otherwise I'd like to skip tomorrow's meeting. -- Best wishes, Wei Wu (吴伟)

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Martin Liška
On 6/29/21 6:57 PM, Eli Zaretskii wrote: 5. There's some strange bug with symbols inside parentheses. For example: In GNU C and C++, you can use function attributes to specify certain function properties that may help the compiler optimize calls or check code more carefully for cor

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Martin Liška
On 6/30/21 12:14 PM, Richard Earnshaw wrote: On 30/06/2021 05:47, Martin Liška wrote: On 6/29/21 12:50 PM, Richard Earnshaw wrote: On 29/06/2021 11:09, Martin Liška wrote: On 6/28/21 5:33 PM, Joseph Myers wrote: Are formatted manuals (HTML, PDF, man, info) corresponding to this patch vers

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Martin Liška
On 6/30/21 12:11 PM, Martin Liška wrote: Seems correct to be, but it's likely not. Let me investigate that. It's a real issue in Sphinx. I've just addressed that with: https://github.com/sphinx-doc/sphinx/pull/9390 Cheers, Martin

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Richard Earnshaw via Gcc
On 30/06/2021 05:47, Martin Liška wrote: On 6/29/21 12:50 PM, Richard Earnshaw wrote: On 29/06/2021 11:09, Martin Liška wrote: On 6/28/21 5:33 PM, Joseph Myers wrote: Are formatted manuals (HTML, PDF, man, info) corresponding to this patch version also available for review? I've just u

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Martin Liška
On 6/29/21 6:57 PM, Eli Zaretskii wrote: From: Martin Liška Date: Tue, 29 Jun 2021 12:09:23 +0200 Cc: GCC Development , gcc-patc...@gcc.gnu.org On 6/28/21 5:33 PM, Joseph Myers wrote: Are formatted manuals (HTML, PDF, man, info) corresponding to this patch version also available for review?

Re: How to get the global namespace (DECL_CONTEXT) at LTO during LGEN?

2021-06-30 Thread Richard Biener via Gcc
On Wed, Jun 30, 2021 at 10:23 AM Erick Ochoa via Gcc wrote: > > Hello, > > I am wondering if there's a way to get the global namespace at LTO > during LGEN in each of the partitions being processed. I believe that > during parse time for c/c++ there is a global_namespace macro or > variable that c

How to get the global namespace (DECL_CONTEXT) at LTO during LGEN?

2021-06-30 Thread Erick Ochoa via Gcc
Hello, I am wondering if there's a way to get the global namespace at LTO during LGEN in each of the partitions being processed. I believe that during parse time for c/c++ there is a global_namespace macro or variable that can be used, but I don't think that it is possible to use at link time. Th

Re: GCC documentation: porting to Sphinx

2021-06-30 Thread Martin Liška
On 6/29/21 5:54 PM, Arnaud Charlet wrote: In particular can you explain the motivation behind all the changes in the gcc/ada/doc directory? Sure: 1) All Sphinx manuals live in a directory where index page is called index.rst. That's why I moved e.g. this: gcc/ada/doc/{gnat_rm.rst => gnat_rm/in