[Bug libstdc++/106676] [C++20] Automatic iterator_category detection misbehaves when `::reference` is an rvalue reference, refuses to accept a forward iterator

2022-11-14 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106676 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #3 from Jian

[Bug fortran/100972] Missing error with "implicit none (external)"

2022-11-14 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100972 Bernhard Reutner-Fischer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #17 from Jakub Jelinek --- Fixed for AMD on the library side too. We need a statement from Zhaoxin and VIA for their CPUs.

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2022-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #16 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4a7a846687e076eae58ad3ea959245b2bf7fdc07 commit r13-4048-g4a7a846687e076eae58ad3ea959245b2bf7fdc07 Author: Jakub Jelinek Date:

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-14 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 --- Comment #2 from Hongyu Wang --- Created attachment 53897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53897&action=edit A patch Sorry for introducing these fails. Here is the patch. I've tested the patch with cross-compler and all

[Bug c/105180] [10/11/12/13 Regression] K&R style definition does not evaluate array size

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105180 --- Comment #6 from Andrew Pinski --- Here is a self contained tester: int global = 0; int func(void) { global++; return global; } void crime(s, c) char *s; char c[static func()]; { } int main(void) { crime("1", "1"); if (gl

[Bug c/105180] [10/11/12/13 Regression] K&R style definition does not evaluate array size

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105180 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > I am suspecting r0-108564-ga04a722b88baf5 . That is https://gcc.gnu.org/legacy-ml/gcc-patches/2011-05/msg00319.html . I suspect there was a missing old style p

[Bug c/105180] [10/11/12/13 Regression] K&R style definition does not evaluate array size

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105180 --- Comment #4 from Andrew Pinski --- I am suspecting r0-108564-ga04a722b88baf5 .

[Bug debug/105158] ftree-ccp (CFG cleanup) drops DWARF const value attribute at -Og/-O1/-O2/-O3

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105158 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug web/65699] online docs lacks version that it documents

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65699 Andrew Pinski changed: What|Removed |Added Target Milestone|13.0|---

[Bug web/63873] target links in Concepts Index in gccint do not work

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63873 --- Comment #5 from Andrew Pinski --- >Can we move into the 21st century already? We tried this year but sphinx needs to improved to cover the same feature set as texinfo too.

[Bug web/65699] online docs lacks version that it documents

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65699 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug other/88472] attribute documentation poorly structured, lots of duplication

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88472 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW See Also|

[Bug target/98167] [x86] Failure to optimize operation on indentically shuffled operands into a shuffle of the result of the operation

2022-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98167 --- Comment #21 from CVS Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:dc95e1e9702f2f6367bbc108c8d01169be1b66d2 commit r13-4044-gdc95e1e9702f2f6367bbc108c8d01169be1b66d2 Author: Hongyu Wang Date: Mon J

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107693] New: undefined reference to `_ZSt8to_charsPcS_DF128_St12chars_formati' std::format does not work on x86_64-w64-mingw32

2022-11-14 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107693 Bug ID: 107693 Summary: undefined reference to `_ZSt8to_charsPcS_DF128_St12chars_formati' std::format does not work on x86_64-w64-mingw32 Product: gcc Version: 1

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-14 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 --- Comment #6 from Hongyu Wang --- (In reply to Andrew Pinski from comment #5) > (In reply to Jonathan Wakely from comment #4) > > I don't think __atomic_compare_exchange emits such a loop. This is about > > __atomic_fetch_xor and friends, whic

[Bug c++/107638] [13 Regression] options.h:239:36: error: token "." is not valid in preprocessor expressions

2022-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107638 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:fce38b7d13ae625301571dcd84f3774ddaa6ed04 commit r13-4039-gfce38b7d13ae625301571dcd84f3774ddaa6ed04 Author: Patrick Palka Date: M

[Bug libstdc++/107660] Running binaries compiled with g++11 or later produces different results than g++ version 10 or earlier

2022-11-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107660 --- Comment #6 from Jonathan Wakely --- It's expected and required by the standard that std::mt19937 produces the same numbers every time. And if I run a test for GCC 10 and GCC 11 I see the same number produced for the first 2.14 billion result

[Bug target/107671] i386: Missed optimization: use of bt in bit test pattern (using -O2 -mtune=core2)

2022-11-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107671 --- Comment #3 from Hongtao.liu --- We already have --cut from i386.md 15204;; Help combine recognize bt followed by setc 15205(define_insn_and_split "*bt_setcqi" 15206 [(set (subreg:SWI48 (match_operand:QI 0 "register_operand")

[Bug tree-optimization/107326] [13 Regression] ICE: verify_gimple failed (error: type mismatch in binary expression) since r13-3219-g25413fdb2ac249

2022-11-14 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107326 --- Comment #6 from Arseny Solokha --- Yes, this one is fixed. Thanks.

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 --- Comment #1 from Andrew Pinski --- Some of these testcases might need -mno-unroll-only-small-loops now.

[Bug fortran/107680] ICE in arith_power, at fortran/arith.cc:989 and :1006

2022-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107680 --- Comment #2 from anlauf at gcc dot gnu.org --- We could prohibit the simplification of ** like in the following: diff --git a/gcc/fortran/arith.cc b/gcc/fortran/arith.cc index fc9224ebc5c..540b8e2b945 100644 --- a/gcc/fortran/arith.cc +++ b/g

[Bug target/107692] New: [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 Bug ID: 107692 Summary: [13 regression] r13-3950-g071e428c24ee8c breaks many test cases Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/107691] [10/11/12/13 Regression] libcpp configure fails on empty expansion

2022-11-14 Thread rep.dot.nop at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107691 --- Comment #4 from rep.dot.nop at gmail dot com --- The problem was encountered with configure --enable-valgrind-annotations with valgrind not installed.

[Bug preprocessor/107691] [10/11/12/13 Regression] libcpp configure fails on empty expansion

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107691 --- Comment #3 from Andrew Pinski --- have_valgrind_h is never set anywhere. Adding before that code in configure.ac: dnl # This check AC_REQUIREs various stuff, so it *must not* be inside dnl # an if statement. This was the source of very frus

[Bug fortran/107576] [10/11/12/13 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.cc:6193

2022-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107576 --- Comment #8 from anlauf at gcc dot gnu.org --- (In reply to G. Steinmetz from comment #7) > $ gfortran -c z3.f90 > z3.f90:2:10: > > 2 |call s(null()) > | 1 > Error: MOLD argument to NULL required at (1) I think that er

[Bug preprocessor/107691] [10/11/12/13 Regression] libcpp configure fails on empty expansion

2022-11-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107691 Andreas Schwab changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11/12/13 Regression]

[Bug preprocessor/107691] [10/11/12/13 Regression] libcpp configure fails on bashism

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107691 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|

[Bug fortran/107576] [10/11/12/13 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.cc:6193

2022-11-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107576 --- Comment #7 from G. Steinmetz --- Yes, call s(z) is valid in z1, but is necessary to trigger the ICE somehow with -std=legacy and null(). Yes, 15.4.2.2(3) was it, explicit interface of the callee with all the characteristics of that procedu

[Bug preprocessor/107691] New: libcpp configure fails on bashism

2022-11-14 Thread rep.dot.nop at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107691 Bug ID: 107691 Summary: libcpp configure fails on bashism Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor

[Bug fortran/107681] [13 Regression] ICE in gfc_type_is_extensible, at fortran/resolve.cc:9018

2022-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107681 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |13.0 Ever confirmed|0

[Bug rtl-optimization/107690] [12/13 Regression] vectorization fails for std::ranges::transform due to IR changes

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107690 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.3 Summary|Regression in

[Bug c/96054] RFE: __attribute__((fatal))

2022-11-14 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96054 --- Comment #2 from H. Peter Anvin --- I agree, my naming was very poor. Perhaps "panic" or "abort" would work; those are classic names in software use for this. Another case of a function that could be so attributed would be the function typica

[Bug rtl-optimization/107690] Regression in ranges::transform vectorization

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107690 --- Comment #1 from Andrew Pinski --- -std=c++20 -O3

[Bug rtl-optimization/107690] New: Regression in ranges::transform vectorization

2022-11-14 Thread Mark_B53 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107690 Bug ID: 107690 Summary: Regression in ranges::transform vectorization Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rt

[Bug c/107683] [13 Regression] ICE in int_fits_type_p, at tree.cc:8044

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug middle-end/107485] [10 Regression] gcc-10 ICE with -fnon-call-exception

2022-11-14 Thread spop at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107485 --- Comment #10 from Sebastian Pop --- Thanks Richard. The patch fixed the larger test as well.

[Bug testsuite/107689] [13 regression] r13-3979-g9d29dd2fcf2922 causes failures in diagnostic-format-json-2.c and others

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107689 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail Component|fortr

[Bug fortran/107689] New: [13 regression] r13-3979-g9d29dd2fcf2922 causes failures in diagnostic-format-json-2.c and others

2022-11-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107689 Bug ID: 107689 Summary: [13 regression] r13-3979-g9d29dd2fcf2922 causes failures in diagnostic-format-json-2.c and others Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug middle-end/107677] -Warray-bounds: unclear what exactly it's meant to detect

2022-11-14 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107677 --- Comment #2 from Carlos Galvez --- This is a general question which I hope can be answered without a full report. My particular example gets a warning deep into Eigen-like code so it's not easy to provide a minimal example. My questions are

[Bug tree-optimization/107686] [12/13 Regression] ICE: verify_gimple failed (invalid types in nop conversion) with _Decimal64 vector

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107686 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/107688] [C++23] P2615 - Meaningful exports

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107688 Marek Polacek changed: What|Removed |Added Blocks||98940 Status|UNCONFIRMED

[Bug c++/107688] New: [C++23] P2615 - Meaningful exports

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107688 Bug ID: 107688 Summary: [C++23] P2615 - Meaningful exports Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/107686] [12/13 Regression] ICE: verify_gimple failed (invalid types in nop conversion) with _Decimal64 vector

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107686 --- Comment #2 from Andrew Pinski --- vector(4) long intD.8 _10; _10 = [vec_unpack_lo_expr] u.0_2; _11 = [vec_unpack_hi_expr] u.0_2; # VUSE <.MEM_8(D)> d.1_4 = dD.3174; _12 = BIT_FIELD_REF <_10, 64, 0>; _1 = BIT_FIELD_REF ; _

[Bug c++/107687] New: [C++23] P2564 - consteval needs to propagate up

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107687 Bug ID: 107687 Summary: [C++23] P2564 - consteval needs to propagate up Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/107687] [C++23] P2564 - consteval needs to propagate up

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107687 Marek Polacek changed: What|Removed |Added Blocks||98940 Status|UNCONFIRMED

[Bug libstdc++/103295] constexpr std::string does not work for clang

2022-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103295 --- Comment #22 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a088d93c210f9b662d706e2fcf63a59d05fe27c1 commit r12-8908-ga088d93c210f9b662d706e2fcf63a59d05fe27c1 Author: Nathaniel Sh

[Bug libstdc++/95048] [10/11/12 Regression] wstring-constructor of std::filesystem::path throws for non-ASCII characters

2022-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95048 --- Comment #22 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c6bd8fac5e3bc6003f889fbd6042c0d8aa9c40ed commit r12-8909-gc6bd8fac5e3bc6003f889fbd6042c0d8aa9c40ed Author: Jonathan Wake

[Bug tree-optimization/107686] [12/13 Regression] ICE: verify_gimple failed (invalid types in nop conversion) with _Decimal64 vector

2022-11-14 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107686 --- Comment #1 from Zdenek Sojka --- Created attachment 53896 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53896&action=edit reduced testcase

[Bug tree-optimization/107686] New: [12/13 Regression] ICE: verify_gimple failed (invalid types in nop conversion) with _Decimal64 vector

2022-11-14 Thread zsojka at seznam dot cz via Gcc-bugs
sr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r13-4023-20221114155950-g2b85d759dae-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221114 (experimental) (GCC)

[Bug c++/107685] [C++23] P2647 - Permitting static constexpr variables in constexpr functions

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107685 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/107685] New: [C++23] P2647 - Permitting static constexpr variables in constexpr functions

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107685 Bug ID: 107685 Summary: [C++23] P2647 - Permitting static constexpr variables in constexpr functions Product: gcc Version: unknown Status: UNCONFIRMED Severity

[Bug c++/107684] [C++23] P2589 - static operator[]

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107684 --- Comment #1 from Marek Polacek --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2022-November/605705.html

[Bug fortran/107680] ICE in arith_power, at fortran/arith.cc:989 and :1006

2022-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107680 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/107684] [C++23] P2589 - static operator[]

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107684 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-11-14 Status|UNCONFIRM

[Bug c++/107684] New: [C++23] P2589 - static operator[]

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107684 Bug ID: 107684 Summary: [C++23] P2589 - static operator[] Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/107679] [13 Regression] ICE in maybe_register_def, at tree-into-ssa.cc:1914

2022-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107679 --- Comment #2 from anlauf at gcc dot gnu.org --- Interesting. Adding a line print *, z after the call call s1(z) make the ICE go away. Is it the CLOBBER that confuses us?

[Bug middle-end/107485] [10 Regression] gcc-10 ICE with -fnon-call-exception

2022-11-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107485 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/107485] [10 Regression] gcc-10 ICE with -fnon-call-exception

2022-11-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107485 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c17873d83aaeed037fb5d039df2e6303d4b6a553 commit r10-11083-gc17873d83aaeed037fb5d039df2e6303d4b6a553 Author: Richard Biene

[Bug fortran/107679] [13 Regression] ICE in maybe_register_def, at tree-into-ssa.cc:1914

2022-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107679 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/107576] [10/11/12/13 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.cc:6193

2022-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107576 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c++/107637] C++23: Implement P2718R0 - Final Fix of Broken Range‐based for Loop

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107637 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug libstdc++/107675] [13 Regression] GCC-13 is significantly slower to startup on C++ programs

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107675 Andrew Pinski changed: What|Removed |Added Status|NEW |UNCONFIRMED Ever confirmed|1

[Bug libstdc++/107675] [13 Regression] GCC-13 is significantly slower to startup on C++ programs

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107675 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Last reconfirmed|

[Bug c++/107637] C++23: Implement P2718R0 - Final Fix of Broken Range‐based for Loop

2022-11-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107637 Jakub Jelinek changed: What|Removed |Added Summary|C++23: Implement P2644R1 - |C++23: Implement P2718R0 -

[Bug target/107678] [13 Regression] Segfault in aarch64_fallback_frame_state when running SVE code

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107678 --- Comment #4 from Andrew Pinski --- Note aarch64_fallback_frame_state segfault is if (pc[0] != MOVZ_X8_8B || pc[1] != SVC_0) pc comes from: unsigned *pc = context->ra; >so the size of the vectors could be a hint? It is not in this cas

[Bug target/107678] [13 Regression] Segfault in aarch64_fallback_frame_state when running SVE code

2022-11-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107678 --- Comment #3 from Jakub Jelinek --- I mean register sizes. So bet those compute as 0.

[Bug target/107678] [13 Regression] Segfault in aarch64_fallback_frame_state when running SVE code

2022-11-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107678 --- Comment #2 from Jakub Jelinek --- Perhaps some previously latent buffer overflow? I'm aware of e.g. __builtin_init_dwarf_reg_size_table theoretical problem with SVE, the builtin computes register sizes in 8-bit unsigned integers, but SVE can

[Bug middle-end/107677] -Warray-bounds: unclear what exactly it's meant to detect

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107677 Marek Polacek changed: What|Removed |Added Component|c++ |middle-end CC|

[Bug target/107678] [13 Regression] Segfault in aarch64_fallback_frame_state when running SVE code

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107678 --- Comment #1 from Andrew Pinski --- Hmm, maybe the outputted dwarf2 from the compiler is broken. Because this is a call to throw itself.

[Bug c++/107597] LTO causes static inline variables to get a non-uniqued global symbol

2022-11-14 Thread cfsteefel at arista dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107597 --- Comment #3 from Christoph Steefel --- Address sanitizer is the one that flags it. This is the code I used to reproduce the failure. test.h: class NonTemplated { static inline int x; public: void doFoo() { x++; } }; int fo

[Bug c/107682] [13 Regression] ICE in c_parser_braced_init, at c/c-parser.cc:5619

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107682 --- Comment #2 from Marek Polacek --- I suppose pop_init_level needs to check that constructor_type isn't FUNCTION_TYPE.

[Bug c/107682] [13 Regression] ICE in c_parser_braced_init, at c/c-parser.cc:5619

2022-11-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107682 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/107683] New: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044

2022-11-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107683 Bug ID: 107683 Summary: [13 Regression] ICE in int_fits_type_p, at tree.cc:8044 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c/107682] New: [13 Regression] ICE in c_parser_braced_init, at c/c-parser.cc:5619

2022-11-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107682 Bug ID: 107682 Summary: [13 Regression] ICE in c_parser_braced_init, at c/c-parser.cc:5619 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/107576] [10/11/12/13 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.cc:6193

2022-11-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107576 --- Comment #5 from G. Steinmetz --- I had in mind Fortran 2018, 15.4.2.2 Explicit interface, and therefore had added the examples z1c.f90 and z2c.f90. Some other compilers (via Compiler Explorer) show an error for both z1.f90 and z2.f90 : l

[Bug fortran/107681] New: [13 Regression] ICE in gfc_type_is_extensible, at fortran/resolve.cc:9018

2022-11-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107681 Bug ID: 107681 Summary: [13 Regression] ICE in gfc_type_is_extensible, at fortran/resolve.cc:9018 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norm

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 --- Comment #5 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #4) > I don't think __atomic_compare_exchange emits such a loop. This is about > __atomic_fetch_xor and friends, which do emit cmpxchg loops. But there are > four su

[Bug fortran/107680] New: ICE in arith_power, at fortran/arith.cc:989 and :1006

2022-11-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107680 Bug ID: 107680 Summary: ICE in arith_power, at fortran/arith.cc:989 and :1006 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug fortran/107679] New: [13 Regression] ICE in maybe_register_def, at tree-into-ssa.cc:1914

2022-11-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107679 Bug ID: 107679 Summary: [13 Regression] ICE in maybe_register_def, at tree-into-ssa.cc:1914 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 --- Comment #4 from Jonathan Wakely --- I don't think __atomic_compare_exchange emits such a loop. This is about __atomic_fetch_xor and friends, which do emit cmpxchg loops. But there are four such functions to name.

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-11-14 Status|UNCONFIRM

[Bug libgcc/107678] New: [13 Regression] Segfault in aarch64_fallback_frame_state

2022-11-14 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107678 Bug ID: 107678 Summary: [13 Regression] Segfault in aarch64_fallback_frame_state Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/107326] [13 Regression] ICE: verify_gimple failed (error: type mismatch in binary expression) since r13-3219-g25413fdb2ac249

2022-11-14 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107326 --- Comment #5 from avieira at gcc dot gnu.org --- It looks that way on my end, but I'll let Arseny confirm.

[Bug middle-end/107485] [10 Regression] gcc-10 ICE with -fnon-call-exception

2022-11-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107485 --- Comment #7 from Richard Biener --- Note that while this might be part of the solution we then still "wreck" EH anyway by throwing it away instead of trying to replicate it for each component compare. So I'm not sure the proposed change is a

[Bug tree-optimization/107668] [13 Regression] ICE: in clear_nan, at value-range.h:1167 with -fsanitize=float-cast-overflow and _Complex int

2022-11-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107668 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-11-14 Assignee|unassigne

[Bug libstdc++/107675] [13 Regression] GCC-13 is significantly slower to startup on C++ programs

2022-11-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107675 --- Comment #4 from Tamar Christina --- (In reply to Jakub Jelinek from comment #2) > Does the binary and libstdc++.so have PT_GNU_EH_FRAME header including > binary search table (readelf -Wl | grep GNU_EH_FRAME)? > During startup I think there

[Bug tree-optimization/107639] GCC unable to reason about range of idx/len

2022-11-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107639 --- Comment #3 from Andrew Macleod --- (In reply to Richard Biener from comment #2) > Confirmed. Something for ranger/VRP "symbolic" handling. I'm not so sure. what is related? there are 2 loop values being bumped by different amounts. the

[Bug fortran/107669] [13 Regression] commit r13-3931 causes lots of testcase failure

2022-11-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107669 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug c++/107677] New: -Warray-bounds: unclear what exactly it's meant to detect

2022-11-14 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107677 Bug ID: 107677 Summary: -Warray-bounds: unclear what exactly it's meant to detect Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/107663] -Wmaybe-uninitialized does not catch an uninitialized variable if its address was passed at -O0 and there was a call before hand

2022-11-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107663 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/107669] [13 Regression] commit r13-3931 causes lots of testcase failure

2022-11-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107669 Jakub Jelinek changed: What|Removed |Added Summary|[13 Regression] commit |[13 Regression] commit

[Bug fortran/107669] [13 Regression] commit r13-3931-59a63247992eb13153b82c4902aadf111460eac2 causes lots of testcase failure

2022-11-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107669 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/107668] [13 Regression] ICE: in clear_nan, at value-range.h:1167 with -fsanitize=float-cast-overflow and _Complex int

2022-11-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107668 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > 3) What does "atomic logic fetch builtins" mean? >From the commit msg, it seems this means atomic_fetch_{or,xor,and,nand}. But out of context in the GCC man

[Bug tree-optimization/107672] [13 Regression] ICE during GIMPLE pass: slp

2022-11-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107672 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code CC|

[Bug target/107674] [11/12/13 Regressions] arm: MVE codegen regressions on VCTP and vector LDR/STR instructions

2022-11-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107674 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone

[Bug target/107676] Nonsensical docs for -mrelax-cmpxchg-loop

2022-11-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676 --- Comment #1 from Jonathan Wakely --- Is it really better to do a load and check rather than just hoist the first cmpxchg out of the loop, and add the pause in the loop if retrying?

[Bug middle-end/107661] [13 Regression] lambdas get merged incorrectly in tempaltes, cause llvm-12 miscompilation since r13-3358-ge0403e95689af7

2022-11-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661 Richard Biener changed: What|Removed |Added Priority|P3 |P1

  1   2   >