[Bug middle-end/104446] [9/10/11/12 Regression] ICE in trunc_int_for_mode, at explow.cc:59 since r9-6999

2022-02-09 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104446 --- Comment #5 from Segher Boessenkool --- This testcase is invalid code of course, so anything can happen. ICEs are bad though ;-) Please add to the comment that you don't want this substitution because it leads to ICEs, and mention the PR #

[Bug rtl-optimization/102178] [12 Regression] SPECFP 2006 470.lbm regressions on AMD Zen CPUs after r12-897-gde56f95afaaa22

2022-02-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102178 --- Comment #29 from Richard Biener --- (In reply to Vladimir Makarov from comment #28) > Could somebody benchmark the following patch on zen2 470.lbm. > > diff --git a/gcc/lra-constraints.cc b/gcc/lra-constraints.cc > index 9cee17479ba..76619a

[Bug tree-optimization/104479] [12 Regression] cond_op is combined without considering single_use

2022-02-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104479 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 CC|

[Bug c++/104476] [10/11/12 Regression] using-decl shadowed by member function when in incomplete-class context

2022-02-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104476 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #4 from Richard Biener

[Bug target/104469] ICE: in extract_insn, at recog.cc:2769 (unrecognizable insn) with -mavx and __builtin_convertvector()

2022-02-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104469 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c/104468] with -O -g, quadratic compile time of function with __attribute__(("00")) that passes large structs by value

2022-02-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104468 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #

[Bug tree-optimization/104479] New: [12 Regression] cond_op is combined without considering single_use

2022-02-09 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104479 Bug ID: 104479 Summary: [12 Regression] cond_op is combined without considering single_use Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-opti

[Bug c++/104470] internal compiler error: Segmentation fault compiling std::variant with -std=c++20

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104470 --- Comment #2 from Andrew Pinski --- here is the full backtrace: In file included from t.cc:2: /home/apinski/upstream-gcc/include/c++/12.0.1/variant: In substitution of ‘template template using __accepted_type = std::variant<_Types>::__to_type<

[Bug tree-optimization/100038] -Warray-bound triggers false positives

2022-02-09 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038 James Y Knight changed: What|Removed |Added CC||foom at fuhm dot net --- Comment #8 fr

[Bug target/104455] Cannot select -march=armv7-a using GCC 11

2022-02-09 Thread noloader at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104455 --- Comment #2 from Jeffrey Walton --- (In reply to Richard Earnshaw from comment #1) > What's the configuration of the compiler? Eg, the output of gcc -v Thanks Richard. I set-up a Debian Qemu/Chroot for armhf. I can now duplicate the problem

[Bug rtl-optimization/104438] Combine optimization opportunity exposed after pro_and_epilogue

2022-02-09 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104438 Hongtao.liu changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug rtl-optimization/104438] Combine optimization opportunity exposed after pro_and_epilogue

2022-02-09 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104438 Hongtao.liu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/104470] internal compiler error: Segmentation fault compiling std::variant with -std=c++20

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104470 --- Comment #1 from Andrew Pinski --- >When I switch to c++17 mode compiler does not crash. yes because C++17 does not support deduction of template arguments of template alias's while C++20 does. Note clang does not implement that yet.

[Bug target/104474] [12 Regression] ICE: in output_constant_pool_2, at varasm.cc:4062 with -mcpu=neoverse-512tvb -msve-vector-bits=512

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104474 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/104474] [12 Regression] ICE: in output_constant_pool_2, at varasm.cc:4062 with -mcpu=neoverse-512tvb -msve-vector-bits=512

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104474 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:41582f88ec01c5ce2f85ebc4ac2743eb426d6e33 commit r12-7159-g41582f88ec01c5ce2f85ebc4ac2743eb426d6e33 Author: Andrew Pinski Date: We

[Bug target/104451] [9/10/11/12 Regression] ICE: in emit_move_insn, at expr.cc:4010 with -O -mxop -mavx512f

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104451 Andrew Pinski changed: What|Removed |Added Known to work||10.3.1, 11.2.1, 12.0, 9.4.1

[Bug c++/104476] [10/11/12 Regression] using-decl shadowed by member function when in incomplete-class context

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104476 Andrew Pinski changed: What|Removed |Added Target Milestone|11.3|10.4

[Bug tree-optimization/104475] [12 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-02-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Last reconfi

[Bug target/104469] ICE: in extract_insn, at recog.cc:2769 (unrecognizable insn) with -mavx and __builtin_convertvector()

2022-02-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104469 Uroš Bizjak changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug analyzer/104224] Testcases for analyzer "uninit" from fedora-devel

2022-02-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104224 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/104458] [11/12 Regression] ICE: SIGSEGV in gen_udivmodhiqi3 -> copy_rtx with -O1 -m8bit-idiv

2022-02-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104458 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|11.3

[Bug target/104462] ICE: in extract_constrain_insn_cached, at recog.cc:2682 with -mavx512fp16 -mno-xsave

2022-02-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104462 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |11.4 Status|ASSIGNED

[Bug target/104458] [11/12 Regression] ICE: SIGSEGV in gen_udivmodhiqi3 -> copy_rtx with -O1 -m8bit-idiv

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104458 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:983b7bcdd048650b193aad6018042b21626b89eb commit r10-10444-g983b7bcdd048650b193aad6018042b21626b89eb Author: Uros Bizjak Dat

[Bug target/104462] ICE: in extract_constrain_insn_cached, at recog.cc:2682 with -mavx512fp16 -mno-xsave

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104462 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:f8a496d7a28c3dda868c201621b001825ea6cef9 commit r11-9549-gf8a496d7a28c3dda868c201621b001825ea6cef9 Author: Uros Bizjak Date

[Bug target/104458] [11/12 Regression] ICE: SIGSEGV in gen_udivmodhiqi3 -> copy_rtx with -O1 -m8bit-idiv

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104458 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:11fc7d98a25128d016b8f6f453c193878faf2570 commit r11-9548-g11fc7d98a25128d016b8f6f453c193878faf2570 Author: Uros Bizjak Date

[Bug go/104290] [12 Regression] trunk 20220126 fails to build libgo on i686-gnu

2022-02-09 Thread svante.signell at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290 --- Comment #8 from Svante Signell --- > If you make all-target-libgo all dependencies are respected. Sorry but that is not how things work: all-target-libgo: maybe-all-target-libffi is outside any conditionals, but all-target-libgo: maybe-all

[Bug fortran/66193] ICE for initialisation of some non-zero-sized arrays

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193 --- Comment #20 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f3ffea93ef31c03ad8cdcb54e71ec868b57b264f commit r12-7153-gf3ffea93ef31c03ad8cdcb54e71ec868b57b264f Author: Harald Anlauf Date: S

[Bug fortran/77693] ICE in rtl_for_decl_init, at dwarf2out.c:17378

2022-02-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu.

[Bug analyzer/103658] missing -Wanalyzer-use-of-uninitialized-value at -O1 and below for an array access

2022-02-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103658 David Malcolm changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug analyzer/103658] missing -Wanalyzer-use-of-uninitialized-value at -O1 and below for an array access

2022-02-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103658 --- Comment #2 from David Malcolm --- Note that with -fno-analyzer-state-merge, -fanalyzer warns without optimization and shows the conditionals you hoped to see: ./xgcc -B. -S -fanalyzer /tmp/foo.c -fno-analyzer-state-merge /tmp/foo.c: In fun

[Bug libstdc++/104443] common_iterator::operator-> is not correctly implemented

2022-02-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104443 --- Comment #1 from Jonathan Wakely --- On further reflection, I'm not convinced the standard really intends to make the pointer type a reference. That's weird. Returning a pointer as a pointer makes a lot more sense.

[Bug c++/104476] [10/11/12 Regression] using-decl shadowed by member function when in incomplete-class context

2022-02-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104476 Patrick Palka changed: What|Removed |Added Summary|[11/12 Regression] |[10/11/12 Regression]

[Bug libstdc++/104442] atomic::wait incorrectly loops in case of spurious notification when __waiter is shared

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104442 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:5669a60e2fcc90afaa16fe20391cdcf18ab398d7 commit r11-9547-g5669a60e2fcc90afaa16fe20391cdcf18ab398d7 Author: Thomas Rodgers

[Bug libstdc++/104442] atomic::wait incorrectly loops in case of spurious notification when __waiter is shared

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104442 --- Comment #5 from CVS Commits --- The master branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:4cf3c339815cdfa636b25a512f91b63d7c313fd6 commit r12-7151-g4cf3c339815cdfa636b25a512f91b63d7c313fd6 Author: Thomas Rodgers Date:

[Bug c++/104476] [11/12 Regression] using-decl shadowed by member function when in incomplete-class context

2022-02-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104476 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org See

[Bug c/104468] with -O -g, quadratic compile time of function with __attribute__(("00")) that passes large structs by value

2022-02-09 Thread erik.carstensen at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104468 --- Comment #3 from Erik Carstensen --- Do we know that some suspected underlying issue is fixed, or could it be that the window of slowness (struct size ∈ [17,80]) just has moved?

[Bug tree-optimization/104475] [12 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Andrew Pinski changed: What|Removed |Added Summary|Wstringop-overflow +|[12 Regression] |atom

[Bug c++/104476] [11/12 Regression] using-decl shadowed by member function when in incomplete-class context

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104476 Andrew Pinski changed: What|Removed |Added Known to work||10.3.0, 4.9.0, 5.1.0 Ever confirmed

[Bug libstdc++/70692] No warning when std::function binds a reference to a temporary

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70692 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/104474] [12 Regression] ICE: in output_constant_pool_2, at varasm.cc:4062 with -mcpu=neoverse-512tvb -msve-vector-bits=512

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104474 --- Comment #3 from Andrew Pinski --- *** Bug 104478 has been marked as a duplicate of this bug. ***

[Bug target/104478] [12 Regression] ICE: in native_encode_rtx, at simplify-rtx.cc:6862 with -mcpu=neoverse-v1 -frounding-math -msve-vector-bits=256

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104478 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/104478] [12 Regression] ICE: in native_encode_rtx, at simplify-rtx.cc:6862 with -mcpu=neoverse-v1 -frounding-math -msve-vector-bits=256

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104478 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/104478] New: [12 Regression] ICE: in native_encode_rtx, at simplify-rtx.cc:6862 with -mcpu=neoverse-v1 -frounding-math -msve-vector-bits=256

2022-02-09 Thread zsojka at seznam dot cz via Gcc-bugs
pported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220209 (experimental) (GCC)

[Bug target/104474] [12 Regression] ICE: in output_constant_pool_2, at varasm.cc:4062 with -mcpu=neoverse-512tvb -msve-vector-bits=512

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104474 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/104441] [12 Regression] vzeroupper is placed at the wrong place

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104441 --- Comment #5 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:354349e7d59323559d0e372484f10358bd86a54f commit r12-7149-g354349e7d59323559d0e372484f10358bd86a54f Author: H.J. Lu Date: Wed Feb 9 11:

[Bug c++/104477] [C++23] Implement P2255R2, type trait to detect reference binding to temporary

2022-02-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104477 Jason Merrill changed: What|Removed |Added Blocks||98940 Last reconfirmed|

[Bug c++/104477] New: [C++23] Implement P2255R2, type trait to detect reference binding to temporary

2022-02-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104477 Bug ID: 104477 Summary: [C++23] Implement P2255R2, type trait to detect reference binding to temporary Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c/104427] ICE with __builtin_assoc_barrier and float types which introduce excess precision

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104427 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:499f8d4c2bc585b985882b4716f35b4c1553ce32 commit r12-7148-g499f8d4c2bc585b985882b4716f35b4c1553ce32 Author: Jakub Jelinek Date: W

[Bug target/104474] [12 Regression] ICE: in output_constant_pool_2, at varasm.cc:4062 with -mcpu=neoverse-512tvb -msve-vector-bits=512

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104474 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[12 Regression]

[Bug c++/104476] New: using-decl shadowed by member function when in incomplete-class context

2022-02-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104476 Bug ID: 104476 Summary: using-decl shadowed by member function when in incomplete-class context Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104475] New: Wstringop-overflow + atomics incorrect warning on dynamic object

2022-02-09 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Bug ID: 104475 Summary: Wstringop-overflow + atomics incorrect warning on dynamic object Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/104474] [12 Regression] ICE: in output_constant_pool_2, at varasm.cc:4062 with -mcpu=neoverse-512tvb -frounding-math -msve-vector-bits=512

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104474 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug target/104474] New: [12 Regression] ICE: in output_constant_pool_2, at varasm.cc:4062 with -mcpu=neoverse-512tvb -frounding-math -msve-vector-bits=512

2022-02-09 Thread zsojka at seznam dot cz via Gcc-bugs
9b18-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220209 (experimental) (GCC)

[Bug target/104462] ICE: in extract_constrain_insn_cached, at recog.cc:2682 with -mavx512fp16 -mno-xsave

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104462 --- Comment #2 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:2f9ab267e725ddf2b6b44113e4fc4fb8b2a6adfb commit r12-7147-g2f9ab267e725ddf2b6b44113e4fc4fb8b2a6adfb Author: Uros Bizjak Date: Wed F

[Bug target/104458] [11/12 Regression] ICE: SIGSEGV in gen_udivmodhiqi3 -> copy_rtx with -O1 -m8bit-idiv

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104458 --- Comment #2 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:2b399dbabd48639ab4daac462c9d82c6cf3f99cc commit r12-7146-g2b399dbabd48639ab4daac462c9d82c6cf3f99cc Author: Uros Bizjak Date: Wed F

[Bug rtl-optimization/104459] [9/10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -funswitch-loops -fno-tree-dce

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

[Bug target/97040] incorrect fused multiply add/subtract instruction generated from C code

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97040 --- Comment #3 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:eefec38c992e3622a69de9667e91f0cafbff03cc commit r12-7145-geefec38c992e3622a69de9667e91f0cafbff03cc Author: Jeff Law Date: Wed Feb 9 14

[Bug rtl-optimization/104459] [9/10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -funswitch-loops -fno-tree-dce

2022-02-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104459 --- Comment #3 from Jakub Jelinek --- On the other side, df-scan.cc does in 3 other spots: /* By adding the ref directly, df_insn_rescan my not find any differences even though the block will have changed. So we need to mark the blo

[Bug target/97040] incorrect fused multiply add/subtract instruction generated from C code

2022-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97040 --- Comment #2 from Jeffrey A. Law --- So a bit more background. I was doing some maintenance work on the v850 a few years back and noticed an issue with e3v5 testing and FMAs. I poked around a bit and had largely ruled out the generic bits of

[Bug tree-optimization/24021] VRP does not work with floating points

2022-02-09 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #14 from Vincent Lefèvre --- (In reply to Jakub Jelinek from comment #11) > And also take into account different rounding modes if > user wants that to be honored. And that would eliminate the need to consider the possibility of doub

[Bug target/104409] -march=armv8.6-a+ls64 crashes, LS64 builtins causes ICE

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104409 --- Comment #5 from Andrew Pinski --- (In reply to Zdenek Sojka from comment #4) > Probably related crash: (with -fpack-struct) That is recorded as PR 103147 already.

[Bug target/104409] -march=armv8.6-a+ls64 crashes, LS64 builtins causes ICE

2022-02-09 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104409 --- Comment #4 from Zdenek Sojka --- Probably related crash: (with -fpack-struct) $ echo > testcase.c aarch64-unknown-linux-gnu-gcc -march=armv8.6-a+ls64 -fpack-struct testcase.c : internal compiler error: in aarch64_init_ls64_builtins_types, a

[Bug rtl-optimization/104459] [9/10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -funswitch-loops -fno-tree-dce

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

[Bug tree-optimization/104466] Inlining functions with restrict parameters can inhibit lim (e.g. in 554.roms_r)

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104466 Andrew Pinski changed: What|Removed |Added Depends on||60712 --- Comment #3 from Andrew Pinski

[Bug ipa/104457] ipa-cp with autofdo: internal compiler error in update_specialized_profile, at ipa-cp.c:4422

2022-02-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104457 --- Comment #2 from Martin Jambor --- I have made some substantial changes to how profile_counts are updated in IPA-CP, so trying the current master is definitely a good idea. It might just work and even if it does not, fixing it there would pr

[Bug target/104409] -march=armv8.6-a+ls64 crashes, LS64 builtins causes ICE

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104409 Andrew Pinski changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #3

[Bug target/104473] [12 Regression] ICE: free(): invalid pointer with -march=armv8.7-a or -march=armv8.8-a for g++

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104473 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/104473] New: [12 Regression] ICE: free(): invalid pointer with -march=armv8.7-a or -march=armv8.8-a for g++

2022-02-09 Thread zsojka at seznam dot cz via Gcc-bugs
20209111047-ged3fea09b18-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220209 (experimental) (GCC)

[Bug tree-optimization/24021] VRP does not work with floating points

2022-02-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #13 from Andrew Macleod --- > etc. which would be great if it could use frange. Though, I think we also > run here into the problem that match.pd right now avoids the ranger because > it could reliably only allow walks from uses to

[Bug c++/104472] New: ICE: SIGSEGV in cxx_eval_internal_function with __builtin_convertvector()

2022-02-09 Thread zsojka at seznam dot cz via Gcc-bugs
cc-trunk//binary-trunk-r12-7128-20220209090954-gc6bb1db76b3-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220209 (experimental) (GCC)

[Bug tree-optimization/24021] VRP does not work with floating points

2022-02-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #12 from Andrew Macleod --- (In reply to Aldy Hernandez from comment #8) > (In reply to Jeffrey A. Law from comment #7) > > Very cool. ANd no, I'm not enough of an expert on the FP side to shepherd > > that though. I would expect it

[Bug tree-optimization/24021] VRP does not work with floating points

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

[Bug ipa/104377] Unreachable code in create_specialized_node of ipa-prop.c?

2022-02-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104377 --- Comment #3 from Martin Jambor --- By the way, it would be good to invent some (slightly?) more intuitive API for ipa_param_adjustments adjustments, merging and similar operations. I simply left it for later when I hoped I would have a bette

[Bug c/104471] New: ICE with -nostdinc: NULL directory in find_file

2022-02-09 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104471 Bug ID: 104471 Summary: ICE with -nostdinc: NULL directory in find_file Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/104377] Unreachable code in create_specialized_node of ipa-prop.c?

2022-02-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104377 --- Comment #2 from Martin Jambor --- (In reply to Feng Xue from comment #1) > > OK. I does missed something. Here we could not hold assumption that > ipcp_decision_stage() only sees raw cgraph node, since sometime in the > future some new ipa

[Bug c++/104470] New: internal compiler error: Segmentation fault compiling std::variant with -std=c++20

2022-02-09 Thread serpent7776 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104470 Bug ID: 104470 Summary: internal compiler error: Segmentation fault compiling std::variant with -std=c++20 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Sev

[Bug tree-optimization/24021] VRP does not work with floating points

2022-02-09 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #10 from Vincent Lefèvre --- (In reply to Vincent Lefèvre from comment #9) > Subnormals might also need to be considered as special cases: "Whether and > in what cases subnormal numbers are treated as zeros is implementation > defined

[Bug tree-optimization/24021] VRP does not work with floating points

2022-02-09 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #9 from Vincent Lefèvre --- (In reply to Aldy Hernandez from comment #6) > As I've mentioned, I'm hoping some floating expert can take this across to > goal line, as my head will start spinning as soon as we start talking about > NANs

[Bug tree-optimization/24021] VRP does not work with floating points

2022-02-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #8 from Aldy Hernandez --- (In reply to Jeffrey A. Law from comment #7) > Very cool. ANd no, I'm not enough of an expert on the FP side to shepherd > that though. I would expect it to be exceptionally tricky on the solver > side. T

[Bug c++/25689] missed diagnostic about assignment used as truth value.

2022-02-09 Thread zhaoweiliew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25689 --- Comment #3 from Zhao Wei Liew --- Created attachment 52395 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52395&action=edit Test patch (seeking feedback) Hi! I wrote a small patch to fix this issue, but I think that it has much room fo

[Bug tree-optimization/102586] [12 Regression] ICE in clear_padding_type, at gimple-fold.c:4798 since r12-3433-ga25e0b5e6ac8a77a

2022-02-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102586 --- Comment #7 from Jason Merrill --- (In reply to Jakub Jelinek from comment #3) > Shall it treat the fields that partially fall into the range and partially > don't as padding (ignore them) In short yes, but... What a wacky class hierarchy.

[Bug target/104469] New: ICE: in extract_insn, at recog.cc:2769 (unrecognizable insn) with -mavx and __builtin_convertvector()

2022-02-09 Thread zsojka at seznam dot cz via Gcc-bugs
s=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-7128-20220209090954-gc6bb1db76b3-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220209 (experimental) (GCC)

[Bug rtl-optimization/104400] [12 Regression] v850e lra/reload failure after recent change

2022-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104400 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/24021] VRP does not work with floating points

2022-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #7 f

[Bug debug/104460] [RISCV] Incorrect DW_AT_high_pc for assembly source with linker relaxation

2022-02-09 Thread joseph.faulls at imgtec dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104460 Joseph Faulls changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug debug/104460] [RISCV] Incorrect DW_AT_high_pc for assembly source with linker relaxation

2022-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104460 --- Comment #3 from Andrew Pinski --- Gcc is not responsible for debug info that is done for the .s file, please report that issue to binutils: https://sourceware.org/bugzilla/

[Bug tree-optimization/24021] VRP does not work with floating points

2022-02-09 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 Aldy Hernandez changed: What|Removed |Added CC||jeffreyalaw at gmail dot com,

[Bug c++/104432] [12 Regression] ICE in operator() from filter_memfn_lookup since r12-6080

2022-02-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104432 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/104432] [12 Regression] ICE in operator() from filter_memfn_lookup since r12-6080

2022-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104432 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:ee50b4383a0dca88172c3a821418344bd7391956 commit r12-7134-gee50b4383a0dca88172c3a821418344bd7391956 Author: Patrick Palka Date: W

[Bug c++/103524] [meta-bug] modules issue

2022-02-09 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 103921, which changed state. Bug 103921 Summary: [modules] ICE dependent expression in explicit-specifier of instantiation of imported template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103921 What|Re

[Bug c++/103752] [12 Regression][ICE][modules] with import

2022-02-09 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103752 --- Comment #5 from Johel Ernesto Guerrero Peña --- *** Bug 103921 has been marked as a duplicate of this bug. ***

[Bug c++/103921] [modules] ICE dependent expression in explicit-specifier of instantiation of imported template

2022-02-09 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103921 Johel Ernesto Guerrero Peña changed: What|Removed |Added Resolution|--- |DUPLICATE Sta

[Bug libstdc++/104443] common_iterator::operator-> is not correctly implemented

2022-02-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104443 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-09 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #21 from Vladimir Makarov --- (In reply to Iain Sandoe from comment #20) > (In reply to Iain Sandoe from comment #15) > > (In reply to Vladimir Makarov from comment #13) > > > I think there are two code spots whose pitfalls resulted

[Bug c++/103524] [meta-bug] modules issue

2022-02-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 102562, which changed state. Bug 102562 Summary: [12 Regression][modules] Failing g++.dg/modules/xtreme-header tests since r12-4067-gc46ecb0112e91c8 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102562 What

[Bug c++/102562] [12 Regression][modules] Failing g++.dg/modules/xtreme-header tests since r12-4067-gc46ecb0112e91c8

2022-02-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102562 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/102178] [12 Regression] SPECFP 2006 470.lbm regressions on AMD Zen CPUs after r12-897-gde56f95afaaa22

2022-02-09 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102178 --- Comment #28 from Vladimir Makarov --- Could somebody benchmark the following patch on zen2 470.lbm. diff --git a/gcc/lra-constraints.cc b/gcc/lra-constraints.cc index 9cee17479ba..76619aca8eb 100644 --- a/gcc/lra-constraints.cc +++ b/gcc/lr

[Bug c++/103752] [12 Regression][ICE][modules] with import

2022-02-09 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103752 Johel Ernesto Guerrero Peña changed: What|Removed |Added CC||johelegp at gmail dot com

[Bug c++/103524] [meta-bug] modules issue

2022-02-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 103752, which changed state. Bug 103752 Summary: [12 Regression][ICE][modules] with import https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103752 What|Removed |Added

[Bug c++/103752] [12 Regression][ICE][modules] with import

2022-02-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103752 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

  1   2   >