[PATCH] [i386] Optimize __builtin_shuffle when it's used to zero the upper bits of the dest. [PR target/94680]

2021-04-22 Thread Hongtao Liu via Gcc-patches
Hi: If the second operand of __builtin_shuffle is const vector 0, and with specific mask, it can be optimized to movq/vmovps. .i.e. foo128: - vxorps %xmm1, %xmm1, %xmm1 - vmovlhps%xmm1, %xmm0, %xmm0 + vmovq %xmm0, %xmm0 foo256: - vxorps %xmm1, %xmm1, %xmm1

[Bug c++/100209] multiple inheritance with crtp pattern fails on sequentioal member access

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100209 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/100209] multiple inheritance with crtp pattern fails on sequentioal member access

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100209 --- Comment #3 from Patrick Palka --- During cxx_eval_indirect_ref for *(const struct C &) (const struct C *) (struct C *) ((struct B *) this + -4); constant evaluation of the pointee yields + -4 where D.2217 is a temporary of type C

Re: State of AutoFDO in GCC

2021-04-22 Thread Xinliang David Li via Gcc
Hi, the create_gcov tool was probably removed with the assumption that it was only used with Google GCC branch, but it is actually used with GCC trunk as well. Given that, the tool will be restored in the github repo. It seems to build and work fine with the regression test. The tool may ust

[Bug c++/100224] New: incorrect result when doing double vectorized

2021-04-22 Thread zhaoc at apache dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100224 Bug ID: 100224 Summary: incorrect result when doing double vectorized Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/100223] New: Missing early return in std::partial_sort

2021-04-22 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100223 Bug ID: 100223 Summary: Missing early return in std::partial_sort Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/100209] multiple inheritance with crtp pattern fails on sequentioal member access

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100209 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Last

[Bug c++/94845] DWARF function name doesn't match demangled name in base type template parameters

2021-04-22 Thread robert at ocallahan dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94845 --- Comment #9 from robert at ocallahan dot org --- That makes sense ... well, except implementing a full C++ parser and reserializer is horrific.

[Bug tree-optimization/100222] New: Redundant mark_irreducible_loops () in predicate.c

2021-04-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100222 Bug ID: 100222 Summary: Redundant mark_irreducible_loops () in predicate.c Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P3

Re: State of AutoFDO in GCC

2021-04-22 Thread Bin.Cheng via Gcc
On Fri, Apr 23, 2021 at 4:16 AM Martin Liška wrote: > > On 4/22/21 9:58 PM, Eugene Rozenfeld via Gcc wrote: > > GCC documentation for AutoFDO points to create_gcov tool that converts > > perf.data file into gcov format that can be consumed by gcc with > > -fauto-profile

Re: [PATCH] Use STATIC_ASSERT for OVL_OP_MAX.

2021-04-22 Thread Jason Merrill via Gcc-patches
On 4/22/21 4:55 AM, Martin Liška wrote: There's an updated version of the patch, Jonathan noticed correctly the comment related to assert was not correct. Subject: [PATCH] Use STATIC_ASSERT for OVL_OP_MAX. Subject line needs "c++:" Please also include the rationale from your first message

[Bug c++/94845] DWARF function name doesn't match demangled name in base type template parameters

2021-04-22 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94845 --- Comment #8 from Tom Tromey --- (In reply to rob...@ocallahan.org from comment #7) > So gdb reads DW_AT_name "func", parses it, reserializes it to > "func", and uses that? Yeah. (Actually it's even worse than that, because at least one

[Bug fortran/69360] loop optimization produces invalid code when a common array has dimension 1 in some files

2021-04-22 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69360 --- Comment #7 from Steve Kargl --- On Thu, Apr 22, 2021 at 10:20:54PM +, johnnorthall263 at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69360 > > --- Comment #6 from John Northall --- > It's deliberate! I think

[Bug target/100093] different behavior between -mtune=cpu_type and target_attribute (“arch=cputype”)

2021-04-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100093 Hongtao.liu changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/100093] different behavior between -mtune=cpu_type and target_attribute (“arch=cputype”)

2021-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100093 --- Comment #3 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:342de04d993beaa644d0b0087c20bef5dad5bf5f commit r12-78-g342de04d993beaa644d0b0087c20bef5dad5bf5f Author: liuhongt Date: Fri Apr

[Bug target/100152] [10.3, 11, 12 Regression] used caller-saved register not preserved across a call.

2021-04-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100152 --- Comment #28 from Iain Sandoe --- reduced test case: ___UTF_8_put(char *a, int b) { char *c = a; int bytes; if (b <= 15) bytes = 2; else if (b <= 255) bytes = 4; else if (b <= 4095) bytes = 5; else bytes = 6; c

[PATCH] Switch AIX configuration to DWARF2 debugging

2021-04-22 Thread David Edelsohn via Gcc-patches
As requested at the end of Stage 4, this patch changes the debugging format for AIX configuration of GCC to "DWARF2". This is in preparation for removing stabs debugging support from GCC. The rs6000 configuration files remain somewhat intertwined with the stabs debugging support, but the

Re: [PATCH] Use STATIC_ASSERT for OVL_OP_MAX.

2021-04-22 Thread Bernhard Reutner-Fischer via Gcc-patches
On Thu, 22 Apr 2021 14:28:24 -0600 Martin Sebor via Gcc-patches wrote: > > enum E { e = 5 }; > > struct A { E e: 3; }; > > > > constexpr int number_of_bits () > > { > > A a = { }; > > a.e = (E)-1; > > return 32 - __builtin_clz(a.e); > > } > > > > I had the same thought about

[Bug target/100152] [10.3, 11, 12 Regression] used caller-saved register not preserved across a call.

2021-04-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100152 Iain Sandoe changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

Re: [PATCH] Fix logic error in 32-bit trampolines, PR target/98952

2021-04-22 Thread Segher Boessenkool
On Fri, Apr 09, 2021 at 05:09:07PM -0400, Michael Meissner wrote: > Fix logic error in 32-bit trampolines, PR target/98952. > > The test in the PowerPC 32-bit trampoline support is backwards. It aborts > if the trampoline size is greater than the expected size. It should abort > when the

Re: [PATCH] Fix logic error in 32-bit trampolines, PR target/98952

2021-04-22 Thread Segher Boessenkool
On Mon, Apr 12, 2021 at 05:02:38PM -0500, will schmidt wrote: > On Fri, 2021-04-09 at 17:09 -0400, Michael Meissner wrote: > > - li r8,trampoline_size /* verify that the trampoline is big > > enough */ > > - cmpwcr1,r8,r4 > > + cmpwi cr1,r4,trampoline_size /* verify that

[Bug c++/94845] DWARF function name doesn't match demangled name in base type template parameters

2021-04-22 Thread robert at ocallahan dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94845 --- Comment #7 from robert at ocallahan dot org --- So gdb reads DW_AT_name "func", parses it, reserializes it to "func", and uses that?

gcc-8-20210422 is now available

2021-04-22 Thread GCC Administrator via Gcc
Snapshot gcc-8-20210422 is now available on https://gcc.gnu.org/pub/gcc/snapshots/8-20210422/ 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: State of AutoFDO in GCC

2021-04-22 Thread Jan Hubicka
> On 4/22/21 9:58 PM, Eugene Rozenfeld via Gcc wrote: > > GCC documentation for AutoFDO points to create_gcov tool that converts > > perf.data file into gcov format that can be consumed by gcc with > > -fauto-profile (https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html, > >

[wwwdocs] IPA/LTO/profile-feedback changes

2021-04-22 Thread Jan Hubicka
Hi, this patch adds changesentry for IPA/LTO and FDO. Honza diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html index 6f58cfe8..bba16ead 100644 --- a/htdocs/gcc-11/changes.html +++ b/htdocs/gcc-11/changes.html @@ -170,6 +170,37 @@ a work-in-progress. use -g together with

[Bug fortran/69360] loop optimization produces invalid code when a common array has dimension 1 in some files

2021-04-22 Thread johnnorthall263 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69360 --- Comment #6 from John Northall --- It's deliberate! I think with this level of understanding of fortran use in the real world commercial compilers have a bright future! If it works with dimension set to 2 (whatever the background true

Re: [PATCH] c++: Hard error with tentative parse and CTAD [PR87709]

2021-04-22 Thread Jason Merrill via Gcc-patches
On 4/22/21 11:34 AM, Patrick Palka wrote: As described in detail in comment #4 of this PR, when tentatively parsing a construct that can either be a type or an expression, if during the type parse we encounter an unexpected template placeholder, we need to simulate an error rather than issue a

Re: [PATCH] c++: Refine enum direct-list-initialization [CWG2374]

2021-04-22 Thread Jason Merrill via Gcc-patches
On 4/22/21 10:49 AM, Patrick Palka wrote: This implements the wording changes of CWG2374, which clarifies the wording of P0138 to forbid e.g. direct-list-initialization of a scoped enumeration from a different scoped enumeration. Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look

Re: removing toxic emailers

2021-04-22 Thread Soul Studios
On 15/04/2021 10:40 am, Frosku wrote: On Wed Apr 14, 2021 at 9:49 PM BST, Paul Koning via Gcc wrote: My answer is "it depends". More precisely, in the past I would have favored those who decline because the environment is unpleasant -- with the implied assumption being that their objections

[Bug c++/77435] Dependent reference non-type template parameter not matched for partial specialization

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77435 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/94508] ICE in tsubst_copy, at cp/pt.c:16186

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94508 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target

[Bug c++/94508] ICE in tsubst_copy, at cp/pt.c:16186

2021-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94508 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4e1aaf32ddf13cc79fcf146d6b62a6e0feb82be0 commit r12-73-g4e1aaf32ddf13cc79fcf146d6b62a6e0feb82be0 Author: Patrick Palka Date: Thu

[Bug c++/77435] Dependent reference non-type template parameter not matched for partial specialization

2021-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77435 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:92664c058d705fcaf57875f93b4dfc36cf011afd commit r12-72-g92664c058d705fcaf57875f93b4dfc36cf011afd Author: Patrick Palka Date: Thu

[PATCH 1/2] Generate overlapping operations between two areas of memory

2021-04-22 Thread H.J. Lu via Gcc-patches
For op_by_pieces operations between two areas of memory on non-strict alignment target, add -foverlap-op-by-pieces=[off|on|max-memset] to generate overlapping operations to minimize number of operations if it is not a stack push which must not overlap. When operating on LENGTH bytes of memory,

[PATCH 2/2] x86: Enable -foverlap-op-by-pieces by default

2021-04-22 Thread H.J. Lu via Gcc-patches
Add TARGET_PREFER_OVERLAP_OP_BY_PIECES for Alder Lake and Intel core processoes with AVX2 to enable -foverlap-op-by-pieces by default. gcc/ PR middl-end/90773 * config/i386/i386-options.c (ix86_option_override_internal): Enable -foverlap-op-by-pieces by default for

[PATCH 0/2] Generate overlapping operations between two areas of memory

2021-04-22 Thread H.J. Lu via Gcc-patches
For op_by_pieces operations between two areas of memory on non-strict alignment target, add -foverlap-op-by-pieces=[off|on|max-memset] to generate overlapping operations to minimize number of operations if it is not a stack push which must not overlap. When operating on LENGTH bytes of memory,

[Bug c++/86426] g++ ICE at on valid code in tree_operand_check, at tree.h:3615

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86426 Patrick Palka changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn ---

[Bug c++/94210] ICE in tsubst, at cp/pt.c:15105

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94210 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/100161] [10/11 Regression] Impossible to suppress Wtype-limits warning involving template parameter.

2021-04-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100161 Marek Polacek changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11 Regression]

[Bug c++/100161] [10/11/12 Regression] Impossible to suppress Wtype-limits warning involving template parameter.

2021-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100161 --- Comment #3 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:244dfb95119106e9267f37583caac565c39eb0ec commit r12-71-g244dfb95119106e9267f37583caac565c39eb0ec Author: Marek Polacek Date:

[Patch] PR fortran/100154 - [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-04-22 Thread Harald Anlauf via Gcc-patches
Now with the correct patch attached ... Sorry for the confusion! --- Dear Fortranners, we need to check the arguments to the affected GNU intrinsic extensions properly, and - as pointed out in the PR by Tobias - we need to allow function references that have a data pointer result. Also the

[Bug fortran/100154] [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-04-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100154 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid --- Comment

[Patch] PR fortran/100154 - [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-04-22 Thread Harald Anlauf via Gcc-patches
Dear Fortranners, we need to check the arguments to the affected GNU intrinsic extensions properly, and - as pointed out in the PR by Tobias - we need to allow function references that have a data pointer result. Also the argument names of the character arguments of the subroutine versions

Re: [PATCH] Use STATIC_ASSERT for OVL_OP_MAX.

2021-04-22 Thread Martin Sebor via Gcc-patches
On 4/22/21 9:41 AM, Jonathan Wakely wrote: On Thu, 22 Apr 2021 at 15:59, Martin Sebor wrote: On 4/22/21 2:52 AM, Jonathan Wakely wrote: On Thu, 22 Apr 2021, 08:47 Martin Liška, wrote: On 4/21/21 6:11 PM, Martin Sebor wrote: > On 4/21/21 2:15 AM, Martin Liška wrote: >>

[Bug fortran/100218] Allow target of the pointer resulting from the evaluation of function-reference in a variable definition context

2021-04-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100218 --- Comment #1 from anlauf at gcc dot gnu.org --- Submitted: https://gcc.gnu.org/pipermail/fortran/2021-April/055976.html

[Patch] PR fortran/100218 - target of pointer from evaluation of function-reference

2021-04-22 Thread Harald Anlauf via Gcc-patches
Dear Fortranners, while analyzing a different PR (PR100154), Tobias pointed out that the target of a pointer from the evaluation of function-reference is allowed to be used in a variable definition context and thus as an actual argument to a function or subroutine. This seems to be a more

Re: State of AutoFDO in GCC

2021-04-22 Thread Martin Liška
On 4/22/21 9:58 PM, Eugene Rozenfeld via Gcc wrote: > GCC documentation for AutoFDO points to create_gcov tool that converts > perf.data file into gcov format that can be consumed by gcc with > -fauto-profile (https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html, >

[Bug tree-optimization/100221] New: missed optimization for dead code elimination at -O3 (vs. -O1, -Os, -O2)

2021-04-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
Supported LTO compression algorithms: zlib gcc version 12.0.0 20210422 (experimental) [master revision 3cf04d1afa8:0e51007a40c:d42088e453042f4f8ba9190a7e29efd937ea2181] (GCC) [552] % [552] % gcctk -O1 -S -o O1.s small.c [553] % gcctk -O3 -S -o O3.s small.c [554] % [554] % wc O1.s O3.s 49 100

State of AutoFDO in GCC

2021-04-22 Thread Eugene Rozenfeld via Gcc
GCC documentation for AutoFDO points to create_gcov tool that converts perf.data file into gcov format that can be consumed by gcc with -fauto-profile (https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html, https://gcc.gnu.org/wiki/AutoFDO/Tutorial). I noticed that the source code for

[PATCH] config/i386: Commentary typo fix

2021-04-22 Thread Bernhard Reutner-Fischer via Gcc-patches
From: Bernhard Reutner-Fischer gcc/ChangeLog: * config/i386/x86-tune-sched-bd.c (dispatch_group): Commentary typo fix. --- gcc/config/i386/x86-tune-sched-bd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/i386/x86-tune-sched-bd.c

[Bug c++/93083] [C++20] copy deduction rejected when doing CTAD for NTTP

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083 Patrick Palka changed: What|Removed |Added CC||mateusz.pusz at gmail dot com ---

[Bug c++/95015] Partial specializations of class templates with class NTTP fails

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95015 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/83818] g++ class template parameter deduction discards const qualifier

2021-04-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83818 --- Comment #5 from Jonathan Wakely --- Ha, apparently I forgot that I'd reported the bug and fixed it myself.

[Bug c++/24666] [meta-bug] arrays decay to pointers too early

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 Bug 24666 depends on bug 94924, which changed state. Bug 94924 Summary: Default equality operator for C-array compares addresses, not data https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94924 What|Removed |Added

[Bug c++/93480] Defaulted <=> doesn't expand array elements

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93480 Patrick Palka changed: What|Removed |Added CC||rhalbersma at gmail dot com --- Comment

[Bug c++/94924] Default equality operator for C-array compares addresses, not data

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94924 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/100220] New: missed optimization for dead code elimination at -O3 (vs. -O1, -Os, -O2)

2021-04-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210422 (experimental) [master revision 3cf04d1afa8:0e51007a40c:d42088e453042f4f8ba9190a7e29efd937ea2181] (GCC) [639] % [639] % gcctk -O1 -S -o O1.s small.c [640] % gcctk -O3 -S -o O3.s small.c [641

[Bug c++/80990] cv-qualifiers ignored in variable definition using class template argument deduction

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80990 Patrick Palka changed: What|Removed |Added CC||bugzilla.gcc.karo at cupdev dot ne

[Bug c++/83818] g++ class template parameter deduction discards const qualifier

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83818 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: Fix Fortran rounding issues, PR fortran/96983.

2021-04-22 Thread Richard Biener via Gcc-patches
On April 22, 2021 9:09:28 PM GMT+02:00, Michael Meissner wrote: >On Wed, Apr 21, 2021 at 10:10:07AM +0200, Tobias Burnus wrote: >> On 20.04.21 08:58, Richard Biener via Fortran wrote: >> >On Mon, Apr 19, 2021 at 9:40 PM Michael Meissner via Fortran >> > wrote: >> Is there any reason to not only

[Bug c++/100215] Improve text of -Wmaybe-uninitialized references

2021-04-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100215 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/100219] New: Arm/Cortex-M: Suboptimal code returning unaligned struct with non-empty stack frame

2021-04-22 Thread matthijs at stdin dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100219 Bug ID: 100219 Summary: Arm/Cortex-M: Suboptimal code returning unaligned struct with non-empty stack frame Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug libstdc++/100187] Helper lambda in ranges_algo.h misses forwarding return type

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100187 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 CC|

Re: Fix Fortran rounding issues, PR fortran/96983.

2021-04-22 Thread Michael Meissner via Gcc-patches
On Wed, Apr 21, 2021 at 10:10:07AM +0200, Tobias Burnus wrote: > On 20.04.21 08:58, Richard Biener via Fortran wrote: > >On Mon, Apr 19, 2021 at 9:40 PM Michael Meissner via Fortran > > wrote: > Is there any reason to not only send the email to fortran@ _and_ > gcc-patches@ but sending it to 13

[Bug fortran/100218] New: Allow target of the pointer resulting from the evaluation of function-reference in a variable definition context

2021-04-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100218 Bug ID: 100218 Summary: Allow target of the pointer resulting from the evaluation of function-reference in a variable definition context Product: gcc Version:

[Bug c++/94845] DWARF function name doesn't match demangled name in base type template parameters

2021-04-22 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94845 Tom Tromey changed: What|Removed |Added CC||tromey at gcc dot gnu.org --- Comment #6

[Bug inline-asm/98847] Miscompilation with c++17, templates, and register keyword

2021-04-22 Thread programmerjake at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98847 --- Comment #12 from programmerjake at gmail dot com --- (In reply to Jakub Jelinek from comment #11) > Fixed. Thanks!!

[Bug target/100182] [8/9/10/11/12 Regression] Miscompilation of atomic_float/1.cc and atomic_float/wait_notify.cc on i686

2021-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182 --- Comment #10 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #9) > (In reply to Jakub Jelinek from comment #8) > > I think there are 8 those peephole2s rather than just 4 (I've been looking > > for > > rtx_equal_p (XEXP.*, 0) in

[Bug target/100217] [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552

2021-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100217 --- Comment #1 from Jakub Jelinek --- Bet the new s390_md_asm_adjust code is unprepared to see hard registers there.

[Bug target/100217] [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552

2021-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100217 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.0 Ever confirmed|0

[Bug target/100217] New: [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552

2021-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100217 Bug ID: 100217 Summary: [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug fortran/82376] Duplicate function call using -fcheck=pointer

2021-04-22 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82376 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055973.html

[Bug target/100182] [8/9/10/11/12 Regression] Miscompilation of atomic_float/1.cc and atomic_float/wait_notify.cc on i686

2021-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182 --- Comment #9 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #8) > I think there are 8 those peephole2s rather than just 4 (I've been looking > for > rtx_equal_p (XEXP.*, 0) in sync.md No, the other are not problematic.

[Bug target/100182] [8/9/10/11/12 Regression] Miscompilation of atomic_float/1.cc and atomic_float/wait_notify.cc on i686

2021-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182 --- Comment #8 from Jakub Jelinek --- I think there are 8 those peephole2s rather than just 4 (I've been looking for rtx_equal_p (XEXP.*, 0) in sync.md

[Bug target/100216] arm: UB in arm_canonicalize_comparison (shift exponent 127 is too large for 64-bit type)

2021-04-22 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100216 --- Comment #1 from Alex Coplan --- GCC built with UBSan here, to be clear.

[Bug target/100216] New: arm: UB in arm_canonicalize_comparison (shift exponent 127 is too large for 64-bit type)

2021-04-22 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100216 Bug ID: 100216 Summary: arm: UB in arm_canonicalize_comparison (shift exponent 127 is too large for 64-bit type) Product: gcc Version: 11.0 Status: UNCONFIRMED

[committed] c++: Add testcase for already fixed PR [PR16617]

2021-04-22 Thread Patrick Palka via Gcc-patches
We correctly diagnose the invalid access since r11-1350. gcc/testsuite/ChangeLog: PR c++/16617 * g++.dg/template/access36.C: New test. --- gcc/testsuite/g++.dg/template/access36.C | 25 1 file changed, 25 insertions(+) create mode 100644

[Bug target/100182] [8/9/10/11/12 Regression] Miscompilation of atomic_float/1.cc and atomic_float/wait_notify.cc on i686

2021-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED CC|uros at gcc

[committed] c++: Add testcase for already fixed PR [PR84689]

2021-04-22 Thread Patrick Palka via Gcc-patches
We correctly accept this testcase since r11-1638. gcc/testsuite/ChangeLog: PR c++/84689 * g++.dg/cpp0x/sfinae67.C: New test. --- gcc/testsuite/g++.dg/cpp0x/sfinae67.C | 20 1 file changed, 20 insertions(+) create mode 100644

[Bug c++/84689] is_invocable is true even for call operator via ambiguous base

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84689 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Patch, fortran] PR fortran/82376 - Duplicate function call using -fcheck=pointer

2021-04-22 Thread José Rui Faustino de Sousa via Gcc-patches
Hi All! Proposed patch to: PR82376 - Duplicate function call using -fcheck=pointer Patch tested only on x86_64-pc-linux-gnu. Evaluate function result and then pass a pointer, instead of a reference to the function itself, thus avoiding multiple evaluations of the function. Thank you very

[Bug c++/100215] New: Improve text of -Wmaybe-uninitialized references

2021-04-22 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100215 Bug ID: 100215 Summary: Improve text of -Wmaybe-uninitialized references Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/13495] Friendship to class nested within a template is broken

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13495 Bug 13495 depends on bug 16617, which changed state. Bug 16617 Summary: Fail to do access checking correctly for non-dependent qualified-id https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16617 What|Removed

[Bug c++/16617] Fail to do access checking correctly for non-dependent qualified-id

2021-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16617 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/84689] is_invocable is true even for call operator via ambiguous base

2021-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84689 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3275f2e2af24541f55462c23af4c6530ac12c5e2 commit r12-70-g3275f2e2af24541f55462c23af4c6530ac12c5e2 Author: Patrick Palka Date: Thu

[Bug c++/16617] Fail to do access checking correctly for non-dependent qualified-id

2021-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16617 --- Comment #9 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:330cc29c06306ebf7bd3b2d37704cc69944923ff commit r12-69-g330cc29c06306ebf7bd3b2d37704cc69944923ff Author: Patrick Palka Date: Thu

testsuite/substr_{9,10}.f90: Move to gfortran.dg/

2021-04-22 Thread Tobias Burnus
The test was added in r11-6687-gbdd1b1f55529da00b867ef05a53a08fbfc3d1c2e (PR93340) but placed into the wrong directly. Fixed by moving to gfortran.dg/ in commit r12-68-gac456fd981db6b0c2f7ee1ab0d17d36087a74dc2 after confirming that the tests work. Tobias - Mentor Graphics

[Bug c++/100055] [10/11/12 Regression] ICE on invalid requires expression

2021-04-22 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100055 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #3 from 康桓瑋

[Bug target/100214] New: UB in arm.c:optimal_immediate_sequence_1 (left shift of 255 by 30 places cannot be represented in type 'int')

2021-04-22 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100214 Bug ID: 100214 Summary: UB in arm.c:optimal_immediate_sequence_1 (left shift of 255 by 30 places cannot be represented in type 'int') Product: gcc Version: 11.0

[Bug c++/100210] [[nodiscard]] constructor causes warning on arm-linux-gnueabihf

2021-04-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100210 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/100210] [[nodiscard]] constructor causes warning on arm-linux-gnueabihf

2021-04-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100210 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2021-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/99106] [9 Regression] ICE in tree_to_poly_int64, at tree.c:3091

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

[Bug c++/99035] [9 Regression] ICE in declare_weak, at varasm.c:5930

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

[Bug rtl-optimization/98601] [8/9 Regression] aarch64: ICE in rtx_addr_can_trap_p_1, at rtlanal.c:467

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

[Bug c/99136] ICE in gimplify_expr, at gimplify.c:14854

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

[Bug middle-end/99007] [8/9 Regression] ICE in dominated_by_p, at dominance.c:1124

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

[Bug c++/98556] [8/9 Regression] ICE: 'verify_gimple' failed since r8-4821-g1af4ebf5985ef2aa

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

[Bug c++/99033] [9 Regression] ICE in tree_to_poly_int64, at tree.c:3091

2021-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99033 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/98681] [8/9 Regression] aarch64: Invalid ubfiz instruction rejected by assembler

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

  1   2   3   4   >