[Bug c++/101998] false positive: taking address of rvalue

2021-08-20 Thread peciva at fit dot vut.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101998 --- Comment #2 from Jan Pečiva --- I see. Thanks!

[Bug analyzer/101980] [12 regressions] many test case failures after r12-3002

2021-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101980 --- Comment #2 from CVS Commits --- The master branch has been updated by Ankur saini : https://gcc.gnu.org/g:e92d0ff6b5e6d4b95c04fc3e326d40efeb136086 commit r12-3052-ge92d0ff6b5e6d4b95c04fc3e326d40efeb136086 Author: Ankur Saini Date: Thu A

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os

2021-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 --- Comment #4 from Andrew Pinski --- Note I suspect it is r9-3594 is what makes the difference here. Also this is just very fragile really.

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os

2021-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 --- Comment #3 from Andrew Pinski --- REG_RETURNED is no longer there. Looks like there is an extra move which caused the code to be different. For aarch64 we have: (insn 18 4 2 2 (set (reg:DI 94) (reg:DI 0 x0 [ foo ])) "/app/example.c

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os

2021-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-21 Target|arm

[Bug c++/102002] spec requires typename can be dropped when used as template function return type consisting of template parameter which is at global scope

2021-08-20 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102002 --- Comment #2 from qingzhe huang --- Thank you and my apology.

[Bug target/99410] Nios II Error: branch offset out of range

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 --- Comment #7 from Giulio Benetti --- Created attachment 51339 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51339&action=edit Pre-processed belle_sip_messageParser.c(belle_sip_messageParser.s)

[Bug libstdc++/80196] fenv_t not declared

2021-08-20 Thread gr.audio at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80196 --- Comment #14 from Guillaume --- OK, this patch fixes it for me as well.

[Bug target/99410] Nios II Error: branch offset out of range

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 --- Comment #6 from Giulio Benetti --- Created attachment 51338 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51338&action=edit Pre-processed belle_sip_messageParser.c(belle_sip_messageParser.i)

[Bug target/99410] Nios II Error: branch offset out of range

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 --- Comment #5 from Giulio Benetti --- Disabling parallel build it turns out that the file where it hangs is: src/grammars/belle_sip_messageParser.c So I'm going to add .i and .s attachments for it.

[Bug target/99410] Nios II Error: branch offset out of range

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 --- Comment #4 from Giulio Benetti --- It's not git package but belle-sip package that fails to build. I'm going to add .i and .s file soon.

[Bug libstdc++/80196] fenv_t not declared

2021-08-20 Thread bneumeier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80196 Brett Neumeier changed: What|Removed |Added CC||bneumeier at gmail dot com --- Comment

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os

2021-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 Andrew Pinski changed: What|Removed |Added Known to work||8.2.0 Known to fail|

[Bug debug/99090] gsplit-dwarf broken on riscv64-linux

2021-08-20 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99090 Bug 99090 depends on bug 91602, which changed state. Bug 91602 Summary: GCC fails to build for riscv in a combined tree due to misconfigured leb128 support https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602 What|Removed

[Bug target/91602] GCC fails to build for riscv in a combined tree due to misconfigured leb128 support

2021-08-20 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602 Serge Belyshev changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/91602] GCC fails to build for riscv in a combined tree due to misconfigured leb128 support

2021-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602 --- Comment #16 from CVS Commits --- The master branch has been updated by Sergey Belyshev : https://gcc.gnu.org/g:7cad8a8f9f7bfa8e98f6a0615541f589fd1d3fc1 commit r12-3047-g7cad8a8f9f7bfa8e98f6a0615541f589fd1d3fc1 Author: Serge Belyshev Date:

[Bug target/101882] modulus with input and output set to a hard register

2021-08-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #3 from Segher Boessenkool --- (In reply to Marek Polacek from comment #2) > Assignee present -> ASSIGNED. Hrm, this used to work automatically when you press "take"? What changed?

[Bug fortran/101997] [9 regression] ICE after r9-8665 at gcc/toplev.c:326

2021-08-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101997 --- Comment #1 from anlauf at gcc dot gnu.org --- Can you get more details on where the buffer overflow actually occurs? I cannot reproduce it on x86_64-pc-linux-gnu even running f951 under valgrind. The original testcase in pr95091 would have I

[Bug c/101964] using scanf makes compiler never terminate

2021-08-20 Thread mateusmoraisdias3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101964 --- Comment #4 from Mateus Morais Dias de Souza --- I figured it out. My build script was something like this: ```bash set -e gcc main.c -o main ./main ``` for some reason gcc was not warning about my unseen error, then it ran the program (becau

[Bug fortran/102003] New: [PDT] Length of character component not simplified

2021-08-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102003 Bug ID: 102003 Summary: [PDT] Length of character component not simplified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug target/101882] modulus with input and output set to a hard register

2021-08-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug go/101994] go1: internal compiler error: in return_statement, at go/go-gcc.cc:2318

2021-08-20 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101994 Ian Lance Taylor changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/83022] malloc & memset -> calloc is not always an optimization

2021-08-20 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83022 --- Comment #6 from Fangrui Song --- The issue succeeded to waste some time of MySQL developers BTW: http://smalldatum.blogspot.com/2017/11/a-new-optimization-in-gcc-5x-and-mysql.html

[Bug tree-optimization/83022] malloc & memset -> calloc is not always an optimization

2021-08-20 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83022 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #5 from F

[Bug target/101916] SH4 ICE: Segmentation fault signal terminated program cc1

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101916 --- Comment #3 from Giulio Benetti --- Created attachment 51337 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51337&action=edit Pre-processed mime.c(mime.s) Here is the assembler file too.

[Bug target/101915] Microblaze ICE: in extract_insn, at recog.c:2770

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101915 --- Comment #5 from Giulio Benetti --- Created attachment 51336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51336&action=edit Pre-processed par_ops.c(par_ops.s) Here is the assembler file too.

[Bug target/101952] SH4 ICE: Error: unaligned opcodes detected in executable segment

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101952 --- Comment #3 from Giulio Benetti --- Created attachment 51335 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51335&action=edit Pre-processed btDantzigLCP.cpp(btDantzigLCP.s) Here is the assembler file too.

[Bug target/101952] SH4 ICE: Error: unaligned opcodes detected in executable segment

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101952 --- Comment #2 from Giulio Benetti --- Created attachment 51334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51334&action=edit Pre-processed btDantzigLCP.cpp(btDantzigLCP.ii) As suggested by Thomas here is pre-processed btDantzigLCP.cpp

[Bug target/101915] Microblaze ICE: in extract_insn, at recog.c:2770

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101915 --- Comment #4 from Giulio Benetti --- Created attachment 51333 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51333&action=edit Pre-processed par_ops.c(par_ops.i) As suggested by Thomas here is pre-processed par_ops.c(par_ops.i) to help

[Bug target/101922] mips: illegal instruction at -O3 with -mmsa -mloongson-mmi

2021-08-20 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101922 Xi Ruoyao changed: What|Removed |Added Keywords||patch --- Comment #3 from Xi Ruoyao --- Pa

[Bug target/101916] SH4 ICE: Segmentation fault signal terminated program cc1

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101916 --- Comment #2 from Giulio Benetti --- Created attachment 51332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51332&action=edit Pre-processed mime.c(mime.i) Here is preprocessed mime.c file(mime.i) to help you fix the bug. Hope this is e

[Bug target/101971] M68k: ICE: Tried to convert PC relative branch to absolute jump

2021-08-20 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101971 Giulio Benetti changed: What|Removed |Added CC||thomas.petazzoni@free-elect

[Bug c++/102002] spec requires typename can be dropped when used as template function return type consisting of template parameter which is at global scope

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

[Bug tree-optimization/86723] not optimizing with bswap, that casts to int aftwards

2021-08-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86723 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c/101999] strdup on `gcc -std=c99` gives segfault

2021-08-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101999 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/102002] New: spec requires typename can be dropped when used as template function return type consisting of template parameter which is at global scope

2021-08-20 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102002 Bug ID: 102002 Summary: spec requires typename can be dropped when used as template function return type consisting of template parameter which is at global scope Product:

[Bug target/101876] [s390x] vector builtin vec_permi fails to resolve with #pragma GCC target

2021-08-20 Thread mhillen at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101876 --- Comment #4 from Marius Hillenbrand --- *** Bug 101877 has been marked as a duplicate of this bug. ***

[Bug target/101877] [s390x] ICE: canonical types differ for identical types when #pragma GCC target enables vector support

2021-08-20 Thread mhillen at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101877 Marius Hillenbrand changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCON

[Bug target/101876] [s390x] vector builtin vec_permi fails to resolve with #pragma GCC target

2021-08-20 Thread mhillen at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101876 --- Comment #3 from Marius Hillenbrand --- The issue is caused by inconsistent alignment of vector_types between the types (a) expected or returned by builtin functions and (b) the typedef in the example code. In the failing cases, there's a mis

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4 since r8-2701-g9dc3d6a96167b4c8

2021-08-20 Thread dumoulin.thibaut at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 --- Comment #5 from Thibaut M. --- Thanks Martin! Do you think it can be patched?

[Bug c++/102000] Defaulted consteval default constructor that performs no initialization is not rejected

2021-08-20 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102000 --- Comment #1 from Johel Ernesto Guerrero Peña --- Can https://bugs.llvm.org/show_bug.cgi?id=51560 be fixed as part of this?

[Bug libstdc++/102001] New: Consider using CLOCK_MONOTONIC_RAW for chrono::steady_clock

2021-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102001 Bug ID: 102001 Summary: Consider using CLOCK_MONOTONIC_RAW for chrono::steady_clock Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug target/101922] mips: illegal instruction at -O3 with -mmsa -mloongson-mmi

2021-08-20 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101922 --- Comment #2 from Xi Ruoyao --- A "legal" testcase w/o UB (and may have some usage in practice): typedef __INT8_TYPE__ i8; typedef __INT32_TYPE__ i32; i8 d[16]; i32 f(i32 x) { int i; for (i = 0; i < 16; i++) { __INT32_TYPE__ t = (__

[Bug c++/97566] [[no_unique_address]] causes miscompiles when mixed with EBO in constexpr context

2021-08-20 Thread soap at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97566 David Seifert changed: What|Removed |Added CC||soap at gentoo dot org --- Comment #7 fr

[Bug c++/102000] Defaulted consteval default constructor that performs no initialization is not rejected

2021-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102000 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/102000] New: Defaulted consteval default constructor that performs no initialization is not rejected

2021-08-20 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102000 Bug ID: 102000 Summary: Defaulted consteval default constructor that performs no initialization is not rejected Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/101998] false positive: taking address of rvalue

2021-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101998 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/101999] New: strdup on `gcc -std=c99` gives segfault

2021-08-20 Thread piertoni at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101999 Bug ID: 101999 Summary: strdup on `gcc -std=c99` gives segfault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/101998] New: false positive: taking address of rvalue

2021-08-20 Thread peciva at fit dot vut.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101998 Bug ID: 101998 Summary: false positive: taking address of rvalue Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4 since r8-2701-g9dc3d6a96167b4c8

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 Martin Liška changed: What|Removed |Added Target|arm |arm, x86_64 Status|ASSIGNED

[Bug libstdc++/90787] filesystem tests fail if file permissions are not supported

2021-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90787 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.4 --- Comment #4 from Jonathan Wake

[Bug libstdc++/90787] filesystem tests fail if file permissions are not supported

2021-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90787 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:29b2fd371f18169141e20b90effa7205db68fb11 commit r12-3045-g29b2fd371f18169141e20b90effa7205db68fb11 Author: Jonathan Wakely Date:

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/101764] ICE for constexpr if within fold expression within lambda expression within a template

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

[Bug middle-end/101996] libatomic: RISC-V 64: Infinite recursion in __atomic_compare_exchange_1

2021-08-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101996 --- Comment #1 from Andreas Schwab --- Worksforme: 29ae <__atomic_compare_exchange_1@@LIBATOMIC_1.0>: 29ae: 0ffffence 29b2: 0005c683lbu a3,0(a1) 29b6: ff857893

[Bug fortran/101997] New: [9 regression] ICE after r9-8665 at gcc/toplev.c:326

2021-08-20 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101997 Bug ID: 101997 Summary: [9 regression] ICE after r9-8665 at gcc/toplev.c:326 Product: gcc Version: 9.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-08-20 Ever confirmed|0

[Bug middle-end/101996] New: libatomic: RISC-V 64: Infinite recursion in __atomic_compare_exchange_1

2021-08-20 Thread bqq3z3afgj at bcco4 dot anonbox.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101996 Bug ID: 101996 Summary: libatomic: RISC-V 64: Infinite recursion in __atomic_compare_exchange_1 Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: norm

[Bug debug/101905] [9/10/11/12 Regression] Missed debug information for global register variable

2021-08-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 --- Comment #9 from rguenther at suse dot de --- On Fri, 20 Aug 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 > > Jakub Jelinek changed: > >What|Removed |Added

[Bug tree-optimization/101993] Potential vectorization opportunity when condition checks array address

2021-08-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 --- Comment #3 from rguenther at suse dot de --- On Fri, 20 Aug 2021, wwwhhhyyy333 at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 > > --- Comment #2 from Hongyu Wang --- > (In reply to Richard Biener from commen

[Bug middle-end/101995] regression built-in memset missed-optimization arm -Os

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 Richard Biener changed: What|Removed |Added Component|c |middle-end Keywords|

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4

2021-08-20 Thread dumoulin.thibaut at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 --- Comment #2 from Thibaut M. --- I'm not sure to understand your statement. It looks like the switch lowering is wrong here because it takes now more time with the new GCC than the previous one. Is looks like a regression.

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 --- Comment #13 from Richard Biener --- When modref claims that bar doesn't write to 'fn' that confuses IPA PTA since internally it treats calling a function as "writing" to the argument space of all functions the function pointer points to. I'

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 --- Comment #12 from Richard Biener --- > cat gcc/testsuite/gcc.dg/lto/pr101949_0.c /* { dg-lto-do run } */ /* { dg-lto-options { "-O2 -fipa-pta -flto -flto-partition=1to1" } } */ extern int bar (int (*)(int *), int *); static int x; static i

[Bug target/95962] Inefficient code for simple arm_neon.h iota operation

2021-08-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95962 --- Comment #2 from rsandifo at gcc dot gnu.org --- (In reply to Tamar Christina from comment #1) > We generate the correct code at -O3 but not -O2. > > At -O3 we generate > > foo: > adrpx0, .LC0 > sub sp, sp, #16 >

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 --- Comment #11 from Martin Liška --- Created attachment 51329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51329&action=edit LTRANS IPA PTA dump - bad

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 --- Comment #10 from Martin Liška --- Created attachment 51328 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51328&action=edit LTRANS IPA PTA dump - good

[Bug target/95964] AArch64 arm_neon.h arithmetic functions lack appropriate attributes

2021-08-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95964 --- Comment #5 from rsandifo at gcc dot gnu.org --- There are some lingering aarch64-simd-builtins.def entries that use “, ALL”, so I think we should keep this open until they've all been converted. The testcase was just an example, rather than

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 --- Comment #9 from Martin Liška --- All right, so I investigated more, with a new dbg counter in gimple_call_arg_flags the following flags are updated: combine: flags=0, modref_flags=0 # .MEM_817 = VDEF <.MEM_816> _35 = check_connected (iterat

[Bug fortran/100950] ICE in output_constructor_regular_field, at varasm.c:5514

2021-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100950 --- Comment #13 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:12f22906d3c025e7edb60e3264dc9cd27a49e3e1 commit r12-3043-g12f22906d3c025e7edb60e3264dc9cd27a49e3e1 Author: Harald Anlauf Date:

[Bug debug/101905] [9/10/11/12 Regression] Missed debug information for global register variable

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

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-20 Thread boris2.9 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 Boris Carvajal changed: What|Removed |Added CC||boris2.9 at gmail dot com --- Comment

[Bug tree-optimization/96481] SLP fail to vectorize VEC_COND_EXPR pattern.

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96481 --- Comment #6 from Richard Biener --- double a[2]; typedef double v2df __attribute__((vector_size(16))); void foo (v2df x, v2df y, v2df z, v2df w) { double a0, a1; a0 = x[0] < y[0] ? z[0] : w[0]; a1 = x[1] < y[1] ? z[1] : w[1]; a[0] = a0

[Bug tree-optimization/101993] Potential vectorization opportunity when condition checks array address

2021-08-20 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 --- Comment #2 from Hongyu Wang --- (In reply to Richard Biener from comment #1) > We can vectorize this with masked moves when using AVX2. clang seems to > simply remove the test completely - C seems to guarantee that a + i is a > valid pointe

[Bug c/101995] New: regression built-in memset missed-optimization arm -Os

2021-08-20 Thread dumoulin.thibaut at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 Bug ID: 101995 Summary: regression built-in memset missed-optimization arm -Os Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug tree-optimization/96481] SLP fail to vectorize VEC_COND_EXPR pattern.

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96481 --- Comment #5 from Richard Biener --- so one interesting speciality of this testcase is that the ifs switch between two scalar values and overall there's no control flow effect. That is, for the issue of splitting the dataref groups which we cu

[Bug c++/61105] [constexpr] accepts-invalid with new-expression in constant expression

2021-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61105 --- Comment #9 from Jonathan Wakely --- Richard's comment 0 testcase gives an error since r238909 (as Martin noted). Martin's comment 6 testcase gives an error since r12-388: c++: Remove GCC12 FIXME for DR1312 This patch removes a FIXM

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 Jonathan Wakely changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comme

[Bug tree-optimization/101993] Potential vectorization opportunity when condition checks array address

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/101991] bit_and or bit_ior with an invariant inside loop is not pulled out of the loop

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101991 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug go/101994] go1: internal compiler error: in return_statement, at go/go-gcc.cc:2318

2021-08-20 Thread lebedev.k.m at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101994 --- Comment #1 from Konstantin Lebedev --- go build -gccgoflags "-v" # github.com/chrislusf/seaweedfs/weed/storage/needle_map Using built-in specs. COLLECT_GCC=/usr/local/bin/gccgo Target: x86_64-linux-gnu Configured with: /usr/src/gcc/configure

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 Richard Biener changed: What|Removed |Added Component|c |target Target|cortex-m4

[Bug go/101994] New: go1: internal compiler error: in return_statement, at go/go-gcc.cc:2318

2021-08-20 Thread lebedev.k.m at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101994 Bug ID: 101994 Summary: go1: internal compiler error: in return_statement, at go/go-gcc.cc:2318 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: norm

[Bug analyzer/101980] [12 regressions] many test case failures after r12-3002

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101980 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug target/101935] [12 Regression] 538.imagick_r LTO -Ofast regression on Zen2 and Kabylake caused by r12-2666-g29f0e955c97

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101935 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/101935] [12 Regression] 538.imagick_r LTO -Ofast regression on Zen2 and Kabylake caused by r12-2666-g29f0e955c97

2021-08-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101935 --- Comment #1 from Hongtao.liu --- We can reproduce it on our local znver2 and skylake client.

[Bug target/95566] x86 instruction selection --- some REX prefixes unnecessary

2021-08-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95566 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #2 f

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 Martin Liška changed: What|Removed |Added Known to fail||11.2.0 Known to work|

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #25 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:b777f228b481ae881a7fbb09de367a053740932c commit r12-3038-gb777f228b481ae881a7fbb09de367a053740932c Author: Martin Liska Date: Tue

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #24 from Martin Liška --- > Correct, but `--help` and `--version` are formatted for humans, not machines. > This can lead to false positives or negatives. It forces every application > that > calls gcov and wants to support wide rang

[Bug sanitizer/101978] thread sanitizer false positive when condition variable

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101978 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/101984] [12 Regression] gimple-ssa-warn-access memory leak

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101984 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/101990] [12 Regression] ICE after parse error with concepts

2021-08-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2