[Bug target/109435] overaligned structs are not passed correctly for mips64

2023-06-30 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109435 YunQiang Su changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 Andrew Pinski changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch --- Comm

[Bug tree-optimization/110509] wrong code at -O3 on x86_64-linux-gnu (nondeterministic hang)

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110509 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug tree-optimization/110509] wrong code at -O3 on x86_64-linux-gnu (nondeterministic hang)

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110509 --- Comment #1 from Andrew Pinski --- Oh this one. # _37 = PHI <_39(D)(2), _2(13)> L1: d.0_35 = d; _36 = d.0_35 != 0; _14 = (int) _36; _2 = _14 | _37; goto ; [100.00%]

[Bug tree-optimization/110509] New: wrong code at -O3 on x86_64-linux-gnu (nondeterministic hang)

2023-06-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110509 Bug ID: 110509 Summary: wrong code at -O3 on x86_64-linux-gnu (nondeterministic hang) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/110487] [12/13/14 Regression] invalid wide Boolean value

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110487 Andrew Pinski changed: What|Removed |Added Attachment #55441|0 |1 is obsolete|

[Bug tree-optimization/110487] [12/13/14 Regression] invalid wide Boolean value

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110487 --- Comment #10 from Andrew Pinski --- Created attachment 55442 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55442&action=edit Patch for the two_value pattern

[Bug c++/110463] [13/14 Regression] Mutable subobject is usable in a constant expression

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110463 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/110468] [12/13/14 regression] Internal compiler error in nothrow_spec_p

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110468 --- Comment #14 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:23c64450cbce916547142519a72075d1930c8282 commit r13-7517-g23c64450cbce916547142519a72075d1930c8282 Author: Patrick Palka

[Bug c++/110463] [13/14 Regression] Mutable subobject is usable in a constant expression

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110463 --- Comment #3 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8f2cafc03f645748109291710157fdeceac32ee1 commit r13-7516-g8f2cafc03f645748109291710157fdeceac32ee1 Author: Patrick Palka

[Bug tree-optimization/110487] [12/13/14 Regression] invalid wide Boolean value

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110487 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > (In reply to Andrew Pinski from comment #5) > > I think there is zero_one_value_p is also accepting signed-boolean:32 > > incorrectly too ... > > No, zero_one_v

[Bug tree-optimization/110487] [12/13/14 Regression] invalid wide Boolean value

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110487 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > I think there is zero_one_value_p is also accepting signed-boolean:32 > incorrectly too ... No, zero_one_value_p is fine as truth_valued_p only accepts single b

[Bug tree-optimization/110487] [12/13/14 Regression] invalid wide Boolean value

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110487 Andrew Pinski changed: What|Removed |Added Attachment #55440|0 |1 is obsolete|

[Bug tree-optimization/110487] [12/13/14 Regression] invalid wide Boolean value

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110487 --- Comment #6 from Andrew Pinski --- Created attachment 55440 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55440&action=edit Fixes the first part Here is the patch which fixes the first part, I will fix zero_one_p too.

[Bug tree-optimization/110508] [14 Regression] ICE (Segfault) during widening_mul, in match_uaddc_usubc

2023-06-30 Thread ali.mpfard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110508 --- Comment #4 from Ali Mohammad Pur Fard --- Can confirm that the patch () fixes the original reproducer.

[Bug libstdc++/110504] std::format("{:%S}", duration>(4)) returns "02.0" instead of "02"

2023-06-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110504 --- Comment #1 from Jonathan Wakely --- I have a patch to fix this: --- a/libstdc++-v3/include/bits/chrono_io.h +++ b/libstdc++-v3/include/bits/chrono_io.h @@ -1079,7 +1079,9 @@ namespace __format { locale __loc = _M_l

[Bug other/110505] Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result

2023-06-30 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110505 Brad Richardson changed: What|Removed |Added Status|RESOLVED|CLOSED Resolution|MOVED

[Bug tree-optimization/110508] [14 Regression] ICE (Segfault) during widening_mul, in match_uaddc_usubc

2023-06-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110508 --- Comment #3 from Jakub Jelinek --- Created attachment 55439 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55439&action=edit gcc14-pr110508.patch Untested fix.

[Bug other/110505] Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110505 Andrew Pinski changed: What|Removed |Added Resolution|--- |MOVED See Also|

[Bug other/110505] Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110505 Andrew Pinski changed: What|Removed |Added Component|fortran |other --- Comment #3 from Andrew Pinski

[Bug tree-optimization/110503] [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110503 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > > Oh and had: > # RANGE [irange] int [-128, 127] > _10 = (intD.6) _9; > # RANGE [irange] int [0, 1] NONZERO 0x1 > _11 = 1 % _10; > > I wonder if we cou

[Bug c++/110508] [14 Regression] ICE (Segfault) during widening_mul, in match_uaddc_usubc

2023-06-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110508 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Summary|ICE (Segfault) dur

[Bug c++/110508] ICE (Segfault) during widening_mul, in match_uaddc_usubc

2023-06-30 Thread ali.mpfard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110508 --- Comment #1 from Ali Mohammad Pur Fard --- Created attachment 55438 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55438&action=edit Reduced source

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #42 from Jürgen Reuter --- (In reply to Jakub Jelinek from comment #41) > > 0x04f5dc90 is pseudo NaN: > Pseudo Not a Number. The sign bit is meaningless. The 8087 and 80287 treat > this as a Signaling Not a Number. The 8

[Bug c++/110508] New: ICE (Segfault) during widening_mul, in match_uaddc_usubc

2023-06-30 Thread ali.mpfard at gmail dot com via Gcc-bugs
gure --prefix=/opt/gcc --disable-nls --disable-libstdcxx-pch --enable-shared --enable-languages=c,c++ --enable-default-pie --enable-lto --enable-threads=posix // Thread model: posix // Supported LTO compression algorithms: zlib zstd // gcc version 14.0.0 20230630 (experimental) (GCC) // //

[Bug tree-optimization/110503] [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110503 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/110503] [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110503 --- Comment #1 from Andrew Pinski --- I noticed there is a missing optimization here (during VRP1): _29 = _11 == 0; _30 = (unsigned int) _29; _14 = -_30; if (_14 > 2) That is just: if (_14 != 0) or: if (_29 != 0) or rather: if (_1

[Bug target/96532] [m68k] gcc 10.x generates calls to memset even for very small amounts

2023-06-30 Thread eerott at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96532 Eero Tamminen changed: What|Removed |Added CC||eerott at gmail dot com --- Comment #7 f

[Bug fortran/110505] Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result

2023-06-30 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110505 --- Comment #2 from Brad Richardson --- I'm on and x86 Arch Linux machine. By works do you mean valgrind doesn't report any errors at all? I can also try a system upgrade and reboot and see if anything changes.

[Bug tree-optimization/110503] [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

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

[Bug c/110500] gcc: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_parser_omp_clause_allocate

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110500 --- Comment #2 from Andrew Pinski --- Created attachment 55436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55436&action=edit Patch which should fix this This patch will fix this (and other) ICEs. There might be more further below but I

[Bug c/110500] gcc: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_parser_omp_clause_allocate

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110500 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/110500] gcc: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_parser_omp_clause_allocate

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110500 Andrew Pinski changed: What|Removed |Added Severity|normal |minor

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #41 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #39) > (In reply to anlauf from comment #36) > > Breakpoint 2, rng_stream.rng_stream_s::mmm_mod (x1=330289839997, > > x2=4294967087) at rng_stream_sub.f90:336 > > 336

[Bug tree-optimization/110381] [11/12/13 Regression] double counting for sum of structs of floating point types

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #16 from Andrew Pinski --- I suspect this patch will fix the arm failure: ``` diff --git a/gcc/testsuite/gcc.dg/vect/pr110381.c b/gcc/testsuite/gcc.dg/vect/pr110381.c index dc8c6a8f683..ee78666d2e8 100644 --- a/gcc/testsuite/gcc.dg/v

[Bug tree-optimization/110502] [14 Regression] Dead Code Elimination Regression at -Os since r14-1656-g55fcaa9a8bd

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

[Bug fortran/110505] Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110505 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/110502] [14 Regression] Dead Code Elimination Regression at -Os since r14-1656-g55fcaa9a8bd

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

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #40 from anlauf at gcc dot gnu.org --- (In reply to Jürgen Reuter from comment #38) > At the moment unfortunately too busy to provide a smaller reproducer (which > also still has a small dependency on a dynamic library), I have just

[Bug tree-optimization/110506] [14 Regression] Ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110506 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > No reason to do a bisect as it was introduced by the extra checking commit. That is r14-2150 .

[Bug tree-optimization/110506] [14 Regression] Ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686

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

[Bug libstdc++/110507] cannot initialize immovable type in a std::tuple

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110507 --- Comment #2 from Andrew Pinski --- Note if you change immovable not to be an empty class, it works and this is why it is a dup of bug 98995 .

[Bug c++/98995] [10/11/12/13/14 Regression] Copy elision not applied to members declared with [[no_unique_address]] or a empty base class

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98995 Andrew Pinski changed: What|Removed |Added CC||eric.niebler at gmail dot com --- Commen

[Bug libstdc++/110507] cannot initialize immovable type in a std::tuple

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110507 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/105667] [C++20] lambas in template argument sometimes causes an ICE (seg fault)

2023-06-30 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105667 Alfred Agrell changed: What|Removed |Added CC||blubban at gmail dot com --- Comment #8

[Bug libstdc++/110507] New: cannot initialize immovable type in a std::tuple

2023-06-30 Thread eric.niebler at gmail dot com via Gcc-bugs
&&) = delete; }; struct init_immovable { operator immovable() const { return {}; } }; int main() { std::tuple m{init_immovable{}}; } result: In file included from :1: /opt/compiler-explorer/gcc-trunk-20230630/include/c++/14.0.0/tuple: In instantiation of 'constexpr std::_Head_base<_

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #39 from Uroš Bizjak --- (In reply to anlauf from comment #36) > Breakpoint 2, rng_stream.rng_stream_s::mmm_mod (x1=330289839997, > x2=4294967087) at rng_stream_sub.f90:336 > 336 res = mod (x1, x2) > (gdb) info float > R7:

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #38 from Jürgen Reuter --- At the moment unfortunately too busy to provide a smaller reproducer (which also still has a small dependency on a dynamic library), but one more info: inserting the explicit operations instead of the intri

[Bug tree-optimization/110506] [14 Regression] Ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110506 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | --- Comment #1 from Andrew Pinski ---

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #37 from anlauf at gcc dot gnu.org --- After the FPE: (gdb) info float R7: Valid 0x401be51fb578 +480507567 R6: Valid 0x401be51fb578 +480507567 R5: Zero0x

[Bug tree-optimization/110506] [14 Regression] Ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110506 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Keywords|

[Bug middle-end/31985] Wide operations (i.e. adddi3) are split too late

2023-06-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31985 Roger Sayle changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #36 from anlauf at gcc dot gnu.org --- Breakpoint 2, rng_stream.rng_stream_s::mmm_mod (x1=330289839997, x2=4294967087) at rng_stream_sub.f90:336 336 res = mod (x1, x2) (gdb) info float R7: Valid 0x401be51fb578 +480

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #35 from Uroš Bizjak --- (In reply to anlauf from comment #33) > (In reply to Jakub Jelinek from comment #32) > > Then maybe r13-6361-g8020c9c42349f51f75239b > > is the commit that changed it? > > Would be good to put a breakpoint at

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55427|0 |1 is obsolete|

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #34 from anlauf at gcc dot gnu.org --- A few more data points: reverting r13-6361-g8020c9c42349f51f75239b on 13-branch fixes the issue: no fprem generated, no FPE. Adding -ffinite-math-only to the modified 13-branch restores the FPE

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #33 from anlauf at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #32) > Then maybe r13-6361-g8020c9c42349f51f75239b > is the commit that changed it? > Would be good to put a breakpoint at that instruction and see in whic

[Bug tree-optimization/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 --- Comment #12 from CVS Commits --- The master branch has been updated by Qing Zhao : https://gcc.gnu.org/g:e050ce7c3adf71eedd5482c29cf54b827e026642 commit r14-2225-ge050ce7c3adf71eedd5482c29cf54b827e026642 Author: Qing Zhao Date: Fri Jun

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

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

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #31 from anlauf at gcc dot gnu.org --- Looking at rng_stream_sub.o with objdump, I see fprem generated for 13 & 14, but not for 12. I haven't yet found an option to suppress its generation and fall back to the behavior of 12-branch.

[Bug c/110506] New: ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686

2023-06-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110506 Bug ID: 110506 Summary: ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686 Product: gcc Version: unkn

[Bug libstdc++/110355] std::format("{}", 1e-7) returns "1e-07" instead of "1e-7"

2023-06-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110355 Jonathan Wakely changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug libstdc++/110504] std::format("{:%S}", duration>(4)) returns "02.0" instead of "02"

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

[Bug target/110217] [avr] SREG: use BSET and BCLR instead of load/modify/write

2023-06-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110217 Georg-Johann Lay changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Geor

[Bug fortran/110505] New: Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result

2023-06-30 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110505 Bug ID: 110505 Summary: Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result Product: gcc Version: 13.1.1 Status: UNCONFIRMED

[Bug libstdc++/110504] New: std::format("{:%S}", duration>(4)) returns "02.0" instead of "02"

2023-06-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110504 Bug ID: 110504 Summary: std::format("{:%S}", duration>(4)) returns "02.0" instead of "02" Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/110503] New: [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

2023-06-30 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110503 Bug ID: 110503 Summary: [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e Product: gcc Version: 14.0 Status: UNCONFIRMED S

[Bug rtl-optimization/110220] [13/14 Regression] ICE in patch_jump_insn, at cfgrtl.cc:1295 - avr/xmega

2023-06-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110220 Georg-Johann Lay changed: What|Removed |Added CC||gjl at gcc dot gnu.org --- Comment #

[Bug tree-optimization/110502] New: [14 Regression] Dead Code Elimination Regression at -Os since r14-1656-g55fcaa9a8bd

2023-06-30 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110502 Bug ID: 110502 Summary: [14 Regression] Dead Code Elimination Regression at -Os since r14-1656-g55fcaa9a8bd Product: gcc Version: 14.0 Status: UNCONFIRMED Seve

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #11 from Jan Hubicka --- The following are passes affecting mismatches for tramp3d -O3 build: 107t cunrolli | 85 +77 110t forwprop | 87+2 113t fre |151 +64 115t threadfull

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #10 from Jan Hubicka --- I am testing: diff --git a/gcc/cfg.cc b/gcc/cfg.cc index 897ef534ff5..defdf679f7b 100644 --- a/gcc/cfg.cc +++ b/gcc/cfg.cc @@ -922,7 +922,6 @@ update_bb_profile_for_threading (basic_block bb, fprintf

[Bug tree-optimization/110501] Invalid use-after-free / realloc with a store/load happening

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 --- Comment #4 from Cheyenne Wills --- (In reply to Andrew Pinski from comment #3) > Oh GCC warns even with optimizations turned on ... Correct. For gcc-12 the failure only occurs with -O0. With gcc-13 (and later), the problem occurs with or

[Bug tree-optimization/110501] Invalid use-after-free / realloc with a store/load happening

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 --- Comment #3 from Andrew Pinski --- Oh GCC warns even with optimizations turned on ...

[Bug tree-optimization/110501] Invalid use-after-free / realloc at -O0

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 Andrew Pinski changed: What|Removed |Added Summary|Invalid use-after-free /|Invalid use-after-free /

[Bug jit/110466] jit.dg FAILs on ppc64le

2023-06-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #9 from David Malcolm --- Should be fixed on trunk for gcc 14 by the above commits. Keeping open to track backporting to gcc 13.

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 --- Comment #4 from Eric Botcazou --- > You were CC'd here: > , FWIW. I totally missed it, sorry about that. :-(

[Bug libstdc++/110432] macOS: Segmentation fault when using stdlibc++ from gcc 13.1 in combination with clang-16

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

[Bug jit/110466] jit.dg FAILs on ppc64le

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:6735d66083953315c0d7d491df07d36061093a24 commit r14--g6735d66083953315c0d7d491df07d36061093a24 Author: David Malcolm Date: F

[Bug jit/110466] jit.dg FAILs on ppc64le

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #8 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:c3c0ba5436170e01499f4390b7b628a32943a9e2 commit r14-2223-gc3c0ba5436170e01499f4390b7b628a32943a9e2 Author: David Malcolm Date: F

[Bug libstdc++/110432] macOS: Segmentation fault when using stdlibc++ from gcc 13.1 in combination with clang-16

2023-06-30 Thread sascha.scandella at dentsplysirona dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110432 --- Comment #13 from Sascha Scandella --- Awesome. Thanks a lot for the provided solution! Nice! Is already known when approximately GCC 13.2 will be released? Have a great weekend!

[Bug analyzer/110501] Invalid use-after-free / realloc

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 --- Comment #1 from Cheyenne Wills --- Created attachment 55434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55434&action=edit stdout/stderr from compile

[Bug analyzer/110501] New: Invalid use-after-free / realloc

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 Bug ID: 110501 Summary: Invalid use-after-free / realloc Product: gcc Version: 12.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug libstdc++/110077] [14 regression] libstdc++-abi/abi_check FAILs on Solaris

2023-06-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110077 --- Comment #14 from Jonathan Wakely --- (In reply to r...@cebitec.uni-bielefeld.de from comment #13) > That would mean an implementation of C23 Annex H, right? IIUC, > implementing that is optional. Right (on both counts). > However, I can r

[Bug analyzer/105948] RFE: analyzer could check c++ placement-new sizes

2023-06-30 Thread vultkayn at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105948 --- Comment #1 from Benjamin Priour --- I'm writing a patch for this, and I've got support for non symbolic bounds. However, as I wrote my patch, a missing warning came up. Consider the test case: --- void var_too_short () { short s; long

[Bug libstdc++/110432] macOS: Segmentation fault when using stdlibc++ from gcc 13.1 in combination with clang-16

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110432 --- Comment #12 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fe2651affa8c15624188bfd062fb894648743431 commit r14-2221-gfe2651affa8c15624188bfd062fb894648743431 Author: Jonathan Wakely Date

[Bug middle-end/109849] suboptimal code for vector walking loop

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #20 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:eab57b825bcc350e9ff44eb2fa739a80199d9bb1 commit r14-2219-geab57b825bcc350e9ff44eb2fa739a80199d9bb1 Author: Jan Hubicka Date: Fri

[Bug testsuite/108835] gm2 tests at large -jNN numbers do not return

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108835 --- Comment #7 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:ef4ea6e08707d27674a8c5ddb4b478aac8713c03 commit r14-2218-gef4ea6e08707d27674a8c5ddb4b478aac8713c03 Author: Iain Sandoe Date: Sat

[Bug c++/55004] [meta-bug] constexpr issues

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 92181, which changed state. Bug 92181 Summary: initializer_list & string_view result in "modification of '' is not a constant expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92181 What|Removed

[Bug c++/92181] initializer_list & string_view result in "modification of '' is not a constant expression

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92181 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org St

[Bug libstdc++/105081] Make std::random_device throw std::system_error

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105081 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d6a6a4ea086d6af97bd7fbd482f51df41c265b79 commit r14-2217-gd6a6a4ea086d6af97bd7fbd482f51df41c265b79 Author: Jonathan Wakely Date:

[Bug c/110500] New: gcc: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_parser_omp_clause_allocate

2023-06-30 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110500 Bug ID: 110500 Summary: gcc: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_parser_omp_clause_allocate Product: gcc

[Bug tree-optimization/110381] [11/12/13 Regression] double counting for sum of structs of floating point types

2023-06-30 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #15 from Christophe Lyon --- (In reply to Richard Biener from comment #14) > (In reply to Christophe Lyon from comment #12) > > The new testcase (gcc.dg/vect/pr110381.c) fails: > > FAIL: gcc.dg/vect/pr110381.c -flto -ffat-lto-objects

[Bug c++/102921] error: modification of '' is not a constant expression

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

[Bug fortran/104630] module subroutine not accessible from submodule

2023-06-30 Thread daryl.00179 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104630 Pablo changed: What|Removed |Added CC||daryl.00179 at gmail dot com --- Comment #3 fro

[Bug c++/107079] [10/11 Regression] ICE initializing lifetime-extended constexpr variable that stores its this pointer

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107079 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target Mile

[Bug fortran/88632] [F08] function contained in module invisible to submodule unless declared public

2023-06-30 Thread daryl.00179 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88632 Pablo changed: What|Removed |Added CC||daryl.00179 at gmail dot com --- Comment #4 from

[Bug libstdc++/110077] [14 regression] libstdc++-abi/abi_check FAILs on Solaris

2023-06-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110077 --- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #10 from Jonathan Wakely --- > (In reply to Jonathan Wakely from comment #9) >> One solution would be to just add the declaration to the header, and adjust >> the exports

[Bug tree-optimization/110499] New: malloc branch predictor is broken

2023-06-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110499 Bug ID: 110499 Summary: malloc branch predictor is broken Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimiz

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 --- Comment #3 from Marek Polacek --- (In reply to Eric Botcazou from comment #2) > Confirmed, but > > Author: Marek Polacek > Date: Wed May 3 17:06:13 2023 -0400 > > configure: Implement --enable-host-pie > ada/ > * gcc-interface/

[Bug target/110478] RISC-V multilib gcc zicsr in the -march causing incorrect libgcc to be used

2023-06-30 Thread bmeng.cn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110478 --- Comment #6 from Bin Meng --- While I am figuring out the build failure, Palmer or Kito, are you able to reproduce this libgcc bug with zicsr on the GCC HEAD?

  1   2   >