[Bug target/111600] [14 Regression] RISC-V bootstrap time regression

2023-11-02 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600 --- Comment #30 from Robin Dapp --- On my machine it is not nearly as bad as insn-emit.cc. What dominates for me with a GCC 13 host compiler is the already fixed insn-opinit problem. How long does it take for you (maybe in % of the total

[Bug ipa/111571] [13/14 Regression] ICE in modify_call, at ipa-param-manipulation.cc:656

2023-11-02 Thread noamlewis at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111571 Noam Lewis changed: What|Removed |Added CC||noamlewis at google dot com --- Comment

[Bug c/112339] ICE with clang::no_sanitize and -fsanitize=

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

[Bug c/112347] New: [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
algorithms: zlib gcc version 14.0.0 20231102 (experimental) (GCC)

[Bug tree-optimization/112325] Missed vectorization of reduction after unrolling

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112325 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 Sergei Trofimovich changed: What|Removed |Added CC||muecker at gwdg dot de ---

[Bug target/112330] [14 Regression] LoongArch: Bootstrap failure with GAS 2.41

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

[Bug tree-optimization/112331] Fail vectorization after loop interchange

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112331 Richard Biener changed: What|Removed |Added Summary|middle-end: Fail|Fail vectorization after

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 --- Comment #2 from Sergei Trofimovich --- A bit of debugging: Program received signal SIGSEGV, Segmentation fault. 0x007bfff6 in convert_for_assignment (location=location@entry=263654, expr_loc=expr_loc@entry=0,

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug testsuite/112340] [14 regression] assembler instruction counts off for gcc.target/powerpc/pr106550_1.c

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112340 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Target Milestone|---

[Bug middle-end/112344] [14 Regression] Wrong code at -O2 on x86_64-pc-linux-gnu

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112344 Richard Biener changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

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

[Bug tree-optimization/112331] Fail vectorization after loop interchange

2023-11-02 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112331 --- Comment #4 from JuzheZhong --- I see. It does vectorize it with -fno-vect-cost-model -fno-loop-interchange: https://gcc.godbolt.org/z/8EEWcPro3 Codegen same as LLVM. I am gonna revisit it in GCC-15 (GCC-14 stage 1 is closing soon).

[Bug libstdc++/112348] New: [C++23] defect in struct hash>

2023-11-02 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112348 Bug ID: 112348 Summary: [C++23] defect in struct hash> Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 --- Comment #3 from Martin Uecker --- Thanks for reporting. I will fix this.

[Bug target/112313] [14 Regression] GCN target 'gcc.dg/pr111082.c' ICE, 'during RTL pass: vregs': 'error: unrecognizable insn'

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

[Bug fortran/112316] [13 Regression] Fix for PR87477 rejects valid code with a bogus error about pointer assignment and causes an ICE since r13-7761-gd6997a5aab7aaa325946a6283bfee8ac2bd9f540

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112316 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Priority|P3

[Bug pch/112319] [14 Regression] segfault with pch and #pragma GCC diagnostic

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

[Bug tree-optimization/112320] [14 Regression] crash from insert_debug_temp_for_var_def since r14-5032-ge3da1d7bb288c8

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112320 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c/112345] New: ice in mark_block_for_update

2023-11-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112345 Bug ID: 112345 Summary: ice in mark_block_for_update Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/112345] [14 Regression] ice in mark_block_for_update

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112345 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|c

[Bug tree-optimization/112345] [14 Regression] ice in mark_block_for_update

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112345 --- Comment #2 from Andrew Pinski --- We have now: # DEBUG p => D#1

[Bug tree-optimization/112320] [14 Regression] crash from insert_debug_temp_for_var_def since r14-5032-ge3da1d7bb288c8

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

[Bug tree-optimization/112345] [14 Regression] ice in mark_block_for_update

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

[Bug tree-optimization/112320] [14 Regression] crash from insert_debug_temp_for_var_def since r14-5032-ge3da1d7bb288c8

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

[Bug tree-optimization/112328] [14 Regression] ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

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

[Bug tree-optimization/112328] [14 Regression] ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112328 --- Comment #5 from Andrew Pinski --- Before the patch: # DEBUG s => s_42 After: # DEBUG s => D#1 And no reference to D#1 ...

[Bug target/112330] [14 Regression] LoongArch: Bootstrap failure with GAS 2.41

2023-11-02 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #14 from chenglulu --- (In reply to Xi Ruoyao from comment #13) > (In reply to chenglulu from comment #12) > > (In reply to Xi Ruoyao from comment #11) > > > I cherry-picked f87cf663af71e5d78c8d647fa48562102f3b0615 for Binutils 2.41

[Bug libstdc++/112314] Missing index assertions in basic_string_view

2023-11-02 Thread jdapena at igalia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112314 --- Comment #2 from Jose Dapena Paz --- (In reply to Jonathan Wakely from comment #1) > For the second one, I did start work on a patch that attempts to verify that > the provided length is not more than __builtin_object_size. I can't remember

[Bug c/112346] New: Wrong code produced with -O2

2023-11-02 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112346 Bug ID: 112346 Summary: Wrong code produced with -O2 Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/112346] [13 Regression] Wrong code produced with -O2

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

[Bug tree-optimization/111519] [13/14 Regression] Wrong code at -O3 on x86_64-linux-gnu since r13-455-g1fe04c497d

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

[Bug tree-optimization/112346] [13 Regression] Wrong code produced with -O2

2023-11-02 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112346 Shaohua Li changed: What|Removed |Added CC||shaohua.li at inf dot ethz.ch --- Comment

[Bug tree-optimization/112346] [13 Regression] Wrong code produced with -O2

2023-11-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112346 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/112346] [13 Regression] Wrong code produced with -O2

2023-11-02 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112346 --- Comment #4 from Fedor Chelnokov --- According to referenced stackoverflow discussion, the code is reduced from https://github.com/vermaseren/form see https://github.com/vermaseren/form/issues/461

[Bug c++/110342] [C++26] P2361R6 - Unevaluated strings

2023-11-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110342 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/112344] [14 Regression] Wrong code at -O2 on x86_64-pc-linux-gnu

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112344 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Ever confirmed|0

[Bug c++/110338] Implement C++26 language features

2023-11-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 110342, which changed state. Bug 110342 Summary: [C++26] P2361R6 - Unevaluated strings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110342 What|Removed |Added

[Bug target/112330] [14 Regression] LoongArch: Bootstrap failure with GAS 2.41

2023-11-02 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #10 from chenglulu --- (In reply to Xi Ruoyao from comment #9) > Xuerui informed me that non-LTO bootstrapping is broken too. Well, this has nothing to do with whether to open lto or not, it is caused by binutils inserting "nop"

[Bug c++/112335] missed optimization on reset and assign unique_ptr

2023-11-02 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112335 --- Comment #5 from Federico Kircheis --- Ok, the described case would be something like std::unique_ptr t; __thread bool tt; inline s::~s() { if (tt) return; tt = true; t.reset(new s); tt = false; } std::unique_ptr t2;

[Bug middle-end/112344] New: [14 Regression] Wrong code at -O2 on x86_64-pc-linux-gnu

2023-11-02 Thread jwzeng at nuaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112344 Bug ID: 112344 Summary: [14 Regression] Wrong code at -O2 on x86_64-pc-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/112344] [14 Regression] Wrong code at -O2 on x86_64-pc-linux-gnu

2023-11-02 Thread jwzeng at nuaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112344 --- Comment #3 from Junwei Zeng --- (In reply to Andrew Pinski from comment #2) > Corrected testcase: > ``` > int printf(const char *, ...); > void a() { > long b = 2036854775807; > char c = 3; > short d; > int e = -2147483648, f = 0; >

[Bug c++/112335] missed optimization on reset and assign unique_ptr

2023-11-02 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112335 --- Comment #2 from Federico Kircheis --- > Well s::~s could touch the reference std::unique_ptr (ps1). In both cases, s::~s is called only once. Also during the move-assignment no user-provided-code is involved (except the destruction of

[Bug c++/112335] missed optimization on reset and assign unique_ptr

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112335 --- Comment #4 from Andrew Pinski --- (In reply to Federico Kircheis from comment #2) > > Well s::~s could touch the reference std::unique_ptr (ps1). > > In both cases, s::~s is called only once. > > Also during the move-assignment no

[Bug middle-end/112344] [14 Regression] Wrong code at -O2 on x86_64-pc-linux-gnu

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112344 --- Comment #2 from Andrew Pinski --- Corrected testcase: ``` int printf(const char *, ...); void a() { long b = 2036854775807; char c = 3; short d; int e = -2147483648, f = 0; for (; f < 7; f++) while (e < 20) { e += 2;

[Bug middle-end/112344] [14 Regression] Wrong code at -O2 on x86_64-pc-linux-gnu

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112344 --- Comment #1 from Andrew Pinski --- Did you copy the correct testcase? Because it looks like you just copied the one from PR 112305 and the output is way different.

[Bug c++/110342] [C++26] P2361R6 - Unevaluated strings

2023-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110342 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1c58566450f21cf1d9951284176ea6da0cc11fc9 commit r14-5071-g1c58566450f21cf1d9951284176ea6da0cc11fc9 Author: Jakub Jelinek Date:

[Bug c++/112335] missed optimization on reset and assign unique_ptr

2023-11-02 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112335 --- Comment #3 from Federico Kircheis --- Or maybe I've misunderstood your comment. Do you have a specific scenario in mind where the two snippets would exhibit different behaviors?

[Bug target/112330] [14 Regression] LoongArch: Bootstrap failure with GAS 2.41

2023-11-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #11 from Xi Ruoyao --- I cherry-picked f87cf663af71e5d78c8d647fa48562102f3b0615 for Binutils 2.41 and get some better error message: t.s:98064: Error: Reloc overflow t.s:101127: Error: Reloc overflow t.s:101453: Error: Reloc

[Bug tree-optimization/112331] middle-end: Fail vectorization

2023-11-02 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112331 --- Comment #2 from JuzheZhong --- Reduced case: #include #define LEN 32000 #define ntimes 20 #define TYPE int #define lll LEN #define LEN2 256 #define ALIGNMENT 16 __attribute__ ((aligned(ALIGNMENT))) TYPE

[Bug target/112330] [14 Regression] LoongArch: Bootstrap failure with GAS 2.41

2023-11-02 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #12 from chenglulu --- (In reply to Xi Ruoyao from comment #11) > I cherry-picked f87cf663af71e5d78c8d647fa48562102f3b0615 for Binutils 2.41 > and get some better error message: > > t.s:98064: Error: Reloc overflow > t.s:101127:

[Bug target/112330] [14 Regression] LoongArch: Bootstrap failure with GAS 2.41

2023-11-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #13 from Xi Ruoyao --- (In reply to chenglulu from comment #12) > (In reply to Xi Ruoyao from comment #11) > > I cherry-picked f87cf663af71e5d78c8d647fa48562102f3b0615 for Binutils 2.41 > > and get some better error message: > > >

[Bug target/109811] libjxl 0.7 is a lot slower in GCC 13.1 vs Clang 16

2023-11-02 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109811 --- Comment #13 from Jan Hubicka --- So I re-tested it with current mainline and clang 16/17 For mainline I get (megapixels per second, bigger is better): 13.39 13.38 13.42 clang 16: 20.06 20.06

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 --- Comment #8 from Sergei Trofimovich --- (In reply to Martin Uecker from comment #6) > Created attachment 56491 [details] > patch > > Ok, let's try again... The change fixes jemalloc and boehm-gc builds for me. Thank you!

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-02 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 --- Comment #3 from Stam Markianos-Wright --- Created attachment 56493 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56493=edit Full preprocessor reproducer

[Bug analyzer/112317] Latest set of clang warnings

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

[Bug c++/112349] New: ranges::max makes unecessary copies

2023-11-02 Thread ted at lyncon dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112349 Bug ID: 112349 Summary: ranges::max makes unecessary copies Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 Martin Uecker changed: What|Removed |Added Attachment #56489|0 |1 is obsolete|

[Bug target/112330] [14 Regression] LoongArch: Outputted .align directive may trigger assembler error with GAS 2.41

2023-11-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 Xi Ruoyao changed: What|Removed |Added Keywords|build | Summary|[14 Regression]

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 Martin Uecker changed: What|Removed |Added Attachment #56490|0 |1 is obsolete|

[Bug tree-optimization/100457] [meta-bug] Bugs relating to the enabling of vectorization at -O2 in GCC 12+

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100457 Bug 100457 depends on bug 102383, which changed state. Bug 102383 Summary: Missing optimization for PRE after enable O2 vectorization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102383 What|Removed |Added

[Bug tree-optimization/102383] Missing optimization for PRE after enable O2 vectorization

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

[Bug libstdc++/112314] Missing index assertions in basic_string_view

2023-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112314 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6afa984f47e16e8bd958646d7407b74e61041f5d commit r14-5085-g6afa984f47e16e8bd958646d7407b74e61041f5d Author: Jonathan Wakely

[Bug libstdc++/112351] New: libstdc++ locale init doesn't handle __gthread_once failure

2023-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112351 Bug ID: 112351 Summary: libstdc++ locale init doesn't handle __gthread_once failure Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 --- Comment #4 from Martin Uecker --- Created attachment 56489 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56489=edit patch This should fix it. I am running some tests and will commit this.

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com ---

[Bug target/112329] Faulty arithmetic comparison in O2, O3 of s390x-gcc with -march=z13

2023-11-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112329 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-02 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 --- Comment #2 from Stam Markianos-Wright --- Created attachment 56492 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56492=edit creduced reproducer

[Bug libstdc++/112351] libstdc++ locale init doesn't handle __gthread_once failure

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

[Bug analyzer/112317] Latest set of clang warnings

2023-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112317 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:c71028c979d55f98b7727f9387bbe2f4ffe6de13 commit r14-5080-gc71028c979d55f98b7727f9387bbe2f4ffe6de13 Author: David Malcolm Date:

[Bug c++/69549] Named Address Spaces does not compile in C++

2023-11-02 Thread jwjagersma at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69549 --- Comment #12 from jwjagersma at gmail dot com --- (In reply to Xi Ruoyao from comment #11) > Generally a patch should be sent to gcc-patc...@gcc.gnu.org. See > https://gcc.gnu.org/contribute.html. The patches attached to a Bugzilla > ticket

[Bug target/112334] ICE in gen_untyped_return arm.md:9197 while compiling harden-cfr-bret.c

2023-11-02 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112334 --- Comment #1 from Richard Earnshaw --- This might be a side issue, but: @defbuiltin{{void} __builtin_return (void *@var{result})} This built-in function returns the value described by @var{result} from the containing function. You should

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 --- Comment #9 from CVS Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:f432a594fe6d3a0de1330ba69200d158e6248083 commit r14-5084-gf432a594fe6d3a0de1330ba69200d158e6248083 Author: Martin Uecker Date:

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-11-02 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #9 from Vineet Gupta --- (In reply to Patrick O'Neill from comment #8) > Updated regression list using r14-5070-g4ea36076d66 on rv64gcv: > > Failure list from: > https://github.com/patrick-rivos/gcc-postcommit-ci/issues/109 And

[Bug libstdc++/112314] Missing index assertions in basic_string_view

2023-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112314 --- Comment #6 from Jonathan Wakely --- Created attachment 56494 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56494=edit Check [ptr,end) and [ptr,ptr+n) ranges with _GLIBCXX_ASSERTIONS With this change we could add:

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 --- Comment #10 from David Binderman --- When this patch was tested, did that include a build of libgfortran ? I am getting some strange new warnings: ../../../trunk.year/libgfortran/io/async.c:265:24: warning: allocation of insufficient size

[Bug tree-optimization/102138] t = a==0 and a = PHI<0, t> should be done earlier than PRE

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

[Bug c++/112355] Internal compiler error when exporting using declaration of function template

2023-11-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112355 David Stone changed: What|Removed |Added CC||davidfromonline at gmail dot com ---

[Bug fortran/97245] ASSOCIATED intrinsic does not recognize a pointer variable the second time it is used

2023-11-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97245 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|ASSOCIATE intrinsic does|ASSOCIATED intrinsic does

[Bug libstdc++/112314] Missing index assertions in basic_string_view

2023-11-02 Thread jdapena at igalia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112314 --- Comment #5 from Jose Dapena Paz --- (In reply to Jonathan Wakely from comment #4) > (In reply to Jose Dapena Paz from comment #2) > > In any case, the failing test is actually passing -1, my understanding is > > that that one should always

[Bug tree-optimization/102138] t = a==0 and a = PHI<0, t> should be done earlier than PRE

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102138 --- Comment #4 from Andrew Pinski --- This is the generic solution to what was done to fix PR 104639.

[Bug libstdc++/112314] Missing index assertions in basic_string_view

2023-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112314 --- Comment #4 from Jonathan Wakely --- (In reply to Jose Dapena Paz from comment #2) > In any case, the failing test is actually passing -1, my understanding is > that that one should always assert no matter what we are passing as const >

[Bug rtl-optimization/109035] meaningless memory store on RISC-V and LoongArch

2023-11-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109035 --- Comment #8 from Jeffrey A. Law --- No spills on rv64 either.

[Bug c++/109740] -Woverloaded-virtual is too aggressive

2023-11-02 Thread emerg.reanimator at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109740 --- Comment #5 from Alexander Goomenuk --- Created attachment 56495 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56495=edit Overloaded virtual testcase Another relevant issue with gcc (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4) and

[Bug tree-optimization/112357] New: Documentation for vect-max-peeling-for-alignment references -1 but -1 does not work

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112357 Bug ID: 112357 Summary: Documentation for vect-max-peeling-for-alignment references -1 but -1 does not work Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/112350] gcc is not triggering a dangling reference indicating stack use after return

2023-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112350 --- Comment #1 from Andrew Pinski --- With optimization enabled and without -fsanitize=address we get: : In function 'const int& foo1()': :12:18: warning: using a dangling pointer to 'x' [-Wdangling-pointer=] 12 | return s.get();

[Bug c++/112354] mismatched types 'B' and 'B&' for generic lambda noexcept-specifier referencing enclosing function parameter

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

[Bug target/112337] arm: ICE in arm_effective_regno when compiling for MVE

2023-11-02 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 --- Comment #4 from Stam Markianos-Wright --- Bisected to f55cdce3f8dd8503e080e35be59c5f5390f6d95e Attached preprocessed source and a creduced-reproducer of it

[Bug c++/106849] internal compiler error: tree check: expected none of template_decl, have template_decl in do_nonmember_using_decl, at cp/name-lookup.cc:4841

2023-11-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 --- Comment #2 from David Stone --- Looks like it works in 13.2 but fails in trunk. 13.2: https://godbolt.org/z/d54ToW7zW trunk: https://godbolt.org/z/eej9d7ccM

[Bug fortran/112316] [13 Regression] Fix for PR87477 rejects valid code with a bogus error about pointer assignment and causes an ICE since r13-7761-gd6997a5aab7aaa325946a6283bfee8ac2bd9f540

2023-11-02 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112316 Paul Thomas changed: What|Removed |Added Last reconfirmed||2023-11-02 Ever confirmed|0

[Bug libstdc++/112314] Missing index assertions in basic_string_view

2023-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112314 --- Comment #7 from Jonathan Wakely --- (In reply to Jose Dapena Paz from comment #5) > - The length is less than the possible pointer difference (checked with > numeric_limits). That seems too lenient to me, because for wchar_t, char16_t and

[Bug sanitizer/112353] New: asan-enabled, aarch64-gcc cross-compiled elf executables fail ro run in qemu-user on x86

2023-11-02 Thread robert at bedrocksystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112353 Bug ID: 112353 Summary: asan-enabled, aarch64-gcc cross-compiled elf executables fail ro run in qemu-user on x86 Product: gcc Version: 12.3.0 Status: UNCONFIRMED

[Bug c++/112335] missed optimization on reset and assign unique_ptr

2023-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112335 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug c++/112355] New: Internal compiler error when exporting using declaration of function template

2023-11-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112355 Bug ID: 112355 Summary: Internal compiler error when exporting using declaration of function template Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/112354] New: mismatched types 'B' and 'B&' for generic lambda noexcept-specifier referencing enclosing function parameter

2023-11-02 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112354 Bug ID: 112354 Summary: mismatched types 'B' and 'B&' for generic lambda noexcept-specifier referencing enclosing function parameter Product: gcc Version: 14.0

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-11-02 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #8 from Patrick O'Neill --- Updated regression list using r14-5070-g4ea36076d66 on rv64gcv: === gcc: Unexpected fails for rv64gcv lp64d medlow === FAIL: gcc.c-torture/execute/memset-3.c -O3 -fomit-frame-pointer

[Bug tree-optimization/110116] [12/13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2023-11-02 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110116 Thomas Koenig changed: What|Removed |Added Summary|[12/13/14 Regression] ICE |[12/13 Regression] ICE on

[Bug c/112347] [14 regression] ICE on jemalloc-5.3.0: Segmentation fault around convert_for_assignment()

2023-11-02 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347 --- Comment #11 from Martin Uecker --- In this case this is by design because the size of an element should be second argument to calloc. ("The calloc function allocates space for an array of nmemb objects, each of whose size is size.")

[Bug c++/112355] Internal compiler error when exporting using declaration of function template

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

  1   2   >