[Bug rtl-optimization/99085] New: [11 Regression] ICE: verify_flow_info failed (error: multiple hot/cold transitions found)

2021-02-12 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99085 Bug ID: 99085 Summary: [11 Regression] ICE: verify_flow_info failed (error: multiple hot/cold transitions found) Product: gcc Version: 11.0 Status: UNCONFIRMED

Interested in GSoC 2021: Rust frontend

2021-02-12 Thread 孙译喆 via Gcc
Hello, I’m looking to contribute to the project regarding the Rust frontend. I’ve compiled the project from the Rust-GCC repository and ran the testsuite. Any pointers what to do next? By the way, is the mailing list the prefered way of communication? Or should I use Zulip/Discord? Regards

[Bug c++/96926] [9/10/11 Regression] Tuple element w/ member reference to incomplete template type rejected

2021-02-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96926 --- Comment #6 from Jason Merrill --- So, for the second example, the compiler's process is test() initializes the tuple member looks for tuple(Test) ctor considers tuple(tuple&&) looks for conversion from Test to tuple considers _ImplicitCtor

[Bug tree-optimization/99068] Missed PowerPC lhau optimization

2021-02-12 Thread brian.grayson at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99068 Brian Grayson changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

Re: [PATCH] libgccjit: Handle truncation and extension for casts [PR 95498]

2021-02-12 Thread Antoni Boucher via Gcc-patches
Hi. I'd like to know what's the status of the review for this patch. (Same for my other patch 96889: add some reflection functions in the jit C api) Thanks. On Tue, Jul 21, 2020 at 11:29:57PM +0200, Andrea Corallo wrote: Hi Antoni, a couple of nits and some thoughts. Antoni Boucher via

Re: Patch for PR analyzer/98797

2021-02-12 Thread David Malcolm via Gcc-patches
On Wed, 2021-02-10 at 19:42 +, brian.sobulefsky wrote: Hi Brian Thanks for the patch. The patch is large enough to count as legally significant; I've sent you information on copyright assignment separately; the patch can't be committed until that paperwork is in place. In the meantime,

[Bug testsuite/99084] New test case gcc.dg/rtl/aarch64/multi-subreg-1.c added in r11-7223 fails

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99084 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug testsuite/99084] New: New test case gcc.dg/rtl/aarch64/multi-subreg-1.c added in r11-7223 fails

2021-02-12 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99084 Bug ID: 99084 Summary: New test case gcc.dg/rtl/aarch64/multi-subreg-1.c added in r11-7223 fails Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

Re: rs6000: Fix invalid splits when using Altivec style addresses [PR98959]

2021-02-12 Thread Segher Boessenkool
On Fri, Feb 12, 2021 at 02:50:12PM -0600, Peter Bergner wrote: > The rs6000_emit_le_vsx_* functions assume they are not passed an Altivec > style "& ~16" address. However, some of our expanders and splitters do > not verify we do not have an Altivec style address before calling those > functions,

[Bug c++/95468] [8/9/10/11 Regression] ICE in expression sfinae

2021-02-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95468 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[PATCH] c++: Fix folding of non-dependent BASELINKs [PR95468]

2021-02-12 Thread Patrick Palka via Gcc-patches
Here, the problem ultimately seems to be that tsubst_copy_and_build, when called with empty args as we do during non-dependent expression folding, doesn't touch BASELINKs at all: it delegates to tsubst_copy which then immediately exits early due to the empty args. This means that the CAST_EXPR

[PATCH] c++: Micro-optimize instantiation_dependent_expression_p

2021-02-12 Thread Patrick Palka via Gcc-patches
This makes instantiation_dependent_expression_p avoid checking potential_constant_expression when processing_template_decl isn't set (and hence when value_dependent_expression_p is definitely false). gcc/cp/ChangeLog: * pt.c (instantiation_dependent_expression_p): Check

[Bug target/99083] New: Big run-time regressions of 519.lbm_r with LTO

2021-02-12 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99083 Bug ID: 99083 Summary: Big run-time regressions of 519.lbm_r with LTO Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: rtl-optimization: Fix uninitialized use of opaque mode variable ICE [PR98872]

2021-02-12 Thread Peter Bergner via Gcc-patches
On 2/12/21 4:21 PM, Peter Bergner wrote: > rtl-optimization: Fix uninitialized use of opaque mode variable ICE [PR98872] > > The initialize_uninitialized_regs function emits (set (reg:) (CONST0_RTX)) > for all uninitialized pseudo uses. However, some modes (eg, opaque modes) > may not have a

[Bug tree-optimization/99068] Missed PowerPC lhau optimization

2021-02-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99068 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: bug in DSE?

2021-02-12 Thread Marc Glisse
On Fri, 12 Feb 2021, Andrew MacLeod via Gcc wrote: I dont't want to immediately open a PR,  so I'll just ask about testsuite/gcc.dg/pr83609.c. the compilation string  is   -O2 -fno-tree-forwprop -fno-tree-ccp -fno-tree-fre -fno-tree-pre -fno-code-hoisting Which passes as is. if I however

[PATCH] c++: ICE with deduction guide in checking type-dep [PR99009, PR97034]

2021-02-12 Thread Marek Polacek via Gcc-patches
We represent deduction guides with FUNCTION_DECLs, but they are built without DECL_CONTEXT, leading to an ICE in type_dependent_expression_p on the assert that the type of a function template with no dependent (innermost!) template arguments must be non-dependent. Consider the attached

[Bug target/98468] [9 regression] test case gcc.target/powerpc/rlwimi-2.c fails starting with r9-3594

2021-02-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98468 --- Comment #3 from Segher Boessenkool --- git tag -l 'releases*' --contains 8d2d39587d94

Re: [PATCH] df: Record all definitions in DF_LR_BB_INFO->def [PR98863]

2021-02-12 Thread Jakub Jelinek via Gcc-patches
On Thu, Feb 11, 2021 at 03:03:38PM +, Richard Sandiford via Gcc-patches wrote: > gcc/ > * df-problems.c (df_lr_bb_local_compute): Treat partial definitions > as read-modify operations. > > gcc/testsuite/ > * gcc.dg/rtl/aarch64/multi-subreg-1.c: New test. The test fails

[Bug tree-optimization/99082] New: manual bit-field creation followed by manual extraction does not always produce good code

2021-02-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99082 Bug ID: 99082 Summary: manual bit-field creation followed by manual extraction does not always produce good code Product: gcc Version: 10.0 Status: UNCONFIRMED

gcc-9-20210212 is now available

2021-02-12 Thread GCC Administrator via Gcc
Snapshot gcc-9-20210212 is now available on https://gcc.gnu.org/pub/gcc/snapshots/9-20210212/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 9 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

rtl-optimization: Fix uninitialized use of opaque mode variable ICE [PR98872]

2021-02-12 Thread Peter Bergner via Gcc-patches
On 2/8/21 7:29 AM, Segher Boessenkool wrote: >> I think we should either add a new rtx code for constant opaque modes >> or make init-regs just emit the clobber for opaque modes (and not emit >> the move). > > Thanks for looking Richard. That last option sounds good to me as well. Ok, guarding

bug in DSE?

2021-02-12 Thread Andrew MacLeod via Gcc
I dont't want to immediately open a PR,  so I'll just ask about testsuite/gcc.dg/pr83609.c. the compilation string  is   -O2 -fno-tree-forwprop -fno-tree-ccp -fno-tree-fre -fno-tree-pre -fno-code-hoisting Which passes as is. if I however add   -fno-tree-vrp   as well, then it looks like

[Bug c++/99040] [modules] partitions & using declarations

2021-02-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99040 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99039] cross-module using declarations

2021-02-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99039] cross-module using declarations

2021-02-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039 --- Comment #2 from Nathan Sidwell --- 8c4137c7ead 2021-02-12 | c++: Seed imported bindings [PR 99039]

[Bug c++/99040] [modules] partitions & using declarations

2021-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99040 --- Comment #2 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:0c27fe96f812df76ca07272d3c68765bd1f9dc08 commit r11-7229-g0c27fe96f812df76ca07272d3c68765bd1f9dc08 Author: Nathan Sidwell Date:

[Bug c++/99040] [modules] partitions & using declarations

2021-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99040 --- Comment #1 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:8f93e1b892850b00bf6b9cbc5711a7d5bc367967 commit r11-7228-g8f93e1b892850b00bf6b9cbc5711a7d5bc367967 Author: Nathan Sidwell Date:

[Bug c++/99039] cross-module using declarations

2021-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99039 --- Comment #1 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:8f93e1b892850b00bf6b9cbc5711a7d5bc367967 commit r11-7228-g8f93e1b892850b00bf6b9cbc5711a7d5bc367967 Author: Nathan Sidwell Date:

[Bug analyzer/96395] gcc.dg/analyzer/explode-2.c fails when compiled as C++

2021-02-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96395 --- Comment #4 from David Malcolm --- (In reply to David Malcolm from comment #3) > FWIW, I'm not able to reproduce this issue with trunk. Note that > g:fd111c419d146ee47c7df9a36a535e8d843d4802 fixed a state-explosion bug in > how switch

[Bug c++/99081] New: Misleading -Wmissing-field-initializers warning on out-of-order designated initializers

2021-02-12 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99081 Bug ID: 99081 Summary: Misleading -Wmissing-field-initializers warning on out-of-order designated initializers Product: gcc Version: 11.0 Status: UNCONFIRMED

c++: Seed imported bindings [PR 99039]

2021-02-12 Thread Nathan Sidwell
As mentioned in 99040's fix, we can get inter-module using decls. If the using decl is the only reference to an import, we'll have failed to seed our imports leading to an assertion failure. The fix is straight-forwards, check binding contents when seeding imports. gcc/cp/

c++: Register streamed-in decls when new [PR 99040]

2021-02-12 Thread Nathan Sidwell
With modules one can have using-decls refering to their own scope. This is the way to export things from the GMF or from an import. The problem was I was using current_ns == CP_DECL_CONTEXT (decl) to determine whether a decl should be registered in a namespace level or not. But that's an

Expunge namespace-scope IDENTIFIER_TYPE_VALUE & global_type_name [PR 99039]

2021-02-12 Thread Nathan Sidwell
IDENTIFIER_TYPE_VALUE and friends is a remnant of G++'s C origins. It holds elaborated types on identifier-nodes. While this is fine for C and for local and class-scopes in C++, it fails badly for namespaces. In that case a marker 'global_type_node' was used, which essentially signified

[Bug analyzer/96395] gcc.dg/analyzer/explode-2.c fails when compiled as C++

2021-02-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96395 --- Comment #3 from David Malcolm --- Sandra: what is the status of your loop unification changes? FWIW, I'm not able to reproduce this issue with trunk. Note that g:fd111c419d146ee47c7df9a36a535e8d843d4802 fixed a state-explosion bug in how

[Bug fortran/95647] operator(.eq.) and operator(==) treated differently

2021-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95647 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:d5021162cf33081c128cd5c4f96ea0b7ca8739d7 commit r10-9365-gd5021162cf33081c128cd5c4f96ea0b7ca8739d7 Author: Steve Kargl

Re: Merge from trunk to gccgo branch

2021-02-12 Thread Ian Lance Taylor via Gcc-patches
I merged trunk revision 9769564e7456453e2273071d0faa5aab2554ff78 to the gccgo branch. Ian

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-02-12 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org

rs6000: Fix invalid splits when using Altivec style addresses [PR98959]

2021-02-12 Thread Peter Bergner via Gcc-patches
The rs6000_emit_le_vsx_* functions assume they are not passed an Altivec style "& ~16" address. However, some of our expanders and splitters do not verify we do not have an Altivec style address before calling those functions, leading to an ICE. The solution here is to guard the expanders and

Re: [PATCH] plug memory leaks in warn_parm_array_mismatch (PR 99055)

2021-02-12 Thread Martin Sebor via Gcc-patches
On 2/12/21 12:36 PM, Richard Biener wrote: On February 12, 2021 7:21:25 PM GMT+01:00, Martin Sebor wrote: On 2/12/21 12:35 AM, Richard Biener wrote: On Thu, Feb 11, 2021 at 7:35 PM Martin Sebor wrote: On 2/11/21 12:59 AM, Richard Biener wrote: On Wed, Feb 10, 2021 at 6:16 PM Martin

Re: [PATCH] plug memory leaks in warn_parm_array_mismatch (PR 99055)

2021-02-12 Thread Richard Biener via Gcc-patches
On February 12, 2021 7:21:25 PM GMT+01:00, Martin Sebor wrote: >On 2/12/21 12:35 AM, Richard Biener wrote: >> On Thu, Feb 11, 2021 at 7:35 PM Martin Sebor >wrote: >>> >>> On 2/11/21 12:59 AM, Richard Biener wrote: On Wed, Feb 10, 2021 at 6:16 PM Martin Sebor >wrote: > > The

[Bug tree-optimization/99079] Maybe a wrong code since r6-1462-g4ab1e111ef0669bb

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99079 Jakub Jelinek changed: What|Removed |Added Attachment #50176|0 |1 is obsolete|

Go patch committed: Use correct path for string/[]byte embed

2021-02-12 Thread Ian Lance Taylor via Gcc-patches
This patch by Michael Matloob fixes the Go frontend to use the correct path when opening an embedded file for a string or []byte type. For the other embed.FS case we were correctly using the Files mapping, but for string or []byte we were not. Bootstrapped and ran Go testsuite on

Re: [PATCH 4/4] c++: dependent constraint on placeholder 'auto' [PR96443]

2021-02-12 Thread Jason Merrill via Gcc-patches
On 2/11/21 5:14 PM, Patrick Palka wrote: On Thu, 11 Feb 2021, Jason Merrill wrote: On 2/8/21 2:03 PM, Patrick Palka wrote: This fixes the way we check satisfaction of constraints on placeholder types in various contexts, and in particular when the constraint is dependent. Firstly, when

[Bug inline-asm/99015] ICE: Max. number of generated reload insns per insn is achieved (90)

2021-02-12 Thread zhan3299 at purdue dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015 --- Comment #1 from zhan3299 at purdue dot edu --- It seems clang at any optimization level can compile this. GCC at -O0 can also compile it.

[Bug tree-optimization/99079] Maybe a wrong code since r6-1462-g4ab1e111ef0669bb

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99079 --- Comment #4 from Jakub Jelinek --- Ah, except we introduce UB into the program because (1 << var) - 1 when var is 31 will be INT_MIN - 1. I think we should do the subtraction of 1 in utype then.

Re: [PATCH 3/4] c++: Delay normalizing nested requirements until satisfaction

2021-02-12 Thread Jason Merrill via Gcc-patches
On 2/10/21 9:41 AM, Patrick Palka wrote: On Tue, 9 Feb 2021, Jason Merrill wrote: On 2/8/21 2:03 PM, Patrick Palka wrote: This sets up the functionality for controlling the initial set of template parameters to pass to normalization when dealing with a constraint-expression that is not

[Bug tree-optimization/99079] Maybe a wrong code since r6-1462-g4ab1e111ef0669bb

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99079 Jakub Jelinek changed: What|Removed |Added Attachment #50175|0 |1 is obsolete|

[Bug tree-optimization/99079] Maybe a wrong code since r6-1462-g4ab1e111ef0669bb

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99079 --- Comment #2 from Jakub Jelinek --- Created attachment 50175 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50175=edit gcc11-pr99079.patch Untested fix. The problem is that the tree_nop_conversion_p (type, TREE_TYPE (@3)) test actually

[Bug tree-optimization/88771] Misleading -Werror=array-bounds error

2021-02-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88771 Martin Sebor changed: What|Removed |Added Keywords|patch | Known to fail|9.0

Re: [PATCH] Fix producer string memory leaks

2021-02-12 Thread Martin Sebor via Gcc-patches
On 2/12/21 9:56 AM, Martin Sebor wrote: On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote: On Thu, Feb 11, 2021 at 6:41 PM Martin Liška wrote: Hello. This fixes 2 memory leaks I noticed. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed?

[Bug c++/99080] Add !TYPE_P assert to type_dependent_expression_p

2021-02-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99080 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Keywords|

[Bug c++/99080] New: Add !TYPE_P assert to type_dependent_expression_p

2021-02-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99080 Bug ID: 99080 Summary: Add !TYPE_P assert to type_dependent_expression_p Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH] plug memory leaks in warn_parm_array_mismatch (PR 99055)

2021-02-12 Thread Martin Sebor via Gcc-patches
On 2/12/21 12:35 AM, Richard Biener wrote: On Thu, Feb 11, 2021 at 7:35 PM Martin Sebor wrote: On 2/11/21 12:59 AM, Richard Biener wrote: On Wed, Feb 10, 2021 at 6:16 PM Martin Sebor wrote: The attached patch replaces calls to print_generic_expr_to_str() with a helper function that

[Bug c/99055] memory leak in warn_parm_array_mismatch

2021-02-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99055 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/99055] memory leak in warn_parm_array_mismatch

2021-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99055 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:f3d7fd1475eb1ed2b3a39f988b33db176d4f7419 commit r11-7226-gf3d7fd1475eb1ed2b3a39f988b33db176d4f7419 Author: Martin Sebor Date: Fri

[Bug rtl-optimization/85899] [8 Regression] ICE in find_fallthru_edge_from, at haifa-sched.c:8059

2021-02-12 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85899 seurer at gcc dot gnu.org changed: What|Removed |Added CC||seurer at gcc dot gnu.org

[Bug target/68028] [8/9/10/11 regression] Compilation error "lto1: error: target attribute or pragma changes single precision floating point" with LTO on PowerPC

2021-02-12 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68028 seurer at gcc dot gnu.org changed: What|Removed |Added CC||seurer at gcc dot gnu.org

[Bug tree-optimization/99068] Missed PowerPC lhau optimization

2021-02-12 Thread brian.grayson at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99068 Brian Grayson changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug tree-optimization/99079] Maybe a wrong code since r6-1462-g4ab1e111ef0669bb

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99079 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

Re: [OBVIOUS][PATCH] testsuite, arm: Add -mthumb to pr98931.c [PR target/98931]

2021-02-12 Thread Richard Earnshaw via Gcc-patches
On 12/02/2021 17:21, Christophe Lyon wrote: > On Fri, 12 Feb 2021 at 17:02, Richard Earnshaw > wrote: >> >> On 12/02/2021 14:20, Christophe Lyon via Gcc-patches wrote: >>> This test forces -march=armv8.1-m.main, which supports only Thumb mode. >>> However, if the toolchain is not configured

[Bug bootstrap/98338] [10/11 Regression] profiledbootstrap failure on x86_64-linux

2021-02-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98338 Martin Liška changed: What|Removed |Added Summary|[11 Regression] |[10/11 Regression]

[Bug bootstrap/98338] [11 Regression] profiledbootstrap failure on x86_64-linux

2021-02-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98338 Martin Liška changed: What|Removed |Added See Also||https://bugzilla.suse.com/s

[Bug go/98823] go testsuite and timeouts

2021-02-12 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98823 --- Comment #14 from Ian Lance Taylor --- The code that kills the test process (close_wait_program in lib/remote.exp) has indeed changed between DejaGNU 1.6.1 and 1.6.2. That said, I don't see any reason why the 1.6.1 code wouldn't kill the

[Bug tree-optimization/99079] Maybe a wrong code since r6-1462-g4ab1e111ef0669bb

2021-02-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99079 --- Comment #1 from Martin Liška --- I forgot to mention: $ g++ x.cpp -O && ./a.out arr: 602669924 Aborted (core dumped)

[Bug tree-optimization/99079] New: Maybe a wrong code since r6-1462-g4ab1e111ef0669bb

2021-02-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99079 Bug ID: 99079 Summary: Maybe a wrong code since r6-1462-g4ab1e111ef0669bb Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

Re: [OBVIOUS][PATCH] testsuite, arm: Add -mthumb to pr98931.c [PR target/98931]

2021-02-12 Thread Christophe Lyon via Gcc-patches
On Fri, 12 Feb 2021 at 17:02, Richard Earnshaw wrote: > > On 12/02/2021 14:20, Christophe Lyon via Gcc-patches wrote: > > This test forces -march=armv8.1-m.main, which supports only Thumb mode. > > However, if the toolchain is not configured --with-thumb, the test > > fails with: > > error:

[Bug c++/96078] [10/11 Regression] flatten attribute on constructor and destructor causes spurious warning

2021-02-12 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96078 --- Comment #3 from Jason Merrill --- Created attachment 50174 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50174=edit proposed patch

[Bug target/99048] __gcc_qadd produces spurious NaN

2021-02-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99048 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Re: [PATCH] Fix producer string memory leaks

2021-02-12 Thread Martin Sebor via Gcc-patches
On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote: On Thu, Feb 11, 2021 at 6:41 PM Martin Liška wrote: Hello. This fixes 2 memory leaks I noticed. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? OK. Thanks, Martin gcc/ChangeLog:

[Bug target/99048] __gcc_qadd produces spurious NaN

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99048 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

Re: [patch, libfortran] PR95647 operator(.eq.) and operator(==) treated differently

2021-02-12 Thread Jerry DeLisle
How do I get permissions set so that I can change status of bug reports and assign to myself.  My permissions got dissolved during some evolution in the last year. also The master branch has been updated by Jerry DeLisle: https://gcc.gnu.org/g:0631e008adc759cc801d0d034224ee6b4bcf31aa commit

[Bug target/99048] __gcc_qadd produces spurious NaN

2021-02-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99048 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug tree-optimization/99068] Missed PowerPC lhau optimization

2021-02-12 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99068 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[PATCH] rtl-ssa: Reduce the amount of temporary memory needed [PR98863]

2021-02-12 Thread Richard Sandiford via Gcc-patches
The rtl-ssa code uses an on-the-side IL and needs to build that IL for each block and RTL insn. I'd originally not used the classical dominance frontier method for placing phis on the basis that it seemed like more work in this context: we're having to visit everything in an RPO walk anyway, so

[Bug fortran/99043] Inconsistent behavior when calling rank(ptr) for assumed-rank null pointer

2021-02-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99043 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [OBVIOUS][PATCH] testsuite, arm: Add -mthumb to pr98931.c [PR target/98931]

2021-02-12 Thread Richard Earnshaw via Gcc-patches
On 12/02/2021 14:20, Christophe Lyon via Gcc-patches wrote: > This test forces -march=armv8.1-m.main, which supports only Thumb mode. > However, if the toolchain is not configured --with-thumb, the test > fails with: > error: target CPU does not support ARM mode > > Adding -mthumb to dg-options

[Bug fortran/99043] Inconsistent behavior when calling rank(ptr) for assumed-rank null pointer

2021-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99043 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:f248468b309eba0608608c4d8bd75fd0f4580416 commit r10-9364-gf248468b309eba0608608c4d8bd75fd0f4580416 Author: Tobias Burnus

[Bug fortran/95647] operator(.eq.) and operator(==) treated differently

2021-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95647 --- Comment #11 from CVS Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:0631e008adc759cc801d0d034224ee6b4bcf31aa commit r11-7225-g0631e008adc759cc801d0d034224ee6b4bcf31aa Author: Steve Kargl Date:

[committed] rtl-ssa: Use right obstack for temporary allocation

2021-02-12 Thread Richard Sandiford via Gcc-patches
I noticed while working on PR98863 that we were using the main obstack to allocate temporary uses. That was safe, but represents a kind of local memory leak. Tested on aarch64-linux-gnu and x86_64-linux-gnu, pushed as obvious. Richard gcc/ * rtl-ssa/accesses.cc

[committed] libstdc++: Fix filesystem::rename on Windows [PR 98985]

2021-02-12 Thread Jonathan Wakely via Gcc-patches
The _wrename function won't overwrite an existing file, so use MoveFileEx instead. That allows renaming directories over files, which POSIX doesn't allow, so check for that case explicitly and report an error. Also document the deviation from the expected behaviour, and add a test for

Re: [committed] libstdc++: Re-enable workaround for _wstat64 bug [PR 88881]

2021-02-12 Thread Jonathan Wakely via Gcc-patches
On 10/02/21 16:58 +, Jonathan Wakely wrote: This wasn't fixed upstream for mingw-w64 so we still need the workaround. libstdc++-v3/ChangeLog: PR libstdc++/1 * src/c++17/fs_ops.cc (fs::status): Re-enable workaround. Oops, the same change is needed in symlink_status as

[Bug rtl-optimization/98439] [11 Regression] ICE in final_scan_insn_1, at final.c:3096

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98439 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/88881] std::filesystem::status gives bad results on mingw32

2021-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1 --- Comment #16 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b7210405ed8eb5fd723b2c99960dcc5f0aec89b4 commit r11-7222-gb7210405ed8eb5fd723b2c99960dcc5f0aec89b4 Author: Jonathan Wakely

[PATCH 2/2] openacc: Strided array sections and components of derived-type arrays

2021-02-12 Thread Julian Brown
This patch disallows selecting components of array sections in update directives for OpenACC, as specified in OpenACC 3.0, "2.14.4. Update Directive", "Restrictions": "In Fortran, members of variables of derived type may appear, including a subarray of a member. Members of subarrays of

[PATCH 1/2] openacc: Fix lowering for derived-type mappings through array elements

2021-02-12 Thread Julian Brown
This patch fixes lowering of derived-type mappings which select elements of arrays of derived types, and similar. These would previously lead to ICEs. With this change, OpenACC directives can pass through constructs that are no longer recognized by the gimplifier, hence alterations are needed

[PATCH 0/2] openacc: Mixing array elements and derived types (mk2)

2021-02-12 Thread Julian Brown
This series contains an updated version of the "3/4" patch from this series: https://gcc.gnu.org/pipermail/gcc-patches/2021-February/564711.html together with bits that undo the reversions in: https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565093.html and a new approach to

[Bug rtl-optimization/97684] [11 Regression] ICE in reg_preferred_class, at reginfo.c:789 by r11-4577

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97684 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug rtl-optimization/85099] [meta-bug] selective scheduling issues

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85099 Bug 85099 depends on bug 97684, which changed state. Bug 97684 Summary: [11 Regression] ICE in reg_preferred_class, at reginfo.c:789 by r11-4577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97684 What|Removed

Re: [committed] libstdc++: Include scope ID in net::internet::address_v6::to_string()

2021-02-12 Thread Jonathan Wakely via Gcc-patches
On 12/02/21 15:12 +, Jonathan Wakely wrote: @@ -364,9 +378,7 @@ namespace ip static constexpr address_v6 loopback() noexcept { - address_v6 __addr; - __addr._M_bytes[15] = 1; - return __addr; + return {bytes_type{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}}; }

Re: [PATCH] MIPS: Fix PR target/98491 (ChangeLog)

2021-02-12 Thread Xi Ruoyao via Gcc-patches
Nope. I can't reach Robert, so CC MIPS maintainer. On 2021-02-12 22:57 +0800,Xi Ruoyao wrote: > Well, it just dislike my mail server :(.  Switch to the mail server of my > university. > > On 2021-02-12 22:54 +0800, Xi Ruoyao wrote: > > Resend the mail.  I had to fill in a form to send mail to

[committed] libstdc++: Make "nonexistent" paths less predictable in filesystem tests

2021-02-12 Thread Jonathan Wakely via Gcc-patches
The helper function for creating new paths doesn't work well on Windows, because the PID of a process started by Wine is very consistent and so the same path gets created each time. libstdc++-v3/ChangeLog: * testsuite/util/testsuite_fs.h (nonexistent_path): Add random number to

[committed] libstdc++: Include scope ID in net::internet::address_v6::to_string()

2021-02-12 Thread Jonathan Wakely via Gcc-patches
libstdc++-v3/ChangeLog: * include/experimental/internet (address_v6::to_string): Include scope ID in string. * testsuite/experimental/net/internet/address/v6/members.cc: Test to_string() results. Tested powerpc64le-linux. Committed to trunk. commit

[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #13 from Jakub Jelinek --- I think -fpatchable-function-entry support is more than 3 years old now, so I think we can't treat it like a new feature and so I don't understand defering fixing it for stage1. Doesn't the kernel use that

[Bug libstdc++/98384] [11 Regression] new test case 20_util/to_chars/long_double.cc in r11-6249 fails on powerpc64 BE

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98384 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

Re: [PATCH] MIPS: Fix PR target/98491 (ChangeLog)

2021-02-12 Thread Xi Ruoyao
Well, it just dislike my mail server :(. Switch to the mail server of my university. On 2021-02-12 22:54 +0800, Xi Ruoyao wrote: > Resend the mail.  I had to fill in a form to send mail to Robert. > > On 2021-02-12 22:17 +0800, Xi Ruoyao wrote: > > On 2021-01-11 01:01 +0800, Xi Ruoyao wrote: >

[Bug target/98537] [11 Regression] ICE in emit_move_insn since r11-5839

2021-02-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98537 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PATCH] MIPS: Fix PR target/98491 (ChangeLog)

2021-02-12 Thread Xi Ruoyao via Gcc-patches
Resend the mail. I had to fill in a form to send mail to Robert. On 2021-02-12 22:17 +0800, Xi Ruoyao wrote: > On 2021-01-11 01:01 +0800, Xi Ruoyao wrote: > > Hi Jeff and Jakub, > > > > On 2021-01-04 14:19 -0700, Jeff Law wrote: > > > On 1/4/21 2:00 PM, Jakub Jelinek wrote: > > > > On Mon, Jan

[Bug libstdc++/99077] [9/10 Regression] Cannot build libstdc++ with -fno-rtti

2021-02-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99077 Jonathan Wakely changed: What|Removed |Added Known to fail|11.0| Summary|[9/10/11

[Bug libstdc++/99058] Consider adding a note about std::optional ABI break to the C++17 status table

2021-02-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99058 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-02-12

  1   2   >