[Bug libstdc++/106772] atomic::wait shouldn't touch waiter pool if used platform wait

2022-09-19 Thread rodgertq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106772 --- Comment #3 from Thomas Rodgers --- Since this latter point has come up before, I want to additionally note that the optimization to use an atomic count of waiters per-waiter pool bucket means that a call to notify_one/notify_all is roughly

[Bug tree-optimization/106963] [13 Regression] ICE in vect_gen_perm_mask_checked, at tree-vect-stmts.cc:8606

2022-09-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106963 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug target/106971] New: ICE in aarch64_init_ls64_builtins_types, at config/aarch64/aarch64-builtins.cc:1856

2022-09-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106971 Bug ID: 106971 Summary: ICE in aarch64_init_ls64_builtins_types, at config/aarch64/aarch64-builtins.cc:1856 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/106970] New: [13 Regression] ICE in verify_range, at value-range.cc:702

2022-09-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106970 Bug ID: 106970 Summary: [13 Regression] ICE in verify_range, at value-range.cc:702 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/106967] [13 Regression] ICE in upper_bound, at value-range.h:348

2022-09-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 --- Comment #1 from Arseny Solokha --- JFTH, a similar ICE in lower_bound is also possible. I currently have an F77 testcase, will try to get a C one.

[Bug target/106887] ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d

2022-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106887 --- Comment #2 from CVS Commits --- The master branch has been updated by Kong Lingling : https://gcc.gnu.org/g:78260b9a9c0bf5a4495320466e2cd1c259504905 commit r13-2725-g78260b9a9c0bf5a4495320466e2cd1c259504905 Author: konglin1 Date: Fri

[Bug fortran/82868] ICE in generate_coarray_sym_init, at fortran/trans-decl.c:5203

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

[Bug fortran/100132] Optimization breaks pointer association

2022-09-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100132 --- Comment #4 from anlauf at gcc dot gnu.org --- Pinged here: https://gcc.gnu.org/pipermail/fortran/2022-September/058212.html

[Bug c/102967] confusing location in -Waddress for a subexpression of a ternary expression

2022-09-19 Thread amachronic at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102967 Aidan MacDonald changed: What|Removed |Added CC||amachronic at protonmail dot com

[Bug c++/106812] Throwing a non-copyable exception

2022-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106812 --- Comment #3 from Marek Polacek --- The difference between #3 and not-#3 is that without the NSDMI, S isn't TYPE_NEEDS_CONSTRUCTING, which makes a difference in initialize_handler_parm: 339 /* If the constructor for the catch parm exits

[Bug c++/106812] Throwing a non-copyable exception

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

[Bug c++/106903] Incorrectly accepts call to function template when deduced type doesn't match adjusted type

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

[Bug c/106947] [12/13 Regression] -Waddress + bool + pragma generates meaningless diagnostic

2022-09-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106947 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/106947] [12/13 Regression] -Waddress + bool + pragma generates meaningless diagnostic

2022-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106947 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:97803ee561c7a2692a6d7863a5d86797d79a18b1 commit r12-8774-g97803ee561c7a2692a6d7863a5d86797d79a18b1 Author: Marek Polacek

[Bug c/106947] [12/13 Regression] -Waddress + bool + pragma generates meaningless diagnostic

2022-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106947 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:2d9429d5c0f86f588bdfd85bb9e236d2be367d3f commit r13-2723-g2d9429d5c0f86f588bdfd85bb9e236d2be367d3f Author: Marek Polacek Date:

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-09-19 Thread jeffrey.rahr at baesystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #21 from Jeff Rahr --- Roger - I was getting that same error when building out of the box for langueages=c,c++,fortran,lto,jit,go,d (ie didn't edit Makefile.def). Based on

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-09-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Roger Sayle changed: What|Removed |Added Assignee|roger at nextmovesoftware dot com |unassigned at gcc dot gnu.org

[Bug c++/106969] [12/13 Regression] member function constness incorrectly propagates to local class member function return type deduction

2022-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106969 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|member function

[Bug c++/106969] New: member function constness incorrectly propagates to local class member function return type deduction

2022-09-19 Thread enolan at alumni dot cmu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106969 Bug ID: 106969 Summary: member function constness incorrectly propagates to local class member function return type deduction Product: gcc Version: 12.2.1 Status:

[Bug tree-optimization/106967] [13 Regression] ICE in upper_bound, at value-range.h:348

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

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

2022-09-19 Thread jan.zizka at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 --- Comment #12 from Jan Žižka --- (In reply to Richard Biener from comment #11) > So there's a similar missed optimization but it's not caused by the bisected > revision. Ah I see. I didn't try to bisect this again. I can do that if that

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

2022-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 --- Comment #11 from Richard Biener --- So there's a similar missed optimization but it's not caused by the bisected revision. The situation is like float bar, baz; void foo (int *p, int n) { *p = 0; do { bar = 1.; if (*p)

[Bug target/106966] alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn"

2022-09-19 Thread christian.ehrhardt at canonical dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966 --- Comment #3 from Christian Ehrhardt --- > Just drop -mbuild-constants. Thanks for the hint Uroš, but I'm not sure if one can do that, this option is from [1]. I do not have the background on this, but it reads as there was a reason "Use

[Bug c++/106943] GCC building clang/llvm with LTO flags causes ICE in clang

2022-09-19 Thread immoloism at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943 --- Comment #5 from Immolo --- How would I go about creating a reduce for this as I'd assume it's to with running something llvm-reduce with `/var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.0/work/compiler-rt/lib/sanitizer_common/..

[Bug target/106966] alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn"

2022-09-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966 --- Comment #2 from Uroš Bizjak --- (In reply to Christian Ehrhardt from comment #0) > alpha-linux-gnu-gcc -O2 -g1 -Wall -fvisibility=hidden -fno-strict-aliasing > -msmall-text -msmall-data -mno-fp-regs -mbuild-constants -mcpu=ev67 Just drop

[Bug c++/106965] g++ optimization removes assigning 0 to deleted pointer- causes double free.

2022-09-19 Thread olddra3rd at mozmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106965 --- Comment #2 from Boaz --- (In reply to Richard Biener from comment #1) > I think it's undefined to invoke a DTOR twice which is what you do here. > After the DTOR the m_ptr member becomes undefined so re-evaluating that in > the second

[Bug c++/106968] New: ignored noexcept(false) in explicitly-defaulted functions

2022-09-19 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106968 Bug ID: 106968 Summary: ignored noexcept(false) in explicitly-defaulted functions Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/106967] New: [13 Regression] ICE in upper_bound, at value-range.h:348

2022-09-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 Bug ID: 106967 Summary: [13 Regression] ICE in upper_bound, at value-range.h:348 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-09-19 Thread jeffrey.rahr at baesystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #19 from Jeff Rahr --- I added D language to my build and was able to get 12.2 to build "out of the box" without editing Makefile.def on x86-64-pc-linux-gnu. Make is using 4 processors.

[Bug c++/106965] g++ optimization removes assigning 0 to deleted pointer- causes double free.

2022-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106965 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID

[Bug c/106966] alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn"

2022-09-19 Thread christian.ehrhardt at canonical dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966 --- Comment #1 from Christian Ehrhardt --- I compared a few more cross-gcc's I could get hold of. Thereby I can state this was already broken with 12.1.0 on Ubuntu 22.04 and Fedora 36. Note: I'm only listing where the instructions for these

[Bug c/106966] New: alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn"

2022-09-19 Thread christian.ehrhardt at canonical dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966 Bug ID: 106966 Summary: alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn" Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c++/106965] New: g++ optimization removes assigning 0 to deleted pointer- causes double free.

2022-09-19 Thread olddra3rd at mozmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106965 Bug ID: 106965 Summary: g++ optimization removes assigning 0 to deleted pointer- causes double free. Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug c/44677] Warn for variables incremented but not used

2022-09-19 Thread stormbyte at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 David Manuelda changed: What|Removed |Added CC||stormbyte at gmail dot com --- Comment

[Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result

2022-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 Richard Biener changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2022-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 106902, which changed state. Bug 106902 Summary: [11/12/13 Regression] Program compiled with -O3 -mfma produces different result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 What|Removed

[Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result

2022-09-19 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #13 from Alexander Monakov --- (In reply to Richard Biener from comment #12) > > Isn't it easy now to implement -ffp-contract=on by a GENERIC-only match.pd > > rule? > > You mean in the frontend only for -ffp-contract=on? Yes. >

[Bug target/99184] [avr] wrong double to 16-Bit and 32-Bit integers in libgcc/libf7

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

[Bug target/99184] [avr] wrong double to 16-Bit and 32-Bit integers in libgcc/libf7

2022-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99184 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:848ddecfe14446947fe7697cdfafe0031c3c54c5 commit r10-10993-g848ddecfe14446947fe7697cdfafe0031c3c54c5 Author: Georg-Johann

[Bug target/99184] [avr] wrong double to 16-Bit and 32-Bit integers in libgcc/libf7

2022-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99184 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:175d6ba5f025c886f7f81bc8f9b24717da978933 commit r11-10263-g175d6ba5f025c886f7f81bc8f9b24717da978933 Author: Georg-Johann

[Bug target/99184] [avr] wrong double to 16-Bit and 32-Bit integers in libgcc/libf7

2022-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99184 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:57896e8cddd2eb952145fa32ca25635fd63246b4 commit r12-8773-g57896e8cddd2eb952145fa32ca25635fd63246b4 Author: Georg-Johann

[Bug target/99184] [avr] wrong double to 16-Bit and 32-Bit integers in libgcc/libf7

2022-09-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99184 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0b5b8ac5cb7fe92dd17ae8bd7de84640daa59e84 commit r13-2719-g0b5b8ac5cb7fe92dd17ae8bd7de84640daa59e84 Author: Georg-Johann Lay Date:

[Bug tree-optimization/68097] We should track ranges for floating-point values too

2022-09-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68097 --- Comment #8 from Aldy Hernandez --- (In reply to Richard Biener from comment #7) > Yes, I think fixed in that we can now record info on FP SSA names. There > are other bugs for specific things. > > What's not fixed is that we still recurse

[Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result

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

[Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result

2022-09-19 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #11 from Alexander Monakov --- Can we move -ffp-contract=fast under the -ffast-math umbrella and default to -ffp-contract=on/off? Isn't it easy now to implement -ffp-contract=on by a GENERIC-only match.pd rule?

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2022-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 106902, which changed state. Bug 106902 Summary: [11/12/13 Regression] Program compiled with -O3 -mfma produces different result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 What|Removed

[Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result

2022-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/68097] We should track ranges for floating-point values too

2022-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68097 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog --- Comment #7 from

[Bug tree-optimization/106963] [13 Regression] ICE in vect_gen_perm_mask_checked, at tree-vect-stmts.cc:8606

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

[Bug target/106959] [13 Regression] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads), or ICE in simplify_subreg, at simplify-rtx.cc:7405

2022-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106959 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Target

[Bug debug/106955] [13 Regression] '-fcompare-debug' failure w/ -std=c++20 -O1 -ftree-parallelize-loops=2 -fno-ipa-sra --param ggc-min-expand=55

2022-09-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106955 --- Comment #1 from Arseny Solokha --- Created attachment 53589 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53589=edit Reduced preprocessed testcase Unfortunately a 173K file is the best I could come up with after three days of