[Bug fortran/112834] Class array function selector causes chain of syntax and other spurious errors

2023-12-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112834 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Assignee|unassigned at gcc

[Bug middle-end/88345] -Os overrides -falign-functions=N on the command line

2023-12-06 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345 --- Comment #19 from Michael Matz --- (In reply to Jan Hubicka from comment #18) > Reading all the discussion again, I am leaning towards -falign-all-functions > + documentation update explaining that -falign-functions/-falign-loops are >

[Bug libgcc/109289] Conflicting types for built-in functions in libgcc/emutls.c

2023-12-06 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109289 Thomas Schwinge changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug target/112762] [14 Regression] Cannot build crosscompilers for some uclinux targets since r14-5791-g24592abd68e6ef

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112762 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:e0eca4a55bd14d506708fb0396b31e7f7383160c commit r14-6220-ge0eca4a55bd14d506708fb0396b31e7f7383160c Author: Marek Polacek Date:

[Bug target/112855] [14] RISC-V vector: vsetivli clobbers variable value

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112855 --- Comment #2 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:c9d5b46a25547035e381b0246de5cb553ca8b02d commit r14-6222-gc9d5b46a25547035e381b0246de5cb553ca8b02d Author: Juzhe-Zhong Date: Wed Dec 6

[Bug libstdc++/112480] optional::reset emits inefficient code when T is trivially-destructible

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/98531] [modules] g++.dg/modules/xtreme-header-2_a.H etc. FAIL

2023-12-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98531 --- Comment #20 from John David Anglin --- The fails have changed on hppa with gcc-14 trunk: FAIL: g++.dg/modules/xtreme-header-2_c.C -std=c++2b (test for excess errors) Excess errors:

[Bug tree-optimization/112880] ICE: in smallest_mode_for_size, at stor-layout.cc:356 with __builtin_mul_overflow() of _BitInt(1024)

2023-12-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112880 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2023-12-06

[Bug libstdc++/112882] [14 Regression] std::clamp no longer usable in header only mode

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112882 --- Comment #2 from Jonathan Wakely --- That change was broken anyway: when _GLIBCXX_ASSERTIONS was not defined, the condition in the assertion is if constexpr (is_constant_evaluated()) which is always true, even when not actually doing

[Bug libstdc++/112882] [14 Regression] std::clamp no longer usable in header only mode

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112882 --- Comment #3 from Jonathan Wakely --- This minimal fix is enough to remove the reference to __glibcxx_assert_fail when optimization is enabled (at any level): --- a/libstdc++-v3/include/bits/c++config +++

[Bug fortran/112834] Class array function selector causes chain of syntax and other spurious errors

2023-12-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112834 Paul Thomas changed: What|Removed |Added Blocks||87477 --- Comment #2 from Paul Thomas

[Bug libstdc++/112477] Assignment of value-initialized iterators differs from value-initialization

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-12-06 Ever confirmed|0

[Bug libstdc++/112882] New: [14 Regression] std::clamp no longer usable in header only mode

2023-12-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112882 Bug ID: 112882 Summary: [14 Regression] std::clamp no longer usable in header only mode Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug debug/112726] Sometimes incorrect DW_AT_decl_file with -gdwarf-5 and -fdebug-prefix-map

2023-12-06 Thread gprocida at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112726 --- Comment #1 from Giuliano Procida --- Much of the initial report can be ignored, `llvm-dwarfdump` is buggy for DWARF 5 before version 15. Here's a much simpler statement: gcc -gdwarf-5 -fdebug-prefix-map=$(pwd)= -c foo.c is broken and the

[Bug target/112762] [14 Regression] Cannot build crosscompilers for some uclinux targets since r14-5791-g24592abd68e6ef

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

[Bug target/112762] [14 Regression] Cannot build crosscompilers for some uclinux targets since r14-5791-g24592abd68e6ef

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

[Bug c++/53499] Incorrect partial ordering result with member vs non-member

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53499 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:c1e54c82a9e1855499ef7bb8827540e6a097532b commit r14-6221-gc1e54c82a9e1855499ef7bb8827540e6a097532b Author: Jason Merrill Date:

[Bug libstdc++/111948] subrange modifies a const size object

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111948 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/112881] ICE: in count_type_elements, at expr.cc:7034 when initializing struct with a _BitInt(64) member

2023-12-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112881 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2023-12-06

[Bug libstdc++/112882] [14 Regression] std::clamp no longer usable in header only mode

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112882 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug preprocessor/111965] -fno-debug-cpp does not disable -fdebug-cpp

2023-12-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111965 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug middle-end/88345] -Os overrides -falign-functions=N on the command line

2023-12-06 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345 --- Comment #20 from Jan Hubicka --- > > Live patching (user-space) doesn't depend on any particular alignment of > functions, on x86-64 at least. (The plan for other architectures wouldn't > need > any specific alignment either). Note that

[Bug target/112411] ICE: SIGSEGV with --param=min-nondebug-insn-uid=2147483647 on powerpc64le-unknown-linux-gnu

2023-12-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112411 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug libstdc++/109536] Failure to compile constexpr std::vector with -D_GLIBCXX_DEBUG

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109536 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #4 from Jonathan

[Bug c++/112737] [14 Regression] g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors)

2023-12-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112737 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org

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

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112314 --- Comment #9 from GCC Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c5c57aa7e63da2e769f4fda6e2ec9e8bd0c7b344 commit r12-10029-gc5c57aa7e63da2e769f4fda6e2ec9e8bd0c7b344 Author: Jonathan

[Bug target/112445] [14 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1861 unable to find a register to spill: {*umulditi3_1} with -O -march=cascadelake -fwrapv since r14-4968-g89e5d90

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

[Bug libstdc++/112882] [14 Regression] std::clamp no longer usable in header only mode

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112882 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/110639] [OpenMP][5.1] Predefined firstprivate for pointers - attachment missing

2023-12-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110639 --- Comment #4 from Tobias Burnus --- There are *two* independent issues: (A) Predefined firstprivate does not find mappings done in the same directive, e.g. int a[100]; int *p = [0]; #pragma omp target teams distribute map(a)

[Bug libstdc++/112480] optional::reset emits inefficient code when T is trivially-destructible

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112480 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:866870c51d58881819db6db76dcdfe3f43d89903 commit r13-8132-g866870c51d58881819db6db76dcdfe3f43d89903 Author: Jonathan

[Bug libstdc++/112832] [std::format] Broken non-SFINAE-friendly `set_debug_format()` for `const char *` formatter

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112832 --- Comment #3 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d40796e3813fdf646ca7b7ce9630d5cc121353b4 commit r13-8130-gd40796e3813fdf646ca7b7ce9630d5cc121353b4 Author: Jonathan

[Bug libstdc++/110133] System error message should ideally use strerror_r over strerror

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110133 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ca233ac9ba085e2acd385bda6a778684a0c96694 commit r13-8129-gca233ac9ba085e2acd385bda6a778684a0c96694 Author: Jonathan

[Bug libstdc++/112473] integer_sequence accepts non-integer types

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f6ed5e0715da7040b04c465424bb33fcb95a5c20 commit r13-8131-gf6ed5e0715da7040b04c465424bb33fcb95a5c20 Author: Jonathan

[Bug libstdc++/111948] subrange modifies a const size object

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111948 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:be26992b3115b95189ac02fcf25902cb5430c0e1 commit r13-8133-gbe26992b3115b95189ac02fcf25902cb5430c0e1 Author: Jonathan

[Bug libstdc++/110133] System error message should ideally use strerror_r over strerror

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110133 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug libstdc++/112832] [std::format] Broken non-SFINAE-friendly `set_debug_format()` for `const char *` formatter

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112832 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/112883] New: FAIL: g++.dg/modules/xtreme-header-2_c.C -std=c++2b (test for excess errors)

2023-12-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112883 Bug ID: 112883 Summary: FAIL: g++.dg/modules/xtreme-header-2_c.C -std=c++2b (test for excess errors) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/112884] New: Missing optimization: fold a%2==0 ? a/2*2 : 0 to a%2==0 ? a : 0

2023-12-06 Thread xxs_chy at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112884 Bug ID: 112884 Summary: Missing optimization: fold a%2==0 ? a/2*2 : 0 to a%2==0 ? a : 0 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/112882] [14 Regression] std::clamp no longer usable in header only mode

2023-12-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112882 Jonathan Wakely changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/112885] New: FAIL: gcc.dg/tree-ssa/ssa-sink-16.c (internal compiler error: Segmentation fault )

2023-12-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112885 Bug ID: 112885 Summary: FAIL: gcc.dg/tree-ssa/ssa-sink-16.c (internal compiler error: Segmentation fault ) Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/112871] [14 Regression] RISCV ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn) with -03 rv32gc_zicond

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

[Bug middle-end/112872] [14 Regression] RISCV ICE: in store_integral_bit_field, at expmed.cc:1049 with -03 rv64gcv_zvl1024b --param=riscv-autovec-preference=fixed-vlmax

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

[Bug rtl-optimization/112875] [14 Regression] ICE: in lra_eliminate_regs_1, at lra-eliminations.cc:670 with -Oz -frounding-math -fno-dce -fno-trapping-math -fno-tree-dce -fno-tree-dse -g

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

[Bug c++/48026] #pragma optimize ignored for C++ for preprocessor

2023-12-06 Thread gb.devel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48026 Gwenole Beauchesne changed: What|Removed |Added CC||gb.devel at gmail dot com ---

[Bug c++/48026] #pragma optimize ignored for C++ for preprocessor

2023-12-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48026 --- Comment #6 from Sam James --- (In reply to Gwenole Beauchesne from comment #5) > Created attachment 56811 [details] > Proposed patch against trunk > > Here is a proposed patch against trunk, which includes a fix for PR > preprocessor/87299

[Bug preprocessor/87299] #pragma GCC target behaves differently when using -save-temps

2023-12-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87299 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org Target

[Bug preprocessor/87299] #pragma GCC target behaves differently when using -save-temps

2023-12-06 Thread gb.devel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87299 --- Comment #8 from Gwenole Beauchesne --- Hi, can you please consider a backport to GCC 13 branch? The patch applies cleanly as is, but causes regressions that are further fixed with e45c564e (for PR pch/112319). GCC 13 is the first and most

[Bug libstdc++/112876] ranges:to: c.end() is unnecessarily assigned by the return value of c.emplace()

2023-12-06 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112876 康桓瑋 changed: What|Removed |Added Summary|rangesc.end() is|ranges:to: c.end() is

[Bug tree-optimization/106511] [13/14 Regression] New -Werror=maybe-uninitialized since r13-1268-g8c99e307b20c502e

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

[Bug middle-end/112572] [14 regression] LLVM miscompiled since r14-5355-g3cd3a09b3f91a1

2023-12-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112572 --- Comment #33 from Jakub Jelinek --- This should be now hopefully latent after r14-6210-ge44ed92dbbe9d4e5c23f486cd2f77a6f9ee513c5, we need to decide about the updating and usability of REG_UNUSED notes, but after moving the pass it shouldn't

[Bug c++/41201] #pragma GCC target ("sse2") doesn't alter __SSE2__ in C++ (as it does in C)

2023-12-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201 Sam James changed: What|Removed |Added Depends on||87299 Target Milestone|---

[Bug libstdc++/112876] New: rangesc.end() is unnecessarily assigned by the return value of c.emplace()

2023-12-06 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112876 Bug ID: 112876 Summary: rangesc.end() is unnecessarily assigned by the return value of c.emplace() Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/112809] during GIMPLE pass: bitintlower ICE: in limb_access_type, at gimple-lower-bitint.cc:563 at -O1 and above

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112809 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0ca64f846edce3c7b7f26bcc5978118e560e65b1 commit r14-6209-g0ca64f846edce3c7b7f26bcc5978118e560e65b1 Author: Jakub Jelinek Date:

[Bug rtl-optimization/112760] [14 Regression] wrong code with -O2 -fno-dce -fno-guess-branch-probability -m8bit-idiv -mavx --param=max-cse-insns=0 and __builtin_add_overflow_p() since r14-5355

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112760 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e44ed92dbbe9d4e5c23f486cd2f77a6f9ee513c5 commit r14-6210-ge44ed92dbbe9d4e5c23f486cd2f77a6f9ee513c5 Author: Jakub Jelinek Date:

[Bug rtl-optimization/112760] [14 Regression] wrong code with -O2 -fno-dce -fno-guess-branch-probability -m8bit-idiv -mavx --param=max-cse-insns=0 and __builtin_add_overflow_p() since r14-5355

2023-12-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112760 --- Comment #7 from Jakub Jelinek --- This is now latent, we need to decide about the updating and usability of REG_UNUSED notes, but after moving the pass it shouldn't trigger on this testcase.

[Bug middle-end/112877] New: TARGET_PROMOTE_PROTOTYPES is not honored consistently, should maybe not apply to builtins

2023-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112877 Bug ID: 112877 Summary: TARGET_PROMOTE_PROTOTYPES is not honored consistently, should maybe not apply to builtins Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/41201] #pragma GCC target ("sse2") doesn't alter __SSE2__ in C++ (as it does in C)

2023-12-06 Thread gb.devel at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201 Gwenole Beauchesne changed: What|Removed |Added CC||gb.devel at gmail dot com ---

[Bug c++/41201] #pragma GCC target ("sse2") doesn't alter __SSE2__ in C++ (as it does in C)

2023-12-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201 Sam James changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/48026] #pragma optimize ignored for C++ for preprocessor

2023-12-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48026 Bug 48026 depends on bug 41201, which changed state. Bug 41201 Summary: #pragma GCC target ("sse2") doesn't alter __SSE2__ in C++ (as it does in C) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201 What|Removed

[Bug target/112868] GCC passes -many to the assembler for --enable-checking=release builds

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

[Bug libstdc++/112876] ranges:to: c.end() is unnecessarily assigned by the return value of c.emplace()

2023-12-06 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112876 --- Comment #2 from 康桓瑋 --- I believe the above is well-formed after LWG 4016. In addition, container-appendable requires `c.emplace(c.end(), *it)` to be well-formed but `auto end = c.end(); c.emplace(end, *it);` may not be. Sorry for the

[Bug middle-end/112872] [14 Regression] RISCV ICE: in store_integral_bit_field, at expmed.cc:1049 with -03 rv64gcv_zvl1024b --param=riscv-autovec-preference=fixed-vlmax

2023-12-06 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112872 --- Comment #2 from Robin Dapp --- Thanks. Yes that's similar and also looks fixed by the introduction of the vec_init expander. Added this test case to the patch and will push it soon.

[Bug tree-optimization/112809] during GIMPLE pass: bitintlower ICE: in limb_access_type, at gimple-lower-bitint.cc:563 at -O1 and above

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

[Bug middle-end/88345] -Os overrides -falign-functions=N on the command line

2023-12-06 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345 Jan Hubicka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/112872] [14 Regression] RISCV ICE: in store_integral_bit_field, at expmed.cc:1049 with -03 rv64gcv_zvl1024b --param=riscv-autovec-preference=fixed-vlmax

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112872 --- Comment #3 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:056cce412862f8d9b56a40dfbcbc3f9fa7f92883 commit r14-6211-g056cce412862f8d9b56a40dfbcbc3f9fa7f92883 Author: Robin Dapp Date: Tue

[Bug middle-end/112854] [14] RISCV ICE: expand: in store_integral_bit_field, at expmed.cc:1049 on rv32gcv_zvl1024b --param=riscv-autovec-preference=fixed-vlmax

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112854 --- Comment #4 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:056cce412862f8d9b56a40dfbcbc3f9fa7f92883 commit r14-6211-g056cce412862f8d9b56a40dfbcbc3f9fa7f92883 Author: Robin Dapp Date: Tue

[Bug tree-optimization/89618] Inner loop won't vectorize unless dummy statement is included

2023-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89618 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #25 from Romain Geissler --- So it means we should rather go for "silencing" workaround from comment #19 ?

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #26 from rguenther at suse dot de --- On Wed, 6 Dec 2023, romain.geissler at amadeus dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 > > --- Comment #25 from Romain Geissler --- > So it means we should rather

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug target/112853] RISC-V: RVV: SPEC2017 525.x264 regression

2023-12-06 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112853 --- Comment #8 from Robin Dapp --- With Juzhe's latest fix that disables VLS modes >= 128 bit for zvl128b x264 runs without issues here and some of the additional execution failures are gone. Will post the current comparison later.

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #24 from Richard Biener --- The bug wasn't about uninit diagnostics with ASAN but without. There are plenty of diagnostic "bugs" when sanitizing is enabled and those are really hard to fix since plenty of diagnostics rely on

[Bug middle-end/98673] pass fre4 inhibit pass dom3 to create much more optimized code

2023-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98673 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2023-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 106722, which changed state. Bug 106722 Summary: bogus uninit warning in tree-vect-loop-manip.cc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106722 What|Removed |Added

[Bug tree-optimization/106722] bogus uninit warning in tree-vect-loop-manip.cc

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

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #27 from Jakub Jelinek --- That is just a very partial solution. As mentioned in lots of other bugreports, one should simply ignore or take with a grain of salt warnings from the instrumented builds (whether it is

[Bug debug/112878] New: ICE: in ctf_add_slice, at ctfc.cc:499 with -std=c23 -gctf1

2023-12-06 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112878 Bug ID: 112878 Summary: ICE: in ctf_add_slice, at ctfc.cc:499 with -std=c23 -gctf1 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libgcc/109289] Conflicting types for built-in functions in libgcc/emutls.c

2023-12-06 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109289 Thomas Schwinge changed: What|Removed |Added CC||burnus at gcc dot gnu.org ---

[Bug target/112879] New: [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4

2023-12-06 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112879 Bug ID: 112879 Summary: [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2023-12-06 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #28 from Romain Geissler --- Ok it's clear. I haven't really played yet with sanitizers, I didn't know it had these well known "issue" with creating more middle end false positive warnings (I am used to them in LTO mode). So I will

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

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

[Bug libgcc/109289] Conflicting types for built-in functions in libgcc/emutls.c

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109289 --- Comment #9 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d7ceffab96ecd021d3e869dff33d0ad4b8577c4f commit r14-6218-gd7ceffab96ecd021d3e869dff33d0ad4b8577c4f Author: Jakub Jelinek Date:

[Bug tree-optimization/112880] New: ICE: in smallest_mode_for_size, at stor-layout.cc:356 with __builtin_mul_overflow() of _BitInt(1024)

2023-12-06 Thread zsojka at seznam dot cz via Gcc-bugs
ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-6210-20231206095912-ge44ed92dbbe-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231206 (experimental) (GCC)

[Bug target/112879] [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4

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

[Bug libstdc++/112858] [14 Regression] nvptx: 'unresolved symbol __cxa_thread_atexit_impl'

2023-12-06 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112858 --- Comment #5 from Thomas Schwinge --- (I did see that the '__cxa_thread_atexit_impl' issue has been resolved differently, but there is a genuine GCC/nvptx issue here.) (In reply to myself from comment #1) > Indeed in

[Bug middle-end/112881] New: ICE: in count_type_elements, at expr.cc:7034 when initializing struct with a _BitInt(64) member

2023-12-06 Thread zsojka at seznam dot cz via Gcc-bugs
bootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231206 (experimental) (GCC)

[Bug target/112879] [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4

2023-12-06 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112879 --- Comment #2 from Hongtao Liu --- (In reply to Richard Biener from comment #1) > Possibly the reduc_* support in the backend now BB vectorizes unprofitable > cases. maybe zmm reduction, and we should have reasonable cost for reduction

[Bug target/112891] [10/11/12/13/14 Regression] Missing vzeroupper insert.

2023-12-06 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112891 --- Comment #2 from Hongtao Liu --- (In reply to Hongtao Liu from comment #1) > Aaused by r10-3477-g2a2e3a0dfcbe08, Can be fixed by revert the patch. > > --- a/gcc/config/i386/i386.cc > +++ b/gcc/config/i386/i386.cc > @@ -15032,14 +15032,7 @@

[Bug testsuite/112894] [14 Regression] g++.dg/warn/Winvalid-memory-model-2.C fails

2023-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112894 --- Comment #2 from Andrew Pinski --- Maybe caused by https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5e8a30d8b8f4d7ea0a8340b46c1e0c865dbde781 ...

[Bug analyzer/112850] -Wanalyzer-tainted-allocation-size false positive seen in Linux kernel's sound/core/rawmidi.c

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112850 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:08b7462d3ad8e5acd941b7c777c5b26b4064d686 commit r14-6239-g08b7462d3ad8e5acd941b7c777c5b26b4064d686 Author: David Malcolm Date:

[Bug analyzer/103546] -Wanalyzer-null-dereference false positives reported on flex-generated scanners

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103546 --- Comment #8 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:08b7462d3ad8e5acd941b7c777c5b26b4064d686 commit r14-6239-g08b7462d3ad8e5acd941b7c777c5b26b4064d686 Author: David Malcolm Date:

[Bug tree-optimization/112859] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e

2023-12-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112859 Sam James changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug modula2/112893] gm2 fails to detect procedure address actual parameter is incompatible with cardinal formal parameter

2023-12-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112893 --- Comment #2 from Gaius Mulley --- This bug has been forwarded from the gm2 mailing list.

[Bug libstdc++/112858] [14 Regression] nvptx: 'unresolved symbol __cxa_thread_atexit_impl'

2023-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112858 --- Comment #7 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:3d0f3382fa7b5677f35a9becf75ac436cd7eda7b commit r14-6261-g3d0f3382fa7b5677f35a9becf75ac436cd7eda7b Author: Alexandre Oliva

[Bug middle-end/112411] ICE: SIGSEGV with --param=min-nondebug-insn-uid=2147483647 on powerpc64le-unknown-linux-gnu

2023-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112411 --- Comment #10 from Richard Biener --- vec<> doesn't really support "large" vectors: unsigned m_alloc : 31; unsigned m_using_auto_storage : 1; unsigned m_num; so it's basically using 'int'. I guess we should make that alloc = (alloc *

[Bug testsuite/112894] [14 Regression] g++.dg/warn/Winvalid-memory-model-2.C fails

2023-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112894 --- Comment #1 from Andrew Pinski --- Started at or before r14-6204-g953a9302d1 : https://gcc.gnu.org/pipermail/gcc-testresults/2023-December/802491.html

[Bug testsuite/112894] New: [14 Regression] g++.dg/warn/Winvalid-memory-model-2.C fails

2023-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112894 Bug ID: 112894 Summary: [14 Regression] g++.dg/warn/Winvalid-memory-model-2.C fails Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: testsuite-fail

[Bug testsuite/112894] [14 Regression] g++.dg/warn/Winvalid-memory-model-2.C fails

2023-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112894 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug middle-end/112895] New: ICE: error reporting routines re-entered. (in check_tag cp/class.cc:1474) with -fdiagnostics-format=sarif-stderr on simple C++ code

2023-12-06 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112895 Bug ID: 112895 Summary: ICE: error reporting routines re-entered. (in check_tag cp/class.cc:1474) with -fdiagnostics-format=sarif-stderr on simple C++ code Product: gcc

[Bug tree-optimization/61338] too many permutation in a vectorized "reverse loop"

2023-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61338 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

  1   2   >