GCC 10 branch is now closed

2023-07-07 Thread Richard Biener via Gcc
After the GCC 10.5 release the GCC 10 branch is now closed. Thanks, Richard.

Re: Regarding bypass-asm patch and help in an error during bootstrapped build

2023-07-07 Thread Rishi Raj via Gcc
Yup, I somehow missed it. Thanks, it is fixed now. Now we can test the addition of.symtab and symbols in both builds. Now I am moving toward the second part of the project, adding debugging information. Right now, I am going through the documentation. Will you recommend any other resources? --

Re: semantics of uninitialized values in GIMPLE

2023-07-07 Thread Richard Biener via Gcc
On Fri, Jul 7, 2023 at 1:23 AM Krister Walfridsson via Gcc wrote: > > I have implemented support for uninitialized memory in my translation > validator. But I am not sure how well this corresponds to the GIMPLE > semantics, so I have some questions... > > My implementation tracks uninitialized

GCC 10.5 Released

2023-07-07 Thread Richard Biener via Gcc
The GNU Compiler Collection version 10.5 has been released. GCC 10.5 is a bug-fix release from the GCC 10 branch containing important fixes for regressions and serious bugs in GCC 10.4 with more than 155 bugs fixed since the previous release. This is also the last release from the GCC 10 branch,

Re: user sets ABI

2023-07-07 Thread David Brown via Gcc
On 07/07/2023 00:27, André Albergaria Coelho via Gcc wrote: What if the user chooses in own ABI, say specifying a config file like My abi " Parameters = pushed in stack" say gcc -abi "My abi" some.c -o some what would be the problems of specifying an ABI?? would that improve the usage of

Re: Inquiry about SME support for gcov modifications

2023-07-07 Thread Richard Biener via Gcc
On Thu, Jul 6, 2023 at 11:15 PM Daria Shatalinska via Gcc wrote: > > Hello, > > My name is Daria Shatalinska and I am a Project Manager at Freelancer. I am > contacting you to see if you might be interested in collaborating with us > on a project for NASA's Open Innovation Services program

Re: [RFC] Bridging the gap between the Linux Kernel Memory Consistency Model (LKMM) and C11/C++11 atomics

2023-07-07 Thread Jonas Oberhauser
Hi all, Am 7/3/2023 um 9:20 PM schrieb Olivier Dion: Hi all, This is a request for comments on extending the atomic builtins API to help avoiding redundant memory barriers. Indeed, there are discrepancies between the Linux kernel consistency memory model (LKMM) and the C11/C++11 memory

Re: [RFC] Bridging the gap between the Linux Kernel Memory Consistency Model (LKMM) and C11/C++11 atomics

2023-07-07 Thread Mathieu Desnoyers via Gcc
On 7/4/23 06:23, Jonathan Wakely wrote: On Tue, 4 Jul 2023 at 10:47, Peter Zijlstra wrote: On Mon, Jul 03, 2023 at 03:20:31PM -0400, Olivier Dion wrote: int x = 0; int y = 0; int r0, r1; int dummy; void t0(void) { __atomic_store_n(, 1, __ATOMIC_RELAXED);

Re: [RFC] Bridging the gap between the Linux Kernel Memory Consistency Model (LKMM) and C11/C++11 atomics

2023-07-07 Thread Peter Zijlstra
On Fri, Jul 07, 2023 at 10:04:06AM -0400, Olivier Dion wrote: > On Tue, 04 Jul 2023, Peter Zijlstra wrote: > > On Mon, Jul 03, 2023 at 03:20:31PM -0400, Olivier Dion wrote: > [...] > >> On x86-64 (gcc 13.1 -O2) we get: > >> > >> t0(): > >> movl$1, x(%rip) > >> movl

Re: Inquiry about SME support for gcov modifications

2023-07-07 Thread Joel Sherrill
Another related tool is mcdc-checker. This tool analyses code for conditions that require mcdc analysis based on some research that proves it isn't needed if the logic is properly structured. It can suggest alternatives that avoid the need for mcdc analysis. Research papers are linked there also.

Policy about optimization of atomics

2023-07-07 Thread Olivier Dion via Gcc
Hi, I would like to know what is the official stand of GCC on optimization of atomic builtins? More precisely, optimization of redundant memory fences. I am aware that Clang does some peephole optimization on redundant fences, but this seem to be limited to a single basic block and does not

Re: [RFC] Bridging the gap between the Linux Kernel Memory Consistency Model (LKMM) and C11/C++11 atomics

2023-07-07 Thread Olivier Dion via Gcc
On Tue, 04 Jul 2023, Peter Zijlstra wrote: > On Mon, Jul 03, 2023 at 03:20:31PM -0400, Olivier Dion wrote: [...] >> On x86-64 (gcc 13.1 -O2) we get: >> >> t0(): >> movl$1, x(%rip) >> movl$1, %eax >> xchgl dummy(%rip), %eax >> lock orq $0,

Re: [RFC] Bridging the gap between the Linux Kernel Memory Consistency Model (LKMM) and C11/C++11 atomics

2023-07-07 Thread Olivier Dion via Gcc
On Fri, 07 Jul 2023, Jonas Oberhauser wrote: [...] >> This is a request for comments on extending the atomic builtins API to >> help avoiding redundant memory barriers. Indeed, there are >> discrepancies between the Linux kernel consistency memory model (LKMM) >> and the C11/C++11 memory

Re: GCC 10.5 Released

2023-07-07 Thread Richard Stallman via Gcc
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Congratulations on the new release. May it be as boring as we hope. -- Dr Richard

gcc-12-20230707 is now available

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

[Bug c++/96638] [10/11/12/13/14 Regression] ICE in chainon, at tree.c:3169

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96638 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/96637] [9/10/11/12/13 Regression] ICE in tree check: expected tree_list, have error_mark in cp_check_const_attributes, at cp/decl2.c:1423

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96637 --- Comment #5 from Andrew Pinski --- *** Bug 96638 has been marked as a duplicate of this bug. ***

[Bug c++/96638] [10/11/12/13/14 Regression] ICE in chainon, at tree.c:3169

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96638 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #7 from

[Bug target/109874] [SH] GCC 13's -Os code is 50% bigger than GCC 4's

2023-07-07 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109874 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment #3

Re: [PATCH 1/3] testsuite: Add check for vectors of 128 bits being supported

2023-07-07 Thread Richard Biener via Gcc-patches
On Thu, Jul 6, 2023 at 11:36 PM Maciej W. Rozycki wrote: > > Similarly to checks for vectors of 32 bits and 64 bits being supported > add one for vectors of 128 bits. OK > gcc/testsuite/ > * lib/target-supports.exp (check_effective_target_vect128): New > procedure. > ---

Re: [PATCH] Break false dependence for vpternlog by inserting vpxor.

2023-07-07 Thread Hongtao Liu via Gcc-patches
On Thu, Jul 6, 2023 at 11:46 PM wrote: > > > +; False dependency happens on destination register which is not really > > +; used when moving all ones to vector register > > +(define_split > > + [(set (match_operand:VMOVE 0 "register_operand") > > + (match_operand:VMOVE 1

[Bug tree-optimization/67196] [11/12 Regression] loop-induced false positive from -Wmaybe-uninitialized

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67196 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.5 Known to fail|

[Bug tree-optimization/80635] [10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Richard Biener changed: What|Removed |Added Known to work||11.1.0 Known to fail|

[Bug c++/110581] New: Weird error message for returning from a [[noreturn]] function in constant evaluation

2023-07-07 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110581 Bug ID: 110581 Summary: Weird error message for returning from a [[noreturn]] function in constant evaluation Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/110581] Weird error message for returning from a [[noreturn]] function in constant evaluation

2023-07-07 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110581 --- Comment #1 from Jiang An --- > We should say something about `[[noreturn]]` insead superfluous `volatile`. should be > We should say something about `[[noreturn]]` instead of superfluous > `volatile`. Sorry for copy-pasta...

Re: [r14-2314 Regression] FAIL: gcc.target/i386/pr100711-2.c scan-assembler-times vpandn 8 on Linux/x86_64

2023-07-07 Thread Jan Beulich via Gcc-patches
On 07.07.2023 09:46, Hongtao Liu wrote: > On Fri, Jul 7, 2023 at 3:18 PM Jan Beulich via Gcc-regression > wrote: >> >> On 06.07.2023 13:57, haochen.jiang wrote: >>> On Linux/x86_64, >>> >>> e007369c8b67bcabd57c4fed8cff2a6db82e78e6 is the first bad commit >>> commit

Re: [r14-2310 Regression] FAIL: gcc.target/i386/pr53652-1.c scan-assembler-times pandn[ \\t] 2 on Linux/x86_64

2023-07-07 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 7, 2023 at 3:34 PM Jan Beulich wrote: > > On 07.07.2023 09:30, Hongtao Liu wrote: > > On Fri, Jul 7, 2023 at 3:13 PM Jan Beulich via Gcc-regression > > wrote: > >> > >> On 06.07.2023 13:57, haochen.jiang wrote: > >>> On Linux/x86_64, > >>> > >>>

[Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

Re: [PATCH] Vect: use a small step to calculate induction for the unrolled loop (PR tree-optimization/110449)

2023-07-07 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: >> Am 06.07.2023 um 19:50 schrieb Richard Sandiford : >> >> Richard Biener via Gcc-patches writes: On Wed, Jul 5, 2023 at 8:44 AM Hao Liu OS via Gcc-patches wrote: Hi, If a loop is unrolled by n times during vectoriation, two steps are

[Bug c++/84916] Tweaks to template type elision

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84916 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug c++/88565] enhance -Warray-bounds for C++ trailing class member arrays

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88565 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug target/88510] GCC generates inefficient U64x2/v2di scalar multiply for NEON32

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88510 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[PATCH] RISCV: Fix local_eliminate_vsetvl_insn bug in VSETVL PASS[PR110560]

2023-07-07 Thread Li Xu
This patch fixes this issue happens on GCC-13. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110560 This patch should be backported to GCC-13. GCC-14 has rewritten this function, so there is no issue. PR target/110560 gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc

[Bug c++/90215] [10 Regression] ICE with lambda in fold expression over comma and assignment

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90215 Richard Biener changed: What|Removed |Added Known to fail||10.3.0 Resolution|---

[Bug testsuite/92126] gcc.dg/vect/pr62171.c fails on power7

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92126 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

Re: [PATCH v4 4/9] MIPS: Add bitwise instructions for mips16e2

2023-07-07 Thread 梅杰
Hi, 在 2023/7/7 07:06, Jan-Benedict Glaw 写道: > Hi! > > On Mon, 2023-06-19 16:29:53 +0800, Jie Mei wrote: >> There are shortened bitwise instructions in the mips16e2 ASE, >> for instance, ANDI, ORI/XORI, EXT, INS etc. . >> >> This patch adds these instrutions with corresponding tests. > > [...]

[Bug testsuite/92310] New test case gcc.dg/vect/vect-epilogues.c introduced in r277659 fails

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92310 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug testsuite/92466] new test case gfortran.dg/ISO_Fortran_binding_15.f90 in r278025 fails

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92466 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug c/90658] [10/11/12/13 Regression] ICE in default_conversion, at c/c-typeck.c:2159

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90658 Andrew Pinski changed: What|Removed |Added Target Milestone|10.4|13.0

[Bug c/96546] [10/11/12/13/14 Regression] ICE in default_conversion

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96546 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/90658] [10/11/12/13 Regression] ICE in default_conversion, at c/c-typeck.c:2159

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90658 Andrew Pinski changed: What|Removed |Added CC||anbu1024.me at gmail dot com ---

Re: GGC: Remove 'const char *' 'gt_ggc_mx', 'gt_pch_nx' variants (was: [PATCH] support ggc hash_map and hash_set)

2023-07-07 Thread Richard Biener via Gcc-patches
On Thu, Jul 6, 2023 at 8:53 PM Thomas Schwinge wrote: > > Hi! > > On 2014-09-01T21:56:28-0400, tsaund...@mozilla.com wrote: > > [...] this part [...] > > ... became commit b086d5308de0d25444243f482f2f3d1dfd3a9a62 > (Subversion r214834), which added GGC support to 'hash_map', 'hash_set', > and

[PATCH] lto: bypass-asm: Fixed test(U*) used but never defined error.

2023-07-07 Thread Rishi Raj via Gcc-patches
>From 5151cf943987347edbc3707f08f0da8cd9f49f88 Mon Sep 17 00:00:00 2001 From: Rishi Raj Date: Fri, 7 Jul 2023 10:15:57 +0530 Subject: [PATCH] lto: Fixed test(U*) used but never defined error. This Patch fixes the error during bootstrapped build. Signed-off-by: Rishi Raj --- gcc/lto-object.cc

Re: [PATCH V2] [x86] Add pre_reload splitter to detect fp min/max pattern.

2023-07-07 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 7, 2023 at 2:02 PM Uros Bizjak via Gcc-patches wrote: > > On Fri, Jul 7, 2023 at 7:31 AM liuhongt wrote: > > > > > Please split the above pattern into two, one emitting UNSPEC_IEEE_MAX > > > and the other emitting UNSPEC_IEEE_MIN. > > Splitted. > > > > > The test involves blendv

Re: [PATCH 3/3] testsuite: Require vectors of doubles for pr97428.c

2023-07-07 Thread Richard Biener via Gcc-patches
On Thu, Jul 6, 2023 at 11:37 PM Maciej W. Rozycki wrote: > > The pr97428.c test assumes support for vectors of doubles, but some > targets only support vectors of floats, causing this test to fail with > such targets. Limit this test to targets that support vectors of > doubles then. OK. >

[Bug c++/110580] [14 Regression] gcc fails to typecheck nix-2.16.1 source: error: invalid initialization of reference of type

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110580 Richard Biener changed: What|Removed |Added Keywords||needs-bisection, |

[Bug target/106161] Dubious choice of optimization strategy

2023-07-07 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106161 Oleg Endo changed: What|Removed |Added Last reconfirmed||2023-07-07 CC|

[Bug c++/58354] variadic template ambiguous

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58354 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/59173] [11/12/13/14 Regression] Alias template in partial specialization finds name from primary template

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59173 Richard Biener changed: What|Removed |Added Summary|[10/11 Regression] Alias|[11/12/13/14 Regression]

[Bug c++/59173] [11/12/13/14 Regression] Alias template in partial specialization finds name from primary template

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59173 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.5

Re: [r14-2314 Regression] FAIL: gcc.target/i386/pr100711-2.c scan-assembler-times vpandn 8 on Linux/x86_64

2023-07-07 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 7, 2023 at 3:18 PM Jan Beulich via Gcc-regression wrote: > > On 06.07.2023 13:57, haochen.jiang wrote: > > On Linux/x86_64, > > > > e007369c8b67bcabd57c4fed8cff2a6db82e78e6 is the first bad commit > > commit e007369c8b67bcabd57c4fed8cff2a6db82e78e6 > > Author: Jan Beulich > > Date:

Re: [r14-2314 Regression] FAIL: gcc.target/i386/pr100711-2.c scan-assembler-times vpandn 8 on Linux/x86_64

2023-07-07 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 7, 2023 at 3:50 PM Hongtao Liu wrote: > > On Fri, Jul 7, 2023 at 3:50 PM Jan Beulich wrote: > > > > On 07.07.2023 09:46, Hongtao Liu wrote: > > > On Fri, Jul 7, 2023 at 3:18 PM Jan Beulich via Gcc-regression > > > wrote: > > >> > > >> On 06.07.2023 13:57, haochen.jiang wrote: > >

[Bug c++/67491] [meta-bug] concepts issues

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 85241, which changed state. Bug 85241 Summary: Requires-expressions, fold expressions, and member function templates with dependent parameters don't play nicely https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85241

[Bug c++/86355] [10 Regression] Internal compiler error with pack expansion and fold expression

2023-07-07 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86355 --- Comment #14 from Peter Dimov --- Should I open another bug for the failure to compile the original example?

[Bug fortran/87851] [10 Regression] Wrong return type for len_trim

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.3 Status|WAITING

[Bug fortran/87711] ICE in gfc_trans_transfer, at fortran/trans-io.c:2676

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87711 Bug 87711 depends on bug 87851, which changed state. Bug 87851 Summary: [10 Regression] Wrong return type for len_trim https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 What|Removed |Added

[Bug c++/87165] Did you mean hints candidates equality

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87165 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug c++/90807] Wrong debug message

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90807 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug c++/90926] [10 Regression] member char array with string literal initializer causes = {} to fail

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90926 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.0 Known to work|

[Bug other/91085] [11 only] fixincludes breaks

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.5 Summary|[10/11 only]

[Bug target/90822] Remove PowerPC lfiwax and lfiwzx patterns

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90822 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug ipa/92535] [10 regression] ICF is relatively expensive and became less effective

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92535 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.0 Known to fail|

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Keywords|

Re: [PATCH] vect: Fix vectorized BIT_FIELD_REF for signed bit-fields [PR110557]

2023-07-07 Thread Richard Biener via Gcc-patches
On Thu, Jul 6, 2023 at 6:18 PM Xi Ruoyao via Gcc-patches wrote: > > If a bit-field is signed and it's wider than the output type, we must > ensure the extracted result sign-extended. But this was not handled > correctly. > > For example: > > int x : 8; > long y : 55; > bool z : 1; >

[Bug rtl-optimization/55190] ivopts causes loop setup bloat

2023-07-07 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55190 --- Comment #12 from Oleg Endo --- (In reply to Oleg Endo from comment #0) > The following code: > > struct X > { > int a, b, c, d, e; > }; > > int test (X* x, unsigned int c) > { > int s = 0; > unsigned int i; > for (i = 0; i < c;

[Bug target/65649] gcc generates overlarge constants for microblaze-linux-gnu

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65649 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug c/63326] whether a #pragma is a statement depends on the type of pragma

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63326 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug target/61593] Support '#pragma mark - foo' on non-Darwin targets (by simply ignoring it without warning)

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61593 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug middle-end/78993] [11 Regression] False positive from -Wmaybe-uninitialized

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78993 Richard Biener changed: What|Removed |Added Known to fail||10.5.0 Target Milestone|10.5

Re: [r14-2310 Regression] FAIL: gcc.target/i386/pr53652-1.c scan-assembler-times pandn[ \\t] 2 on Linux/x86_64

2023-07-07 Thread Jan Beulich via Gcc-patches
On 07.07.2023 09:30, Hongtao Liu wrote: > On Fri, Jul 7, 2023 at 3:13 PM Jan Beulich via Gcc-regression > wrote: >> >> On 06.07.2023 13:57, haochen.jiang wrote: >>> On Linux/x86_64, >>> >>> 2d11c99dfca3cc603dbbfafb3afc41689a68e40f is the first bad commit >>> commit

[Bug c++/101603] [meta-bug] pointer to member functions issues

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 92752, which changed state. Bug 92752 Summary: [10 Regression] Bogus "ignored qualifiers" warning on const-qualified pointer-to-member-function objects https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92752

[Bug c++/92752] [10 Regression] Bogus "ignored qualifiers" warning on const-qualified pointer-to-member-function objects

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92752 Richard Biener changed: What|Removed |Added Known to work||10.5.0, 11.4.0

Re: [PATCH V2] [x86] Add pre_reload splitter to detect fp min/max pattern.

2023-07-07 Thread Uros Bizjak via Gcc-patches
On Fri, Jul 7, 2023 at 7:31 AM liuhongt wrote: > > > Please split the above pattern into two, one emitting UNSPEC_IEEE_MAX > > and the other emitting UNSPEC_IEEE_MIN. > Splitted. > > > The test involves blendv instruction, which is SSE4.1, so it is > > pointless to test it without -msse4.1.

[Bug c++/16994] [meta-bug] VLA and C++

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 58646, which changed state. Bug 58646 Summary: [10/11 Regression] ICE on a multidimensional VLA with an empty initializer list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58646 What|Removed

[Bug c++/58646] [10/11 Regression] ICE on a multidimensional VLA with an empty initializer list

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58646 Richard Biener changed: What|Removed |Added Known to fail||10.5.0 Target Milestone|10.5

Re: [PATCH 2/3] testsuite: Require 128-bit vectors for bb-slp-pr95839.c

2023-07-07 Thread Richard Biener via Gcc-patches
On Thu, Jul 6, 2023 at 11:37 PM Maciej W. Rozycki wrote: > > The bb-slp-pr95839.c test assumes quad-single float vector support, but > some targets only support pairs of floats, causing this test to fail > with such targets. Limit this test to targets that support at least > 128-bit vectors

Re: [r14-2310 Regression] FAIL: gcc.target/i386/pr53652-1.c scan-assembler-times pandn[ \\t] 2 on Linux/x86_64

2023-07-07 Thread Jan Beulich via Gcc-patches
On 06.07.2023 13:57, haochen.jiang wrote: > On Linux/x86_64, > > 2d11c99dfca3cc603dbbfafb3afc41689a68e40f is the first bad commit > commit 2d11c99dfca3cc603dbbfafb3afc41689a68e40f > Author: Jan Beulich > Date: Wed Jul 5 09:41:09 2023 +0200 > > x86: use VPTERNLOG also for certain andnot

Re: [PATCH] RISCV: Fix local_eliminate_vsetvl_insn bug in VSETVL PASS[PR110560]

2023-07-07 Thread juzhe.zh...@rivai.ai
LGTM. Thanks. juzhe.zh...@rivai.ai From: Li Xu Date: 2023-07-07 16:22 To: gcc-patches CC: kito.cheng; palmer; juzhe.zhong; zhengyu; Li Xu Subject: [PATCH] RISCV: Fix local_eliminate_vsetvl_insn bug in VSETVL PASS[PR110560] This patch fixes this issue happens on GCC-13.

[Bug debug/90674] [10 Regression] ICE in gen_subprogram_die

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90674 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/90748] [10 Regression] ICE in tsubst_copy, at cp/pt.c:15564

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90748 Richard Biener changed: What|Removed |Added Known to fail||10.5.0 Resolution|---

[PING][PATCH] tree-optimization/110279- Check for nested FMA chains in reassoc

2023-07-07 Thread Di Zhao OS via Gcc-patches
Update the patch so it can apply. Tested on spec2017 fprate cases again. With option "-funroll-loops -Ofast -flto", the improvements of 1-copy run are: Ampere1: 508.namd_r 4.26% 510.parest_r2.55% Overall 0.54% Intel Xeon: 503.bwaves_r1.3%

[Bug c++/91706] [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in equate_type_number_to_die, at dwarf2out.c:5782

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91706 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to fail|

[Bug target/91710] [10 Regression] unexpected ABI change note since r9-5650

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91710 Richard Biener changed: What|Removed |Added Known to fail||10.5.0 Target Milestone|10.5

[Bug target/65162] [10/11/12/13/14 Regression][SH] Redundant tests when storing bswapped T bit result in unaligned mem

2023-07-07 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65162 --- Comment #13 from Oleg Endo --- (In reply to Oleg Endo from comment #1) > (In reply to Oleg Endo from comment #0) > > The following example is taken from libav, which contains quite some uses of > > this code pattern. > > > > typedef

[Bug c++/69410] [10/11 Regression] friend declarations in local classes

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69410 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.4 Known to work|

Re: [r14-2310 Regression] FAIL: gcc.target/i386/pr53652-1.c scan-assembler-times pandn[ \\t] 2 on Linux/x86_64

2023-07-07 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 7, 2023 at 3:13 PM Jan Beulich via Gcc-regression wrote: > > On 06.07.2023 13:57, haochen.jiang wrote: > > On Linux/x86_64, > > > > 2d11c99dfca3cc603dbbfafb3afc41689a68e40f is the first bad commit > > commit 2d11c99dfca3cc603dbbfafb3afc41689a68e40f > > Author: Jan Beulich > > Date:

[Bug c++/71740] [10 Regression] ICE when defining a pointer to the `memcpy()` function with namespace scope using `auto` or as a template argument targeting i686

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71740 Richard Biener changed: What|Removed |Added Known to fail||10.5.0 Target Milestone|10.5

[Bug fortran/71703] [11 Regression] [OOP] ICE in wide_int_to_tree, at tree.c:1488

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71703 Richard Biener changed: What|Removed |Added Known to fail||11.4.0 Target Milestone|10.5

[Bug libstdc++/101583] [12 Regression] error: use of deleted function when building gold

2023-07-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com ---

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 80635, which changed state. Bug 80635 Summary: [10 regression] std::optional and bogus -Wmaybe-uninitialized warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 What|Removed

[Bug c/80806] gcc does not warn if local array is memset only

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80806 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[Bug tree-optimization/84577] snprintf with null buffer not eliminated when return value is in a known range

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84577 Richard Biener changed: What|Removed |Added Target Milestone|10.5|---

[PATCH] doc: Document arm_v8_1m_main_cde_mve_fp

2023-07-07 Thread Christophe Lyon via Gcc-patches
The arm_v8_1m_main_cde_mve_fp family of effective targets was not documented when it was introduced. 2023-07-07 Christophe Lyon gcc/ * doc/sourcebuild.texi (arm_v8_1m_main_cde_mve_fp): Document. --- gcc/doc/sourcebuild.texi | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH] testsuite: Add _link flavor for several arm_arch* and arm* effective-targets

2023-07-07 Thread Christophe Lyon via Gcc-patches
For arm targets, we generate many effective-targets with check_effective_target_FUNC_multilib and check_effective_target_arm_arch_FUNC_multilib which check if we can link and execute a simple program with a given set of flags/multilibs. In some cases however, it's possible to link but not to

[Bug middle-end/82739] [10 Regression] Sort is 30% slower compared to gcc44 on presorted array

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82739 Richard Biener changed: What|Removed |Added Known to work||11.1.0 Resolution|---

[COMMITTED] Implement value/mask tracking for irange.

2023-07-07 Thread Aldy Hernandez via Gcc-patches
Integer ranges (irange) currently track known 0 bits. We've wanted to track known 1 bits for some time, and instead of tracking known 0 and known 1's separately, it has been suggested we track a value/mask pair similarly to what we do for CCP and RTL. This patch implements such a thing. With

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

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85099 Bug 85099 depends on bug 85409, which changed state. Bug 85409 Summary: [10 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 What|Removed |Added

[Bug rtl-optimization/85409] [10 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.0 Known to work|

[COMMITTED] The caller to irange::intersect (wide_int, wide_int) must normalize the range.

2023-07-07 Thread Aldy Hernandez via Gcc-patches
Per the function comment, the caller to intersect(wide_int, wide_int) must handle the mask. This means it must also normalize the range if anything changed. gcc/ChangeLog: * value-range.cc (irange::intersect): Leave normalization to caller. --- gcc/value-range.cc | 7 +-- 1

RE: [r14-2314 Regression] FAIL: gcc.target/i386/pr100711-2.c scan-assembler-times vpandn 8 on Linux/x86_64

2023-07-07 Thread Jiang, Haochen via Gcc-patches
> -Original Message- > From: Hongtao Liu > Sent: Friday, July 7, 2023 3:55 PM > To: Beulich, Jan > Cc: haochen.jiang ; Jiang, Haochen > ; gcc-regress...@gcc.gnu.org; gcc- > patc...@gcc.gnu.org; Liu, Hongtao > Subject: Re: [r14-2314 Regression] FAIL: gcc.target/i386/pr100711-2.c scan- >

  1   2   3   4   5   6   7   8   9   10   >