[Bug target/113950] PowerPC, ICE with -O1 or higher compiling __builtin_vsx_splat_2di test case

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113950 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by jeevitha : https://gcc.gnu.org/g:1b91818e47119863f827b19ae4c6c91af3962cd6 commit r12-10406-g1b91818e47119863f827b19ae4c6c91af3962cd6 Author: Jeevitha Date:

[Bug libstdc++/114863] std::format applying grouping to nan's and inf's

2024-04-30 Thread lcarreon at bigpond dot net.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114863 --- Comment #7 from Leo Carreon --- I'm assuming the fix is for all floating point types not just double.

[Bug rtl-optimization/114902] [14/15 Regression] wrong code at -O3 with "-fno-tree-vrp -fno-expensive-optimizations -fno-tree-dominator-opts" on x86_64-linux-gnu

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114902 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > here is a reduced testcase: > Note ` -O1 -fno-tree-fre -fno-tree-forwprop -fno-tree-ccp > -fno-tree-dominator-opts` This testcase is broken in GCC 13 for

[Bug rtl-optimization/114902] [14/15 Regression] wrong code at -O3 with "-fno-tree-vrp -fno-expensive-optimizations -fno-tree-dominator-opts" on x86_64-linux-gnu

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114902 --- Comment #4 from Andrew Pinski --- here is a reduced testcase: ``` [[gnu::noipa]] int f(int b) { int tt1 = ~b; int t = 1 & tt1; int e = -t; int tt = e >= -1; if (tt) return 0; __builtin_trap(); } int main() {

[Bug c++/98940] Implement C++23 language features

2024-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 107688, which changed state. Bug 107688 Summary: [C++23] P2615 - Meaningful exports https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107688 What|Removed |Added

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

2024-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107688 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107688 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:79420dd344145819677b3f975bb305a778fcaf91 commit r15-84-g79420dd344145819677b3f975bb305a778fcaf91 Author: Nathaniel Shead Date:

[Bug c++/114630] [14/15 Regression] [modules] building module with submodule causes corrupt gcm

2024-04-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114630 --- Comment #7 from Patrick Palka --- The following seems to minimally fix it: diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc index c35e70b8cb8..57ccaec5ebd 100644 --- a/gcc/cp/module.cc +++ b/gcc/cp/module.cc @@ -6798,7 +6798,7 @@

[Bug rtl-optimization/114902] [14/15 Regression] wrong code at -O3 with "-fno-tree-vrp -fno-expensive-optimizations -fno-tree-dominator-opts" on x86_64-linux-gnu

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114902 --- Comment #3 from Andrew Pinski --- Note this is almost definitely a latent bug exposed by some change. Might be interesting to see what change exposed it but not so much really.

[Bug rtl-optimization/114902] [14/15 Regression] wrong code at -O3 with "-fno-tree-vrp -fno-expensive-optimizations -fno-tree-dominator-opts" on x86_64-linux-gnu

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114902 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization --- Comment #2 from

[Bug target/114902] [14/15 Regression] wrong code at -O3 with "-fno-tree-vrp -fno-expensive-optimizations -fno-tree-dominator-opts" on x86_64-linux-gnu

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114902 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Summary|wrong code at

[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-04-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #11 from Sam James --- also, do asan and ubsan give anything?

[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-04-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #10 from Sam James --- also maybe obvious, but if you can find something from the cython testsuite, or at least some other heavy use of cython, which fails, that may be a good direction.

[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-04-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #9 from Sam James --- unfortunately*

[Bug tree-optimization/114872] [13/14/15 Regression] Miscompilation with -O2 after commit r13-8037

2024-04-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114872 --- Comment #8 from Sam James --- element.i is unfortunatley huge. It's hard to analyse things without a standalone testcase, but it's even harder without _something_ one can run. I'd suggest: 1) giving instructions to reproduce the crash

[Bug c/20785] Pragma STDC * (C99 FP) unimplemented

2024-04-30 Thread rlcamp.pdx at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20785 Campbell changed: What|Removed |Added CC||rlcamp.pdx at gmail dot com --- Comment #19

[Bug tree-optimization/114902] New: wrong code at -O3 with "-fno-tree-vrp -fno-expensive-optimizations -fno-tree-dominator-opts" on x86_64-linux-gnu

2024-04-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
Configured with: ../gcc-trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240430 (ex

[Bug libstdc++/114862] std::uppercase not applying to nan's and inf's

2024-04-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114862 --- Comment #3 from Jonathan Wakely --- I've opened https://cplusplus.github.io/LWG/issue4084

[Bug c++/114841] [P0522R0] partial ordering of template template parameters

2024-04-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114841 --- Comment #1 from Jason Merrill --- Matheus' suggested wording: "When performing deduction such that both A and P are template template params, and A is the template name of a template specialization, instead of just deducing A in that case,

[Bug ada/81087] array index out of range in gnatlink, making test always false

2024-04-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81087 --- Comment #6 from Eric Botcazou --- There is a fix in the pipeline for GCC 15, although I'm not sure if it will handle all the issues.

[Bug c/81756] type attributes silently ignored on type declarations

2024-04-30 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81756 --- Comment #3 from Joseph S. Myers --- This sort of "???" comment about existing practice means that some past change (in this case, the one adding support for [[]] attributes) was aiming to avoid perturbing how the compiler behaved for

[Bug c++/114901] GCC internal_error on CTAD alias

2024-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114901 --- Comment #3 from Marek Polacek --- Before, it was rejected: 114901.C:21:23: error: class template argument deduction failed: 21 | T::AFoo s{1, 2}; | ^ 114901.C:21:23: error: no matching function for call to

[Bug c++/114901] GCC internal_error on CTAD alias

2024-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114901 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/114901] GCC internal_error on CTAD alias

2024-04-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114901 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug libstdc++/114863] std::format applying grouping to nan's and inf's

2024-04-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114863 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/114863] std::format applying grouping to nan's and inf's

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114863 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:61c38a231d2df60cb6e914b3ecc73a0229c17ff6 commit r13-8665-g61c38a231d2df60cb6e914b3ecc73a0229c17ff6 Author: Jonathan

[Bug c++/114901] New: GCC internal_error on CTAD alias

2024-04-30 Thread hokein.wu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114901 Bug ID: 114901 Summary: GCC internal_error on CTAD alias Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug analyzer/114896] analyzer: false-positive with VLA (analyzer-out-of-bounds, CWE-121)

2024-04-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114896 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/81756] type attributes silently ignored on type declarations

2024-04-30 Thread minipli at grsecurity dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81756 Mathias Krause changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org,

[Bug analyzer/111475] [14/15 regression] Many C++ analyzer tests FAIL

2024-04-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111475 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #11 from David

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 Andrew Pinski changed: What|Removed |Added CC||jankodedic2 at gmail dot com ---

[Bug c++/114900] Overaligned locals in coroutines are not properly aligned

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

[Bug c++/114900] Overaligned locals in coroutines are not properly aligned

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114900 --- Comment #1 from Andrew Pinski --- This is by design for C++20 ... The support for P2014 is not in GCC yet, and IIRC it won't be enable for C++20 only C++23+.

[Bug c++/114900] New: Overaligned locals in coroutines are not properly aligned

2024-04-30 Thread jankodedic2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114900 Bug ID: 114900 Summary: Overaligned locals in coroutines are not properly aligned Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/114894] `a == 0 ? 0 : a * b` -> `a * b` likewise for `a & b`

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114894 --- Comment #4 from Andrew Pinski --- And divides should happen if we know if the divisor is non-zero: eg: ``` int fdiv(int a, int b) { if (b == 0) __builtin_unreachable(); int c = a / b; int d = a != 0; return c

[Bug tree-optimization/114894] `a == 0 ? 0 : a * b` -> `a * b` likewise for `a & b`

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114894 --- Comment #3 from Andrew Pinski --- Note we should catch this too: ``` int fmul2(unsigned a, int b) { int c = a * b; int d = a != 0; return c & -d; } ``` Which is more complex ...

[Bug target/98784] [11/12/13/14/15 Regression] problematic build of uClibc with -fPIC

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

[Bug target/98784] [11/12/13/14/15 Regression] problematic build of uClibc with -fPIC

2024-04-30 Thread dm.chestnykh at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784 --- Comment #20 from Dmitriy Chestnykh --- The patch is pushed, sparc systems now works fine with uClibc-ng. I think we should close this issue.

[Bug c++/114458] [C++26] P2573R2 - = delete("reason");

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

[Bug fortran/114874] [14/15 Regression] ICE with select type, type is (character(*)), and substring

2024-04-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114874 --- Comment #6 from Paul Thomas --- (In reply to anlauf from comment #3) > Adding Paul, hoping that he can tell what changed for SELECT TYPE recently. Needless to say, the regression is caused by r14-9489. I have a fix that regtests OK but

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

2024-04-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 106820, which changed state. Bug 106820 Summary: [modules] ICE in function_and_variable_visibility with modules and weakref https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106820 What|Removed

[Bug c++/99227] [meta-bug] [modules] Bugs relating to header-units of STL header files

2024-04-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 106820, which changed state. Bug 106820 Summary: [modules] ICE in function_and_variable_visibility with modules and weakref https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106820 What|Removed

[Bug c++/106820] [modules] ICE in function_and_variable_visibility with modules and weakref

2024-04-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106820 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/61469] language feature: Support for enum underlying type

2024-04-30 Thread thomas.mercier.jr at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61469 --- Comment #17 from Thomas Mercier --- I see, thank you!

[Bug c/61469] language feature: Support for enum underlying type

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61469 --- Comment #16 from Andrew Pinski --- (In reply to Thomas Mercier from comment #15) > No objection to the error message, but I would have expected a syntax error > for standards earlier than 23 which don't claim to support manually > specifying

[Bug tree-optimization/111882] [13 Regression] : internal compiler error: in get_expr_operand in ifcvt with Variable length arrays and bitfields inside a struct

2024-04-30 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111882 avieira at gcc dot gnu.org changed: What|Removed |Added Summary|[13/14/15 Regression] : |[13 Regression] : internal

[Bug c/61469] language feature: Support for enum underlying type

2024-04-30 Thread thomas.mercier.jr at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61469 --- Comment #15 from Thomas Mercier --- No objection to the error message, but I would have expected a syntax error for standards earlier than 23 which don't claim to support manually specifying the underlying type for the enum. Like this with

[Bug c/61469] language feature: Support for enum underlying type

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61469 --- Comment #14 from Andrew Pinski --- (In reply to Thomas Mercier from comment #13) > Was this feature meant to be protected by -std=c23? It doesn't appear to be > in GCC 13: > > /tmp$ cat test.c > enum node_stat_item : unsigned { >

[Bug c/61469] language feature: Support for enum underlying type

2024-04-30 Thread thomas.mercier.jr at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61469 Thomas Mercier changed: What|Removed |Added CC||thomas.mercier.jr at gmail dot com

[Bug analyzer/114899] New: Segmentation fault with -fsanitize=undefined and -fanalyzer since r14-2029-g0e466e978c7

2024-04-30 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114899 Bug ID: 114899 Summary: Segmentation fault with -fsanitize=undefined and -fanalyzer since r14-2029-g0e466e978c7 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/112976] expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs

2024-04-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug middle-end/112976] expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:e3a7f359c18bf347f6ac8fcda05e9839fac5bd62 commit r15-72-ge3a7f359c18bf347f6ac8fcda05e9839fac5bd62 Author: Andrew Pinski Date: Wed

[Bug middle-end/112976] expand_gimple_stmt_1 vs gimple_assign_nontemporal_move_p vs SSA_NAME on lhs

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112976 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:8614d60233a64afd7e28ae7af2ab74c4a5b06010 commit r15-73-g8614d60233a64afd7e28ae7af2ab74c4a5b06010 Author: Andrew Pinski Date: Wed

[Bug c++/114898] Converting {} to a tag type should be ill-formed SFINAE-friendly

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

[Bug target/98784] [11/12/13/14/15 Regression] problematic build of uClibc with -fPIC

2024-04-30 Thread dm.chestnykh at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784 Dmitriy Chestnykh changed: What|Removed |Added CC||dm.chestnykh at gmail dot com ---

[Bug c++/114898] Converting {} to a tag type should be ill-formed SFINAE-friendly

2024-04-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114898 --- Comment #1 from Jonathan Wakely --- Standalone testcase: struct nullopt_t { enum class Hidden { Token }; explicit constexpr nullopt_t(Hidden) noexcept { } }; struct in_place_t { explicit constexpr in_place_t() = default; };

[Bug modula2/114836] error messages should be translatable and follow locale convention

2024-04-30 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114836 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/105229] [11/12/13/14/15 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2024-04-30 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from Simon

[Bug target/114734] [11/12/13/14 regression] RISC-V rv64gcv_zvl256b miscompile with -flto -O3 -mrvv-vector-bits=zvl since r8-6047-g65dd1346027bb5

2024-04-30 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114734 --- Comment #14 from Patrick O'Neill --- I'll send a patch with the testcase in a few hours. Testing it now.

[Bug c++/114898] New: Converting {} to a tag type should be ill-formed SFINAE-friendly

2024-04-30 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114898 Bug ID: 114898 Summary: Converting {} to a tag type should be ill-formed SFINAE-friendly Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/108059] internal compiler error: in tsubst_copy, at cp/pt.c:16425

2024-04-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108059 --- Comment #6 from Patrick Palka --- FWIW a workaround for most valid code is to replace e.g. ignore_index_t, where v is the problematic NTTP argument, with ignore_index_t.

[Bug target/113832] [14/15 Regression] 6% exec time regression of 464.h264ref on aarch64

2024-04-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113832 --- Comment #5 from Roger Sayle --- I'm trying to confirm that there are actually widening multiplications in 464.h264ref (on aarch64), but if anyone's already done an analysis of what might be causing these performance swings, please do post

[Bug c++/108059] internal compiler error: in tsubst_copy, at cp/pt.c:16425

2024-04-30 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108059 Andrew Paprocki changed: What|Removed |Added CC||andrew at ishiboo dot com ---

[Bug ada/81087] array index out of range in gnatlink, making test always false

2024-04-30 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81087 --- Comment #5 from Nicolas Boulenguez --- Ping? If the patch is eventually applied, the similar conditions that have been added during the last seven years should probably also call Starts_With.

[Bug ipa/106935] [11/12/13/14/15 Regression] ICE in redirect_call_stmt_to_callee, at cgraph.cc:1505 since r10-5098-g9b14fc3326e08797

2024-04-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106935 --- Comment #3 from Martin Jambor --- This ICE no longer happens with GCC 13, in fact after r13-4240-gfeeb0d68f1c708 (Martin Jambor: ipa-cp: Do not consider useless aggregate constants). From the patch description, it does not look to be a fix

[Bug target/113832] [14/15 Regression] 6% exec time regression of 464.h264ref on aarch64

2024-04-30 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113832 --- Comment #4 from Filip Kastl --- There was another speedup followed by a slowdown. speedup somewhere between g:4b8e7b57d952a103 g:839bc42772ba7af6 slowdown g:7924e352523b3715 g:f3fdcf4a37a7be07 --- Btw, here is a plot also showing GCC 13

[Bug ipa/102310] [11/12 Regression] ICE in visit_ref_for_mod_analysis with OpenACC

2024-04-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102310 Martin Jambor changed: What|Removed |Added Known to work||13.1.0

[Bug analyzer/114897] ICE in get_or_create_widening_svalue, at analyzer/region-model-manager.cc:1336 since r13-3077-gbfca9505f6f

2024-04-30 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114897 --- Comment #1 from Anonymous --- There is another case that triggers the ICE in replay_call_summary_cluster, at analyzer/store.cc:3374 Also bisected to r13-3077-gbfca9505f6f Compiler Explorer: https://godbolt.org/z/Wh5MGf739 Program: $ cat

[Bug modula2/114886] gm2 testsuite arbitrarily reduces timeouts

2024-04-30 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114886 Rainer Orth changed: What|Removed |Added Assignee|gaius at gcc dot gnu.org |ro at gcc dot gnu.org --- Comment

[Bug modula2/114886] gm2 testsuite arbitrarily reduces timeouts

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114886 --- Comment #3 from GCC Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:aff63ac11099d100b6891f3bcc3dc6cbc4fad654 commit r15-69-gaff63ac11099d100b6891f3bcc3dc6cbc4fad654 Author: Rainer Orth Date: Tue

[Bug analyzer/114897] New: ICE in get_or_create_widening_svalue, at analyzer/region-model-manager.cc:1336 since r13-3077-gbfca9505f6f

2024-04-30 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114897 Bug ID: 114897 Summary: ICE in get_or_create_widening_svalue, at analyzer/region-model-manager.cc:1336 since r13-3077-gbfca9505f6f Product: gcc Version: 14.0

[Bug middle-end/13421] IA32 bigmem pointer subtraction and –ftrapv option causes unjustified program abort

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13421 --- Comment #17 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:667c19de86b33648f5f4599f589a5e02adbb35cb commit r15-67-g667c19de86b33648f5f4599f589a5e02adbb35cb Author: Richard Biener Date:

[Bug analyzer/114896] analyzer: false-positive with VLA (analyzer-out-of-bounds, CWE-121)

2024-04-30 Thread hcmh at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114896 --- Comment #1 from Christian Holme --- Created attachment 58077 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58077=edit Unprocessed .c file As the .i file is very because of the system headers, here is the plain .c file.

[Bug analyzer/114896] New: analyzer: false-positive with VLA (analyzer-out-of-bounds, CWE-121)

2024-04-30 Thread hcmh at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114896 Bug ID: 114896 Summary: analyzer: false-positive with VLA (analyzer-out-of-bounds, CWE-121) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/114877] [11/12/13/14/15 Regression] wrong-code for frexp(NAN, )

2024-04-30 Thread leni536 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114877 --- Comment #3 from Lénárd Szolnoki --- (In reply to Richard Biener from comment #2) > The standard says the results are unspecified, it doesn't say *p is written > to, > so I'm not sure there's a bug here. C17 (N2176) says in the library

[Bug middle-end/114877] [11/12/13/14/15 Regression] wrong-code for frexp(NAN, )

2024-04-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114877 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment

[Bug tree-optimization/114876] [11/12/13/14 Regression] -fprintf-return-value mishandles %lc with a '\0' argument.

2024-04-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114876 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/114874] [14/15 Regression] ICE with select type, type is (character(*)), and substring

2024-04-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114874 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug libstdc++/114866] [14/15 Regression] & out_ptr in freestanding

2024-04-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114866 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/114876] [11/12/13/14 Regression] -fprintf-return-value mishandles %lc with a '\0' argument.

2024-04-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114876 --- Comment #6 from Jakub Jelinek --- Fixed for 15+ so far.

[Bug tree-optimization/114876] [11/12/13/14 Regression] -fprintf-return-value mishandles %lc with a '\0' argument.

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114876 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6c6b70f07208ca14ba783933988c04c6fc2fff42 commit r15-66-g6c6b70f07208ca14ba783933988c04c6fc2fff42 Author: Jakub Jelinek Date:

[Bug target/113095] [13 Regression] RISC-V: movcc no longer used for coremark crc functions with -mtune=sifive-7-series

2024-04-30 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113095 Kito Cheng changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/114855] ICE: Segfault

2024-04-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment

[Bug target/113095] [13 Regression] RISC-V: movcc no longer used for coremark crc functions with -mtune=sifive-7-series

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113095 --- Comment #7 from GCC Commits --- The releases/gcc-13 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:6335baaf31c0f1f0952d1a3f507b0e5655b1136f commit r13-8663-g6335baaf31c0f1f0952d1a3f507b0e5655b1136f Author: Monk Chiang

[Bug libstdc++/80977] uniform_int_distribution downscaling throws away perfectly good entropy

2024-04-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80977 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/114863] std::format applying grouping to nan's and inf's

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114863 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7a00c459cbb913ac165a39d344a48fc27800bb0a commit r14-10154-g7a00c459cbb913ac165a39d344a48fc27800bb0a Author: Jonathan

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

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600 --- Comment #33 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:440a612dbadfae5887ec7c9b3ab2fca88b065366 commit r13-8662-g440a612dbadfae5887ec7c9b3ab2fca88b065366 Author: Richard

[Bug fortran/114859] [14/15 Regression] Seeing new segmentation fault in same_type_as since r14-9752

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

[Bug tree-optimization/114883] [14/15 Regression] 521.wrf_r ICE with -O2 -march=sapphirerapids -fvect-cost-model=cheap

2024-04-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114883 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/114883] [14/15 Regression] 521.wrf_r ICE with -O2 -march=sapphirerapids -fvect-cost-model=cheap

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114883 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a795a7b67027bc976a353b5fa927ac8c5f29347d commit r14-10152-ga795a7b67027bc976a353b5fa927ac8c5f29347d Author: Jakub

[Bug tree-optimization/114883] [14/15 Regression] 521.wrf_r ICE with -O2 -march=sapphirerapids -fvect-cost-model=cheap

2024-04-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114883 --- Comment #11 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:04ef92a62af3a815b86a2037267cd4e747ae225c commit r15-64-g04ef92a62af3a815b86a2037267cd4e747ae225c Author: Jakub Jelinek Date:

[Bug libfortran/114895] Build failure with !HAVE_WORKING_STAT

2024-04-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114895 --- Comment #6 from Jakub Jelinek --- I've hacked up my libgfortran/configure, added there sleep 60s after writing conftest.c for working stat check, and then rm -f config.cache; ./config.status --recheck in the x86*/32/libgfortran directory

[Bug libfortran/114895] Build failure with !HAVE_WORKING_STAT

2024-04-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114895 --- Comment #5 from Jakub Jelinek --- Created attachment 58075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58075=edit conftest.c

[Bug libfortran/114895] Build failure with !HAVE_WORKING_STAT

2024-04-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114895 --- Comment #4 from Jakub Jelinek --- That is really weird. Because the checking for _FILE_OFFSET_BITS value needed for large files... 64 test should add #define _FILE_OFFSET_BITS 64 line to confdefs.h and I believe the working stat testing

[Bug c++/105320] Use of shared_ptr within a type exported from a module results in spurious compiler error

2024-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105320 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |14.2 CC|

[Bug c++/114275] using std::thread within a templated function in a module fails to compile

2024-04-30 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 Nathaniel Shead changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot gnu.org

[Bug modula2/114886] gm2 testsuite arbitrarily reduces timeouts

2024-04-30 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114886 Rainer Orth changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug libstdc++/114891] Unconditional use of std::is_pointer_interconvertible_base_of_v in makes the header unusable with Clang 18

2024-04-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114891 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

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

2024-04-30 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 114456, which changed state. Bug 114456 Summary: [C++26] P0609R3 - Attributes for structured bindings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114456 What|Removed |Added

[Bug c++/114456] [C++26] P0609R3 - Attributes for structured bindings

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

  1   2   >