Re: Question about undefined functions' parameters during LTO

2020-03-13 Thread Richard Biener via Gcc
On Thu, Mar 12, 2020 at 5:31 PM Erick Ochoa wrote: > > Hello, > > I am trying to find out the arguments of functions which are undefined > during LTO. > > Basically: > > gcc_assert(in_lto_p && !cnode->definition) > // Do we have arguments? > gcc_assert(DECL_ARGUMENTS(cnode->decl)) // fails > // No

Re: Question about undefined functions' parameters during LTO

2020-03-13 Thread Erick Ochoa
On 12.03.20 08:48, Jan Hubicka wrote: Hello, Hello, I am trying to find out the arguments of functions which are undefined during LTO. Basically: gcc_assert(in_lto_p && !cnode->definition) // Do we have arguments? gcc_assert(DECL_ARGUMENTS(cnode->decl)) // fails // No, we don't. As I und

Re: Question about undefined functions' parameters during LTO

2020-03-13 Thread Erick Ochoa
On 13.03.20 00:44, Richard Biener wrote: On Thu, Mar 12, 2020 at 5:31 PM Erick Ochoa wrote: Hello, I am trying to find out the arguments of functions which are undefined during LTO. Basically: gcc_assert(in_lto_p && !cnode->definition) // Do we have arguments? gcc_assert(DECL_ARGUMENTS(c

Re: How to extend SLP to support this case

2020-03-13 Thread Richard Biener via Gcc
On Tue, Mar 10, 2020 at 12:32 PM Tamar Christina wrote: > > > -Original Message- > > From: Gcc On Behalf Of Richard Biener > > Sent: Tuesday, March 10, 2020 11:12 AM > > To: Kewen.Lin > > Cc: GCC Development ; Segher Boessenkool > > > > Subject: Re: How to extend SLP to support this ca

Re: Question about undefined functions' parameters during LTO

2020-03-13 Thread Michael Matz
Hello, On Fri, 13 Mar 2020, Erick Ochoa wrote: > +for (tree parm = DECL_ARGUMENTS (undefined_function->decl); parm; parm = > DECL_CHAIN (parm)) > + { > + tree type = TREE_TYPE(parm); > + if (dump_file) fprintf(dump_file, "I want the type, do I have it? > %s\n", type ? "true" :

commits in Bugzilla attributed to others?

2020-03-13 Thread Martin Sebor via Gcc
It looks as though commits with bug fixes appear in Bugzilla comments made by others(*). Fox instance, commit r10-7151 for PR 92071 shows in comment #16 on the bug under Martin Liška's name. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92071#c16 Similarly, commits r9-8372, r10-7152, and r8-10

Re: commits in Bugzilla attributed to others?

2020-03-13 Thread Marek Polacek via Gcc
On Fri, Mar 13, 2020 at 09:46:40AM -0600, Martin Sebor via Gcc wrote: > It looks as though commits with bug fixes appear in Bugzilla comments > made by others(*). Fox instance, commit r10-7151 for PR 92071 shows > in comment #16 on the bug under Martin Liška's name. > > https://gcc.gnu.org/bugz

Re: commits in Bugzilla attributed to others?

2020-03-13 Thread Martin Sebor via Gcc
On 3/13/20 9:50 AM, Marek Polacek wrote: On Fri, Mar 13, 2020 at 09:46:40AM -0600, Martin Sebor via Gcc wrote: It looks as though commits with bug fixes appear in Bugzilla comments made by others(*). Fox instance, commit r10-7151 for PR 92071 shows in comment #16 on the bug under Martin Liška's

Re: commits in Bugzilla attributed to others?

2020-03-13 Thread Marek Polacek via Gcc
On Fri, Mar 13, 2020 at 09:56:58AM -0600, Martin Sebor wrote: > On 3/13/20 9:50 AM, Marek Polacek wrote: > > On Fri, Mar 13, 2020 at 09:46:40AM -0600, Martin Sebor via Gcc wrote: > > > It looks as though commits with bug fixes appear in Bugzilla comments > > > made by others(*). Fox instance, comm

[GSoC 2020] Automatic Detection of Parallel Compilation Viability

2020-03-13 Thread Giuliano Belinassi via Gcc
Hi, all I want to propose and apply for the following GSoC project: Automatic Detection of Parallel Compilation Viability. https://www.ime.usp.br/~belinass/Automatic_Detection_of_Parallel_Compilation_Viability.pdf Feedback is welcome :) Here is a markdown version of it: **Automatic Detection o

gcc-8-20200313 is now available

2020-03-13 Thread GCC Administrator
Snapshot gcc-8-20200313 is now available on https://gcc.gnu.org/pub/gcc/snapshots/8-20200313/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: Compiling GCC using an older sysroot

2020-03-13 Thread Ton van den Heuvel via Gcc
On Thu, Mar 12, 2020 at 5:11 PM Paul Smith wrote: > > On Wed, 2020-03-11 at 17:15 +, Jonathan Wakely wrote: > > My thinking was to build GCC inside the container, then package up the > > results and install that on your dev machines (outside a container). > > But actually that won't work becau