Re: Question about alias or points-to analysis

2020-05-06 Thread Erick Ochoa
On 06/05/2020 18:40, Richard Biener wrote: On Wed, May 6, 2020 at 3:04 PM Erick Ochoa wrote: On 06/05/2020 14:25, Richard Biener wrote: On Wed, May 6, 2020 at 12:26 PM Erick Ochoa wrote: Hi, I am trying to find out how to use the alias and/or points-to analysis in GCC. Ideally, I

Multilibs in stage-1

2020-05-06 Thread Uros Bizjak via Gcc
Hello! I wonder, if the build process really needs to build all multilibs in stage-1 bootstrap build. IIRC, stage-1 uses system compiler to build stage-1 gcc, so there is no need for multilibs, apart from library that will be used by stage-1 gcc during compilation of stage-2 compiler. Uros.

Re: gcc 10.0.1 20200506 build fails to compile linux kernel

2020-05-06 Thread Martin Liška
On 5/6/20 6:44 AM, Tetsuji Rai via Gcc wrote: I wonder how Fedora project built its own kernel.  I can't build custom kernel with it. What's wrong with 10.1-RC or how can I report my problem? Hi. Is it possible that you reached https://lore.kernel.org/lkml/20200417190607.GY2424@tucnak/T/ ?

Re: Automatically generated ChangeLog files - script

2020-05-06 Thread Mark Eggleston
On 04/05/2020 20:28, H.J. Lu via Gcc wrote: On Mon, May 4, 2020 at 12:24 PM Tobias Burnus wrote: On 5/4/20 9:05 PM, Jakub Jelinek via Gcc wrote: On Mon, May 04, 2020 at 08:56:16PM +0200, Martin Liška wrote: What's missing right now is how will we declare a Backport format. Can we just use

Question about alias or points-to analysis

2020-05-06 Thread Erick Ochoa
Hi, I am trying to find out how to use the alias and/or points-to analysis in GCC. Ideally, I would like to find a function that given an allocation site, the return value is a set of pointers which may point to memory allocated from that allocation site. For example: int main(int argc,

Re: gcc 10.0.1 20200506 build fails to compile linux kernel

2020-05-06 Thread Tetsuji Rai via Gcc
Hi Martin, Thank you for your reply! Spot on! It was my kernel config problem associated with stronger stack protection of gcc-10, not a gcc problem.  But I can't find this in kernel.org bugzilla or bugzilla.redhat.com (searched with "gcc 10" and "gcc-10".) It happens not in qemu or any VM,

Re: gcc 10.0.1 20200506 build fails to compile linux kernel

2020-05-06 Thread Martin Liška
On 5/6/20 2:01 PM, Tetsuji Rai wrote: Hi Martin, Thank you for your reply! Spot on! It was my kernel config problem associated with stronger stack protection of gcc-10, not a gcc problem.  But I can't find this in kernel.org bugzilla or bugzilla.redhat.com (searched with "gcc 10" and

Re: [libgomp] Ask for help on an improvement for synchronization overhead

2020-05-06 Thread Adhemerval Zanella via Gcc
On 30/04/2020 18:12, Jakub Jelinek wrote: > On Thu, Apr 30, 2020 at 05:37:26PM -0300, Adhemerval Zanella via Gcc wrote: >> Hi all, I would like to check if someone could help me figure out >> an issue I am chasing on a libgomp patch intended to partially >> address the issue described at

Re: Question about alias or points-to analysis

2020-05-06 Thread Richard Biener via Gcc
On Wed, May 6, 2020 at 12:26 PM Erick Ochoa wrote: > > Hi, > > I am trying to find out how to use the alias and/or points-to analysis > in GCC. Ideally, I would like to find a function that given an > allocation site, the return value is a set of pointers which may point > to memory allocated

Re: Stability of pipermail ml archive URLs

2020-05-06 Thread Frank Ch. Eigler via Gcc
Hi - > https://gcc.gnu.org/pipermail/gcc/2020-February/232205.html > Looking around, the last two months of gcc now have very small > numbers, but e.g. on gcc-patches the mails have very high numbers like > 545238.html. Can pipermail provide stable URLs at all? We really > need those, we

Re: Question about alias or points-to analysis

2020-05-06 Thread Erick Ochoa
On 06/05/2020 14:25, Richard Biener wrote: On Wed, May 6, 2020 at 12:26 PM Erick Ochoa wrote: Hi, I am trying to find out how to use the alias and/or points-to analysis in GCC. Ideally, I would like to find a function that given an allocation site, the return value is a set of pointers

Stability of pipermail ml archive URLs

2020-05-06 Thread Jakub Jelinek via Gcc
Hi! Last week after sending status report mails to gcc mailing list, I've opened the web archive and copied the URLs of those status reports https://gcc.gnu.org/pipermail/gcc/2020-April/232267.html https://gcc.gnu.org/pipermail/gcc/2020-April/232268.html and checked them into gcc-wwwdocs git

Re: Stability of pipermail ml archive URLs

2020-05-06 Thread Arseny Solokha
Hi, >> https://gcc.gnu.org/pipermail/gcc/2020-February/232205.html >> Looking around, the last two months of gcc now have very small >> numbers, but e.g. on gcc-patches the mails have very high numbers like >> 545238.html. Can pipermail provide stable URLs at all? We really >> need those, we

Re: Stability of pipermail ml archive URLs

2020-05-06 Thread Arseny Solokha
Hi, >> https://gcc.gnu.org/pipermail/gcc/2020-February/232205.html >> Looking around, the last two months of gcc now have very small >> numbers, but e.g. on gcc-patches the mails have very high numbers like >> 545238.html. Can pipermail provide stable URLs at all? We really >> need those, we

Re: [Inline assembly] thought on the memory

2020-05-06 Thread Segher Boessenkool
Hi! On Thu, Apr 30, 2020 at 02:48:18PM +0200, FRÉDÉRIC RECOULES wrote: > I am looking for some clarification about how are working the memory > operands, especially when the constraint allows memory only (eg. "m"). > Please note that in a lesser extent, I know (by looking the gcc sources) how

Re: Stability of pipermail ml archive URLs

2020-05-06 Thread Christopher Faylor
On Wed, May 06, 2020 at 04:11:39PM +0200, Jakub Jelinek wrote: >Hi! > >Last week after sending status report mails to gcc mailing list, >I've opened the web archive and copied the URLs of those status reports >https://gcc.gnu.org/pipermail/gcc/2020-April/232267.html

Re: Question about alias or points-to analysis

2020-05-06 Thread Richard Biener via Gcc
On Wed, May 6, 2020 at 3:04 PM Erick Ochoa wrote: > > > > On 06/05/2020 14:25, Richard Biener wrote: > > On Wed, May 6, 2020 at 12:26 PM Erick Ochoa > > wrote: > >> > >> Hi, > >> > >> I am trying to find out how to use the alias and/or points-to analysis > >> in GCC. Ideally, I would like to

Re: Stability of pipermail ml archive URLs

2020-05-06 Thread Christopher Faylor
On Wed, May 06, 2020 at 09:54:06PM +0700, Arseny Solokha wrote: >may I also chime in with a related (to some extent), even though a separate >issue? It seems URL rewriting rules designed to replace old-style > > https://gcc.gnu.org/ml//current > >URLs pointing to monthly digests to current ones >

[pushed] coroutines: Remove references to n4849 (NFC).

2020-05-06 Thread Iain Sandoe
Hi, Another minor cleanup. This just strips out references to the draft standard numbered n4849. The implementation is now intended to be applicable to the expected final version. tested on x86_64-darwin16, applied to master as obvious thanks Iain gcc/cp/ChangeLog: 2020-05-05 Iain Sandoe

Re: [PATCH] Improve std::fill for vector

2020-05-06 Thread Jonathan Wakely via Gcc-patches
On 06/05/20 20:46 +0200, François Dumont via Libstdc++ wrote: Hi I am not clear about current stage so I am proposing this trivial patch to find out if we are back in stage 1. The current status is always shown on the front page of gcc.gnu.org (although currently the link to the GCC 11

[PATCH 3/4] rs6000: New insns setnbc and setnbcr

2020-05-06 Thread Bill Schmidt via Gcc-patches
setnbc[r] is like setbc[r], but it writes -1 instead of 1 to the GPR. 2020-05-06 Segher Boessenkool * config/rs6000/rs6000.md (*setnbc_signed_): New define_insn. (*setnbcr_signed_): New define_insn. (*neg_eq_): Avoid for TARGET_FUTURE; add missing && 1.

[PATCH 2/4] rs6000: Tests for setbc

2020-05-06 Thread Bill Schmidt via Gcc-patches
2020-05-06 Segher Boessenkool * gcc.target/powerpc/setbc.h: New. * gcc.target/powerpc/setbceq.c: New. * gcc.target/powerpc/setbcge.c: New. * gcc.target/powerpc/setbcgt.c: New. * gcc.target/powerpc/setbcle.c: New. * gcc.target/powerpc/setbclt.c:

[PATCH] c++: ICE when shortening right shift [PR94955]

2020-05-06 Thread Marek Polacek via Gcc-patches
Since r10-6527 fold_for_warn calls maybe_constant_value, which means it can fold more than it previously could. In this testcase it means that cp_build_binary_op/RSHIFT_EXPR set short_shift because now we were able to fold op1 to an INTEGER_CST. But then when actually performing the shortening

[PATCH 1/4] rs6000: New insns setbc and setbcr

2020-05-06 Thread Bill Schmidt via Gcc-patches
New instructions setbc and setbcr. setbc sets a GPR to 1 if some condition register bit is set, and 0 otherwise; setbcr does it the other way around. 2020-05-06 Segher Boessenkool * config/rs6000/rs6000.md (setbc_signed_): New define_insn. (*setbcr_signed_): Likewise.

Re: [PATCH] c++: Avoid strict_aliasing_warning on dependent types or expressions [PR94951]

2020-05-06 Thread Jason Merrill via Gcc-patches
On 5/5/20 6:28 PM, Jakub Jelinek wrote: Hi! The following testcase gets a bogus warning during build_base_path, when cp_build_indirect_ref* calls strict_aliasing_warning with a dependent expression. IMHO calling get_alias_set etc. on dependent types feels wrong to me, we should just defer the

Re: [PATCH v2] c++: ICE in value_dependent_expression_p in C++98 mode [PR94938]

2020-05-06 Thread Jason Merrill via Gcc-patches
On 5/5/20 5:35 PM, Marek Polacek wrote: On Mon, May 04, 2020 at 09:18:57PM -0400, Jason Merrill wrote: On 5/4/20 7:32 PM, Marek Polacek wrote: Here we ICE with -std=c++98 since the newly added call to uses_template_parms (r10-6357): we hit 26530 gcc_assert (cxx_dialect >= cxx11

Re: [PATCH] libgcc: aarch64: Get hwcap for FreeBSD

2020-05-06 Thread Gerald Pfeifer
On Wed, 6 May 2020, Andreas Tobler wrote: > +#ifndef __FreeBSD__ >unsigned long hwcap = __getauxval (AT_HWCAP); > +#else > + unsigned long hwcap; Would it make sense to change the logic to #ifdef __FreeBSD__ .. #else .. #endif ? I believe that makes it easier to potentially

[Bug target/94950] [8/9/10 regression] ICE in gcc.dg/pr94780.c on riscv64

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94950 --- Comment #6 from Jakub Jelinek --- (In reply to Jim Wilson from comment #5) > I tested it with an rv64gc-linux cross compiler. The patch fixes these Thanks. > I think it should be backported to the gcc-10 release branch. Sure, but at this

[committed] d: Fix ICE in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread Iain Buclaw via Gcc-patches
Hi, This patch removes all related helper functions around BIND_EXPR generation in the D front-end, which were the cause of an ICE. Both array concat and array new expressions wrapped any temporaries created into a BIND_EXPR. This does not work if an expression used to construct the result

[PATCH] Improve std::fill for vector

2020-05-06 Thread François Dumont via Gcc-patches
Hi I am not clear about current stage so I am proposing this trivial patch to find out if we are back in stage 1. This patch extend the overload so that it is used even when _GLIBCXX_DEBUG mode is activated.     * include/bits/stl_algobase.h (struct _Bit_iterator): New

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-06 Thread Jakub Jelinek via Gcc-patches
On Wed, May 06, 2020 at 09:54:47PM +0200, Andreas Tobler wrote: > --- a/gcc/testsuite/gcc.dg/analyzer/alloca-leak.c > +++ b/gcc/testsuite/gcc.dg/analyzer/alloca-leak.c > @@ -1,5 +1,6 @@ > -#include > - > +#include It needs to be: > +#if __has_include() +#include > +#endif __has_include

Re: [PATCH] c++: Don't synthesize sfk_comparison method multiple times [PR94907]

2020-05-06 Thread Jason Merrill via Gcc-patches
On 5/5/20 3:15 AM, Jakub Jelinek wrote: Hi! On the following testcase we ICE, because synthesize_method is called twice on the same sfk_comparison method fndecl, the first time it works fine because start_preparsed_function in that case sets both current_function_decl and cfun, but second time

[Bug target/94950] [8/9/10 regression] ICE in gcc.dg/pr94780.c on riscv64

2020-05-06 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94950 --- Comment #5 from Jim Wilson --- I tested it with an rv64gc-linux cross compiler. The patch fixes these failures: FAIL: gcc.dg/pr94780.c (internal compiler error) FAIL: gcc.dg/pr94780.c (test for excess errors)

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:0af711e1914ab6d88538f1fcf0146757b5608b1d commit r11-154-g0af711e1914ab6d88538f1fcf0146757b5608b1d Author: Iain Buclaw Date: Wed

Re: [PATCH 0/4] rs6000: setbnc and friends [pu]

2020-05-06 Thread Bill Schmidt via Gcc-patches
For all of these, I forgot to mention that they have been bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions.  Are these okay for trunk, after GCC 10 is fully released? Thanks, Bill On 5/6/20 3:31 PM, Bill Schmidt via Gcc-patches wrote: *** BLURB HERE *** Bill

[Bug c++/94907] [10/11 Regression] ICE: Segmentation fault (in check_return_expr) since r10-8016-gbce54ed494fd0e61

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94907 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:25ee2155ead87a5ea1c152a29341ee1e3275d706 commit r11-152-g25ee2155ead87a5ea1c152a29341ee1e3275d706 Author: Jakub Jelinek Date:

[PATCH] c++: Missing SFINAE with lookup_fnfields [PR78446]

2020-05-06 Thread Patrick Palka via Gcc-patches
Here we're failing to do SFINAE in build_op_call when looking up the class's operator() via lookup_fnfields, which calls lookup_member always with complain=tf_warning_or_error. And from there we complain about an ambiguous lookup for operator(). This patch fixes this by adding a tsubst_flags_t

[Bug c/94230] provide an option to change the size limitation for -Wmisleading-indent

2020-05-06 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94230 qinzhao at gcc dot gnu.org changed: What|Removed |Added Version|10.0|11.0 Resolution|---

Committed [Version 3][PATCH][gcc][PR94230]provide an option to change the size limitation for -Wmisleading-indent

2020-05-06 Thread Qing Zhao via Gcc-patches
FYI. > On Apr 23, 2020, at 5:13 PM, David Malcolm wrote: > > May need updating to match the hint message. > > [...] > > This is OK for stage 1 with those nits fixed. I committed the updated patch with all the suggestions today to gcc11 stage1 as:

Re: [PATCH] libstdc++: Update Solaris baselines for GCC 9.4

2020-05-06 Thread Jonathan Wakely via Gcc-patches
On 06/05/20 20:33 +0200, Rainer Orth wrote: Hi Jonathan, On 06/05/20 14:12 +0200, Rainer Orth wrote: Hi Jonathan, On 06/05/20 10:49 +0200, Rainer Orth wrote: I just remembered that the libstdc++ ABI baselines haven't been updated for the GCC 10 release yet. This patch corrects this for

Re: [committed] combine: Don't replace SET_SRC with REG_EQUAL note content if SET_SRC has side-effects [PR94873]

2020-05-06 Thread Segher Boessenkool
On Wed, May 06, 2020 at 09:36:55AM +0200, Jakub Jelinek wrote: > There were some discussions about whether REG_EQUAL notes are valid on insns > with a single > set which contains auto-inc-dec side-effects in the SET_SRC and the majority > thinks that > it should be valid. So, this patch fixes

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-06 Thread Andreas Tobler
On 06.05.20 22:27, Kamil Rytarowski wrote: On 06.05.2020 22:25, Andreas Tobler wrote: On 06.05.20 22:12, Jakub Jelinek wrote: On Wed, May 06, 2020 at 09:54:47PM +0200, Andreas Tobler wrote: --- a/gcc/testsuite/gcc.dg/analyzer/alloca-leak.c +++ b/gcc/testsuite/gcc.dg/analyzer/alloca-leak.c @@

[PATCH 0/4] rs6000: setbnc and friends [pu]

2020-05-06 Thread Bill Schmidt via Gcc-patches
*** BLURB HERE *** Bill Schmidt (4): Add insns for setbc and setbcr Add tests for setbc and setbcr Add insns for setnbc and setnbcr Add tests for setnbc and setnbcr gcc/config/rs6000/rs6000.md | 100 +--- gcc/testsuite/gcc.target/powerpc/setbc.h| 27

[PATCH 4/4] rs6000: Tests for setnbc

2020-05-06 Thread Bill Schmidt via Gcc-patches
2020-05-06 Segher Boessenkool * gcc.target/powerpc/setnbc.h: New. * gcc.target/powerpc/setnbceq.c: New. * gcc.target/powerpc/setnbcge.c: New. * gcc.target/powerpc/setnbcgt.c: New. * gcc.target/powerpc/setnbcle.c: New. *

[Bug c++/94946] [9/10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

2020-05-06 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94946 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-06 Thread Kamil Rytarowski
On 06.05.2020 22:25, Andreas Tobler wrote: > On 06.05.20 22:12, Jakub Jelinek wrote: >> On Wed, May 06, 2020 at 09:54:47PM +0200, Andreas Tobler wrote: >>> --- a/gcc/testsuite/gcc.dg/analyzer/alloca-leak.c >>> +++ b/gcc/testsuite/gcc.dg/analyzer/alloca-leak.c >>> @@ -1,5 +1,6 @@ >>> -#include >>>

[Bug target/94630] General bug for changes needed to switch the powerpc64le-linux long double default

2020-05-06 Thread murphyp at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94630 --- Comment #8 from Paul E. Murphy --- The new libm/libc ABI for ieee128 long double on ppc64le is now committed to glibc which will be available for the 2.32 release (commit 051be01f6b41a1466b07ae4bd7f5894a8ec5fe67). TS-18661 does not specify

Re: [PATCH] c++: ICE with -Wall and constexpr if [PR94937]

2020-05-06 Thread Jason Merrill via Gcc-patches
On 5/5/20 6:17 PM, Marek Polacek wrote: An ICE arises here because we call cp_get_callee_fndecl_nofold in a template, and we've got a CALL_EXPR whose CALL_EXPR_FN is a BASELINK. This tickles the INDIRECT_TYPE_P assert in cp_get_fndecl_from_callee. Jakub said in the PR that he'd hit a similar

[PATCH] libstdc++: Update Solaris baselines for GCC 9.4

2020-05-06 Thread Rainer Orth
Hi Jonathan, > On 06/05/20 14:12 +0200, Rainer Orth wrote: >>Hi Jonathan, >> >>> On 06/05/20 10:49 +0200, Rainer Orth wrote: I just remembered that the libstdc++ ABI baselines haven't been updated for the GCC 10 release yet. This patch corrects this for Solaris/SPARC and x86. >>> >>>

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-06 Thread Andreas Tobler
On 04.05.20 12:10, Kamil Rytarowski wrote: On 04.05.2020 12:04, Jakub Jelinek wrote: On Mon, May 04, 2020 at 11:49:27AM +0200, Kamil Rytarowski wrote: Please include in your patch "|| defined(__NetBSD__)". is this ok for you? This is one reason why I'd prefer #define alloca __builtin_alloca

[PATCH] libgcc: aarch64: Get hwcap for FreeBSD

2020-05-06 Thread Andreas Tobler
Hi all, Since FreeBSD 12, FreeBSD has a sys/auxv.h header too but it doesn't provide the getauxval function. Instead it offers the elf_aux_info function which provides a similar functionality. This patch gets the hwcap for FreeBSD. Is this ok for trunk? TIA, Andreas +2020-05-05 Andreas

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-06 Thread Andreas Tobler
On 06.05.20 22:12, Jakub Jelinek wrote: On Wed, May 06, 2020 at 09:54:47PM +0200, Andreas Tobler wrote: --- a/gcc/testsuite/gcc.dg/analyzer/alloca-leak.c +++ b/gcc/testsuite/gcc.dg/analyzer/alloca-leak.c @@ -1,5 +1,6 @@ -#include - +#include It needs to be: +#if __has_include() +#include

[committed] i386: Use generic division to generate INEXACT exception

2020-05-06 Thread Uros Bizjak via Gcc-patches
Introduce math_force_eval_div to use generic division to generate INEXACT as well as INVALID and DIVZERO exceptions. libgcc/ChangeLog: 2020-05-06 Uroš Bizjak * config/i386/sfp-exceptions.c (__math_force_eval): Remove. (__math_force_eval_div): New define.

[Bug middle-end/4210] should not warn in dead code

2020-05-06 Thread nisse at lysator dot liu.se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210 --- Comment #41 from Niels Möller --- (In reply to Manuel López-Ibáñez from comment #39) > You can easily find which pass does something by dumping (-ftree-dump-*) > all of them and comparing them. It's -ftree-dump-all, and also -fdump-passes

Re: PING[STAGE 1][PATCH][x86][1/3]: Add -mzero-caller-saved-regs=[skip|used-gpr|all-gpr|used|all]

2020-05-06 Thread Qing Zhao via Gcc-patches
Hi, Kees, > On May 4, 2020, at 1:21 PM, Kees Cook wrote: > > On Mon, May 04, 2020 at 11:51:49AM -0500, Qing Zhao wrote: >> Hi, >> >> This is a PING for this patch for gcc11 stage 1. >> >> https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544058.html >>

[Bug c++/94955] [10/11 Regression] ICE in to_wide

2020-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94955 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

Re: [PATCH] coroutines: Improve error recovery [PR94817, PR94829].

2020-05-06 Thread Nathan Sidwell
On 4/29/20 6:50 AM, Iain Sandoe wrote: Hi, When we have completely missing key information (e.g. the coroutine_traits) or a partially transformed function body, we need to try and balance returning useful information about failures with the possibility that some part of the diagnostics

[Bug target/94977] New: Some X86 inline assembly modifiers are not documented in the web documentation

2020-05-06 Thread craig.topper at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94977 Bug ID: 94977 Summary: Some X86 inline assembly modifiers are not documented in the web documentation Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/94951] [8/9/10/11 Regression] dereferencing type-punned pointer will break strict-aliasing rules when using super class for a template type

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94951 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:46fcef99f49cc2d9f28d98f8ecdbf8263e9e0a87 commit r11-153-g46fcef99f49cc2d9f28d98f8ecdbf8263e9e0a87 Author: Jakub Jelinek Date:

[PATCH] False-positive -Warray-bounds for char[1] on a non-zero offset in a referenced buffer

2020-05-06 Thread Joey Liu via Gcc-patches
Hi all, I think the assumption in builtin_memref::set_base_and_offset (gimple-ssa-warn-restrict.c) is not correct. It seems multiple levels of indirection may confuse gcc. When it loses the reference to the original buffer (e.g.the buffer is allocated by one of the parent class but it's used by a

[Bug c++/94938] [10/11 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 --- Comment #4 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:1e89178889741c9c4d6a61e5a01c40a8a182fa68 commit r11-155-g1e89178889741c9c4d6a61e5a01c40a8a182fa68 Author: Marek Polacek Date:

[Bug fortran/94978] New: [8/9/10/11 Regression] Bogus warning "Array reference at (1) out of bounds in loop beginning at (2)"

2020-05-06 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94978 Bug ID: 94978 Summary: [8/9/10/11 Regression] Bogus warning "Array reference at (1) out of bounds in loop beginning at (2)" Product: gcc Version: 8.4.1 Status:

[Bug fortran/94978] [8/9/10/11 Regression] Bogus warning "Array reference at (1) out of bounds in loop beginning at (2)"

2020-05-06 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94978 --- Comment #1 from Fritz Reese --- The regression is caused by r253156, which introduces the warning in the first place. The relevant code is in frontend-passes.c (do_subscript). Apparently, the FE is aware that when there is a conditional it

Re: [PATCH] libstdc++: Update {x86_64, i?86, powerpc64, s390x, aarch64}-linux baselines for GCC 10.1

2020-05-06 Thread Eric Botcazou
> Oops, here are the updates from Fedora packages built during the weekend. The SPARC64/Linux bits are attached. OK for trunk and gcc-10? 2020-05-06 Eric Botcazou * config/abi/post/sparc64-linux-gnu/baseline_symbols.txt: Update. *

[Bug c/94979] New: gcc-9 generates incorrect code causing segfault

2020-05-06 Thread makhaloff at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94979 Bug ID: 94979 Summary: gcc-9 generates incorrect code causing segfault Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/94979] gcc-9 generates incorrect code causing segfault

2020-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94979 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/91031] wrong code generated when using compound literal

2020-05-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91031 Andrew Pinski changed: What|Removed |Added CC||makhaloff at gmail dot com --- Comment

Re: [PATCH 0/4] rs6000: setbnc and friends [pu]

2020-05-06 Thread Bill Schmidt via Gcc-patches
On 5/6/20 6:48 PM, Segher Boessenkool wrote: On Wed, May 06, 2020 at 03:41:35PM -0500, Bill Schmidt wrote: For all of these, I forgot to mention that they have been bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions.  Are these okay for trunk, after GCC 10 is fully

[Bug c++/94938] [10 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 Marek Polacek changed: What|Removed |Added Summary|[10/11 Regression] internal |[10 Regression] internal

Re: [PATCH] False-positive -Warray-bounds for char[1] on a non-zero offset in a referenced buffer

2020-05-06 Thread Martin Sebor via Gcc-patches
On 5/6/20 4:35 PM, Joey Liu via Gcc-patches wrote: Hi all, I think the assumption in builtin_memref::set_base_and_offset (gimple-ssa-warn-restrict.c) is not correct. It seems multiple levels of indirection may confuse gcc. When it loses the reference to the original buffer (e.g.the buffer is

Re: [PATCH 0/4] rs6000: setbnc and friends [pu]

2020-05-06 Thread Segher Boessenkool
On Wed, May 06, 2020 at 03:41:35PM -0500, Bill Schmidt wrote: > For all of these, I forgot to mention that they have been bootstrapped > and tested on powerpc64le-unknown-linux-gnu with no regressions.  Are > these okay for trunk, after GCC 10 is fully released? These all look fine to me. But

Re: [PATCH 1/4] rs6000: New insns setbc and setbcr

2020-05-06 Thread Segher Boessenkool
Hi! On Wed, May 06, 2020 at 03:31:08PM -0500, Bill Schmidt wrote: > (ne3): Replace :P with :GPR; use setbc for TARGET_FUTURE; > else for non-Pmode, use gen_eq and gen_xor. Before this patch, there was only ne:P, which results in the same thing (done by generic code). I should have

Re: [PATH] Enable GCC support for SERIALIZE

2020-05-06 Thread Uros Bizjak via Gcc-patches
On Wed, May 6, 2020 at 5:11 AM Hongtao Liu wrote: > > On Mon, May 4, 2020 at 1:17 AM Uros Bizjak wrote: > > > > On Wed, Apr 1, 2020 at 9:23 AM Hongtao Liu wrote: > > > > > > Hi: > > > This patch is about to enable GCC support for SERIALIZE which would > > > be in GLC. There's only 1

Re: [PATCH] Adjust integer <-> pointer conversion IL checking

2020-05-06 Thread Richard Biener
On Tue, 5 May 2020, Jeff Law wrote: > On Mon, 2020-05-04 at 14:11 +0200, Richard Biener wrote: > > This patch sits in my trees for quite some years and I always forget > > to push it - it usually gets triggered by weird targets (PSImode > > pointers/sizetype) which run into GIMPLE IL checking

Re: [PATCH] Enable GCC support for TSXLDTRK

2020-05-06 Thread Uros Bizjak via Gcc-patches
On Wed, May 6, 2020 at 4:48 AM Hongtao Liu wrote: > > On Mon, May 4, 2020 at 12:58 AM Uros Bizjak wrote: > > > > The part above is OK, but you are missing support for > > __attribute__((__target__("..."))). Please see how for example -msgx > > is handled in isa2_opts in i386-options.c and in > >

[Bug c++/94781] version 9.3 g++ compilation time is slower by 20% or much more (closer to 50 % sometimes) in comparison to v7.

2020-05-06 Thread ishikawa at yk dot rim.or.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94781 --- Comment #7 from ishikawa,chiaki --- (In reply to Martin Liška from comment #6) > (In reply to ishikawa,chiaki from comment #3) > > https://send.firefox.com/download/bdf77223953903fa/#WMrJbMYdsL7AXf2vXYm82g > > > > I uploaded the file,

[Bug tree-optimization/94963] [11 Regression] Spurious uninitialized warning for static variable building glibc

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94963 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-05-06

[PATCH] match.pd: Optimize ~(~X +- Y) into (X -+ Y) [PR94921]

2020-05-06 Thread Jakub Jelinek via Gcc-patches
Hi! According to my verification proglet, this transformation for signed types with undefined overflow doesn't introduce nor remove any UB cases, so should be valid even for signed integral types. Not using a for because of the :c on plus which can't be there on minus. Bootstrapped/regtested on

Re: [committed] riscv: Fix up riscv_atomic_assign_expand_fenv [PR94950]

2020-05-06 Thread Andrew Waterman
Thank you! On Wed, May 6, 2020 at 12:43 AM Jakub Jelinek wrote: > > Hi! > > Similarly to the fixes on many other targets, riscv needs to use TARGET_EXPR > to avoid having the create_tmp_var_raw temporaries without proper DECL_CONTEXT > and not mentioned in local decls. > > Committed as obvious

[Bug tree-optimization/94965] [11 Regression] ICE during SLP since r11-59-g308bc496884706af4b3077171cbac684c7a6f7c6

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94965 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/94965] [11 Regression] ICE during SLP since r11-59-g308bc496884706af4b3077171cbac684c7a6f7c6

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94965 --- Comment #2 from Richard Biener --- @@ -9319,7 +9364,8 @@ vectorizable_load (stmt_vec_info stmt_info, gimple_stmt_it erator *gsi, initialized yet, use first_stmt_info_for_drptr DR by bumping the distance from first_stmt_info

[Bug c++/94960] extern template prevents inlining of standard library objects

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug bootstrap/94961] [11 regression] internal compiler error: in df_refs_verify, at df-scan.c:4002

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Target Milestone|---

[Bug c++/94957] Compilation slowww for simple code with -O1/2/3 and -g in GCC 8 and 9

2020-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94957 --- Comment #3 from Jakub Jelinek --- Some of it changed recently, e.g. when the FEs use ARRAY_RANGE_REFs in the initializer the gimplifier's gimplify_init_ctor_eval emits a loop. But in this case I think we need the FE to emit the loop itself.

[committed] combine: Don't replace SET_SRC with REG_EQUAL note content if SET_SRC has side-effects [PR94873]

2020-05-06 Thread Jakub Jelinek via Gcc-patches
Hi! There were some discussions about whether REG_EQUAL notes are valid on insns with a single set which contains auto-inc-dec side-effects in the SET_SRC and the majority thinks that it should be valid. So, this patch fixes the combiner to punt in that case, because otherwise the

[Bug tree-optimization/94963] [11 Regression] Spurious uninitialized warning for static variable building glibc

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94963 --- Comment #2 from Richard Biener --- Created attachment 48459 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48459=edit patch in testing Testing the attached.

[Bug other/89394] libiberty :stack overflow in nm

2020-05-06 Thread trupti_pardeshi at persistent dot co.in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89394 Trupti Pardeshi changed: What|Removed |Added CC||trupti_pardeshi@persistent.

[Bug c/94966] New: [10 regression] internal compiler error: tree check: expected function_type or method_type, have integer_type in gimplify_call_expr, at gimplify.c:3433

2020-05-06 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94966 Bug ID: 94966 Summary: [10 regression] internal compiler error: tree check: expected function_type or method_type, have integer_type in gimplify_call_expr, at gimplify.c:3433

[Bug c++/94953] A lot of false maybe-uninitialized warnings with O3

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94953 Richard Biener changed: What|Removed |Added Blocks||24639 Last reconfirmed|

[Bug c++/94957] Compilation slowww for simple code with -O1/2/3 and -g in GCC 8 and 9

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94957 --- Comment #2 from Richard Biener --- Plenty of dups for this in bugzilla - but FE folks never get that idea of using a loop ...

[Bug tree-optimization/94956] Unable to remove impossible ffs() test for zero

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94956 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/94781] version 9.3 g++ compilation time is slower by 20% or much more (closer to 50 % sometimes) in comparison to v7.

2020-05-06 Thread ishikawa at yk dot rim.or.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94781 --- Comment #8 from ishikawa,chiaki --- (In reply to ishikawa,chiaki from comment #7) > (In reply to Martin Liška from comment #6) > > (In reply to ishikawa,chiaki from comment #3) > > >

[Bug rtl-optimization/94873] [8/9/10/11 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 --- Comment #20 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f14848aea70066777faf201c0b6eb3c5520bfab9 commit r11-127-gf14848aea70066777faf201c0b6eb3c5520bfab9 Author: Jakub Jelinek Date:

[Bug target/94950] [8/9/10/11 regression] ICE in gcc.dg/pr94780.c on riscv64

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94950 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b4ace720e004f736f1ee46b374c12f9826aad630 commit r11-128-gb4ace720e004f736f1ee46b374c12f9826aad630 Author: Jakub Jelinek Date:

[committed] riscv: Fix up riscv_atomic_assign_expand_fenv [PR94950]

2020-05-06 Thread Jakub Jelinek via Gcc-patches
Hi! Similarly to the fixes on many other targets, riscv needs to use TARGET_EXPR to avoid having the create_tmp_var_raw temporaries without proper DECL_CONTEXT and not mentioned in local decls. Committed as obvious to trunk. 2020-05-06 Jakub Jelinek PR target/94950 *

[Bug tree-optimization/94964] New: [8/9/10/11 Regression] ICE in add_phi_arg, at tree-phinodes.c:359 since r8-2993-ga7976089dba5e227

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94964 Bug ID: 94964 Summary: [8/9/10/11 Regression] ICE in add_phi_arg, at tree-phinodes.c:359 since r8-2993-ga7976089dba5e227 Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug tree-optimization/94964] [8/9/10/11 Regression] ICE in add_phi_arg, at tree-phinodes.c:359 since r8-2993-ga7976089dba5e227

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94964 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug bootstrap/94961] [11 regression] internal compiler error: in df_refs_verify, at df-scan.c:4002

2020-05-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug tree-optimization/94442] [10/11 regression] Redundant loads/stores emitted at -O3

2020-05-06 Thread xiezhiheng at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94442 --- Comment #4 from xiezhiheng at huawei dot com --- (In reply to Richard Biener from comment #3) > So I wonder why > > a$vect_s8$0_4 = MEM[(const struct __m256i &)output_5(D) + 32].vect_s8[0]; > > necessarily emits two RTL insns. It's

[Bug tree-optimization/94964] [8/9/10/11 Regression] ICE in add_phi_arg, at tree-phinodes.c:359 since r8-2993-ga7976089dba5e227

2020-05-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94964 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Target Milestone|---

  1   2   3   >