[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-10 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #4 from Li Pan --- (In reply to H.J. Lu from comment #3) > This may be fixed by r15-1954. Thank HJ, this makes much sense to me.

[Bug rtl-optimization/115862] [15 Regression] RISC-V: ICE during RTL combine pass in malloc.c for zvl512b and zvl1024b

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115862 Andrew Pinski changed: What|Removed |Added CC||lu_zero at gentoo dot org --- Comment

[Bug target/115794] gcc 15 (20240630 snapshot) ICEs while building gfortran while targeting rv64gcv_zvl256b

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

[Bug target/115794] gcc 15 (20240630 snapshot) ICEs while building gfortran while targeting rv64gcv_zvl256b

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115794 --- Comment #3 from Andrew Pinski --- My bet this is the same as PR 115862 which now has a reduced testcase.

[Bug rtl-optimization/115862] [15 Regression] RISC-V: ICE during RTL combine pass in malloc.c for zvl512b and zvl1024b

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115862 Andrew Pinski changed: What|Removed |Added Summary|[15] RISC-V: ICE during RTL |[15 Regression] RISC-V: ICE

[Bug target/115862] [15] RISC-V: ICE during RTL combine pass in malloc.c for zvl512b and zvl1024b

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115862 Andrew Pinski changed: What|Removed |Added Attachment #58631|0 |1 is obsolete|

[Bug target/115862] [15] RISC-V: ICE during RTL combine pass in malloc.c for zvl512b and zvl1024b

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115862 --- Comment #1 from Andrew Pinski --- Created attachment 58631 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58631=edit Reduced a lot `-march=rv64gcv_zvl512b -O2`

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 Andrew Pinski changed: What|Removed |Added Summary|[14/15 Regression] ICE with |[14/15 Regression] ICE with

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition and variable definition right afterwards

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 Andrew Pinski changed: What|Removed |Added Keywords|error-recovery, |ice-on-valid-code,

[Bug middle-end/113680] Missed optimization: Redundant cmp/test instructions when comparing (x - y) > 0

2024-07-10 Thread tanghocle456 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113680 Jasmine Tang changed: What|Removed |Added CC||tanghocle456 at gmail dot com ---

[Bug c++/115865] New: Internal compiler error when ill-formed conversion from std::initializer_list is attempted

2024-07-10 Thread eczbek.void at gmail dot com via Gcc-bugs
, 3 }; int y = x; } Using built-in specs. COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20240710/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu --host

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2024-07-10 Thread heb1001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Harry Butterworth changed: What|Removed |Added CC||heb1001 at gmail dot com ---

[Bug tree-optimization/115864] right shift being optimised out incorrectly

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115864 --- Comment #7 from Andrew Pinski --- Note ubsan (-fsanitize=undefined) gives an runtime message as expected: /app/example.cpp:11:17: runtime error: signed integer overflow: 65535 * 65535 cannot be represented in type 'int'

[Bug tree-optimization/115864] right shift being optimised out incorrectly

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115864 --- Comment #6 from Andrew Pinski --- Yes doing: uint32_t q = ((uint32_t)ah) * ((uint32_t)bl); uint32_t r = ((uint32_t)al) * ((uint32_t)bh); "Fixes" the issue by avoiding signed integer overflows (which is undefined).

[Bug tree-optimization/115864] right shift being optimised out incorrectly

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115864 --- Comment #5 from Andrew Pinski --- Well just use: ((unsigned)al)*((unsigned)bh)

[Bug tree-optimization/115864] right shift being optimised out incorrectly

2024-07-10 Thread notzed at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115864 --- Comment #4 from Michael Zucchi --- ok thought it might be something like that. is there any way to prevent it?

[Bug tree-optimization/115864] right shift being optimised out incorrectly

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

[Bug tree-optimization/115864] right shift being optimised out incorrectly

2024-07-10 Thread notzed at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115864 --- Comment #2 from Michael Zutti --- Created attachment 58630 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58630=edit output of gcc -v

[Bug tree-optimization/115864] right shift being optimised out incorrectly

2024-07-10 Thread notzed at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115864 --- Comment #1 from Michael Zutti --- Created attachment 58629 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58629=edit preprocessed file

[Bug tree-optimization/115864] New: right shift being optimised out incorrectly

2024-07-10 Thread notzed at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115864 Bug ID: 115864 Summary: right shift being optimised out incorrectly Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #3 from H.J. Lu --- This may be fixed by r15-1954.

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #2 from H.J. Lu --- See: https://gcc.gnu.org/pipermail/gcc-regression/2024-July/080225.html

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-10 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #1 from Li Pan --- Thanks for reporting this. It should be this "stream.avail_out = left > (uLong)max ? max : (uInt)left;" which HIT the .SAT_TRUNC. Aka below pattern. +/* Unsigned saturation truncate, case 2, sizeof (WT) >

[Bug target/113719] [13/14/15 regression] g++.target/i386/pr103696.C FAILs

2024-07-10 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113719 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug middle-end/115863] New: [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-10 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 Bug ID: 115863 Summary: [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/115857] New missed optimisation for hamming weight to simple popcnt

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115857 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org

[Bug libstdc++/108619] Compilation error if the construct method of the allocator isn't implemented and the detructor of value_type is private

2024-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108619 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org ---

[Bug libstdc++/114387] Explicitly declared destructor makes basic_format_context sometimes not movable

2024-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114387 Jonathan Wakely changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|---

[Bug libstdc++/114387] Explicitly declared destructor makes basic_format_context sometimes not movable

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114387 --- Comment #2 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d8cd8521185436ea45ed48c5dd481277e9b8a98d commit r15-1958-gd8cd8521185436ea45ed48c5dd481277e9b8a98d Author: Jonathan Wakely

[Bug libstdc++/115854] Copy-initialization or implicit conversion is used when creating an allocator whose type is obtained by rebind

2024-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115854 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug libstdc++/115854] Copy-initialization or implicit conversion is used when creating an allocator whose type is obtained by rebind

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115854 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c5efc6eca8e3eee7038ae218cf7e2dbe9ed9d82a commit r15-1956-gc5efc6eca8e3eee7038ae218cf7e2dbe9ed9d82a Author: Jonathan Wakely

[Bug libstdc++/115799] ranges::find's optimized branching for memchr is not quite right

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115799 --- Comment #10 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cda469a59e222496248025e0834a15d466f79d4a commit r15-1955-gcda469a59e222496248025e0834a15d466f79d4a Author: Jonathan Wakely

[Bug target/115862] New: [15] RISC-V: ICE during RTL combine pass in malloc.c for zvl512b and zvl1024b

2024-07-10 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115862 Bug ID: 115862 Summary: [15] RISC-V: ICE during RTL combine pass in malloc.c for zvl512b and zvl1024b Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/114525] [11/12/13/14/15 Regression] Incorrect code generated when setting a value through a pointer-to-member on a ternary returning an object reference

2024-07-10 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114525 Simon Martin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/107186] GCC rejects use of static constexpr member function in noexcept complete-class context

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

[Bug middle-end/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #16 from GCC Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:d67566cefe7325998cc2471a28e9d3a3016455a0 commit r11-11568-gd67566cefe7325998cc2471a28e9d3a3016455a0 Author: Uros Bizjak

[Bug c++/107256] [11/12/13/14/15 Regression] Contradictory circular noexcept-specifier is accepted

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

[Bug c/115642] [11/12/13/14/15 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_expr_sizeof_expr

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

[Bug c/115549] ICE: tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in common_handle_aligned_attribute, at c-family/c-attribs.cc:2665 with invalid aligned attribute

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

[Bug c/115642] [11/12/13/14/15 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_expr_sizeof_expr

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115642 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:0c27eade4754c13a54e265e4305182c95be1e441 commit r15-1952-g0c27eade4754c13a54e265e4305182c95be1e441 Author: Marek Polacek Date:

[Bug c/115549] ICE: tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in common_handle_aligned_attribute, at c-family/c-attribs.cc:2665 with invalid aligned attribute

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115549 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:4c7009735f73f59c9a635d79c048c8981310e331 commit r15-1951-g4c7009735f73f59c9a635d79c048c8981310e331 Author: Marek Polacek Date:

[Bug middle-end/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #15 from GCC Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:10904e051f1b970cd8e030dff7dec8374c946b12 commit r12-10610-g10904e051f1b970cd8e030dff7dec8374c946b12 Author: Uros Bizjak

[Bug middle-end/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:cc47ad09e571016f498710fbd8a19f302c9004de commit r13-8903-gcc47ad09e571016f498710fbd8a19f302c9004de Author: Uros Bizjak

[Bug target/111165] [13 regression] builtin strchr miscompiles on Debian/x32 with dietlibc

2024-07-10 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65 --- Comment #26 from Arsen Arsenović --- hmm, may be best to apply cvise to attempt to reduce the problem further then

[Bug target/111078] csneg is not used for (cset) * 2 - 1

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111078 Andrew Pinski changed: What|Removed |Added Assignee|pzheng at gcc dot gnu.org |pinskia at gcc dot gnu.org ---

[Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto

2024-07-10 Thread fwyzard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922 Andrea Bocci changed: What|Removed |Added CC||fwyzard at gmail dot com --- Comment #12

[Bug libstdc++/115854] Copy-initialization or implicit conversion is used when creating an allocator whose type is obtained by rebind

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

[Bug target/105090] BFI instructions are not generated on arm-none-eabi-g++

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105090 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:4f6f63f2cfcc62d6d893f301ea6aa4f6365624ba commit r13-8902-g4f6f63f2cfcc62d6d893f301ea6aa4f6365624ba Author: Torbjörn

[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

2024-07-10 Thread rth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 --- Comment #36 from Richard Henderson --- (In reply to Mayshao-oc from comment #34) > (In reply to Jakub Jelinek from comment #17) > > Fixed for AMD on the library side too. > > We need a statement from Zhaoxin and VIA for their CPUs. > >

[Bug target/105090] BFI instructions are not generated on arm-none-eabi-g++

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105090 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:e7d81cf551bcbf6cfa7612c1dc3c83fef036b3e1 commit r14-10405-ge7d81cf551bcbf6cfa7612c1dc3c83fef036b3e1 Author: Torbjörn

[Bug target/105090] BFI instructions are not generated on arm-none-eabi-g++

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105090 --- Comment #11 from GCC Commits --- The master branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:4865a92b35054fdfaa1318a4c1f56d95d44012a2 commit r15-1950-g4865a92b35054fdfaa1318a4c1f56d95d44012a2 Author: Torbjörn SVENSSON

[Bug c++/115645] [11/12/13/14 Regression] new S[1][1]() requires non-explicit default ctor since r11-3092

2024-07-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115645 Marek Polacek changed: What|Removed |Added Summary|[11/12/13/14/15 Regression] |[11/12/13/14 Regression]

[Bug c++/115645] [11/12/13/14/15 Regression] new S[1][1]() requires non-explicit default ctor since r11-3092

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115645 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:fde96e8205f343e6471a11cc9def967bb5dd5362 commit r15-1946-gfde96e8205f343e6471a11cc9def967bb5dd5362 Author: Marek Polacek Date:

[Bug target/105090] BFI instructions are not generated on arm-none-eabi-g++

2024-07-10 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105090 --- Comment #10 from Torbjorn SVENSSON --- I've sent a patch that drops the lsr check: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/656871.html

[Bug rtl-optimization/115785] ICE when building embree-4.3.1 on amd64 with -flate-combine-instructions

2024-07-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115785 --- Comment #2 from Richard Sandiford --- The patch in #c1 is just part 1. Part 2 will fix the bug.

[Bug rtl-optimization/115785] ICE when building embree-4.3.1 on amd64 with -flate-combine-instructions

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115785 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:e08ebd7d77a216ee2313b585c370333c66497b53 commit r15-1944-ge08ebd7d77a216ee2313b585c370333c66497b53 Author: Richard Sandiford

[Bug c++/115861] New: ICE: tree check: expected template_decl, have overload in cplus_decl_attributes, at cp/decl2.cc:1896 with deprecated attribute

2024-07-10 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115861 Bug ID: 115861 Summary: ICE: tree check: expected template_decl, have overload in cplus_decl_attributes, at cp/decl2.cc:1896 with deprecated attribute Product: gcc

[Bug rtl-optimization/115860] New: Register pairs and regrename

2024-07-10 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115860 Bug ID: 115860 Summary: Register pairs and regrename Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug middle-end/115859] New: ICE: in lower_stmt, at gimple-low.cc:724 with -g and __attribute__((optimize(3)))

2024-07-10 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115859 Bug ID: 115859 Summary: ICE: in lower_stmt, at gimple-low.cc:724 with -g and __attribute__((optimize(3))) Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/113968] ICE: in create_tmp_var, at gimple-expr.cc:488 with -fcontracts and invalid member in contract

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113968 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:c829042849da4e82668db8c845ef0847264c8687 commit r15-1942-gc829042849da4e82668db8c845ef0847264c8687 Author: Nina Ranns Date: Thu

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:2d1f68e7965795dc66db83bc7840ba7a23eeb01b commit r15-1940-g2d1f68e7965795dc66db83bc7840ba7a23eeb01b Author: Gaius Mulley Date:

[Bug libstdc++/114401] libstdc++ allocator destructor omitted when reinserting node_handle into tree- and hashtable-based containers

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

[Bug libstdc++/113704] std::locale::locale(const locale&, Facet*) is inefficient

2024-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113704 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/114401] libstdc++ allocator destructor omitted when reinserting node_handle into tree- and hashtable-based containers

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114401 --- Comment #7 from GCC Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:69ce8e406a2aa0aba5dcae5e419503ec105355b0 commit r11-11567-g69ce8e406a2aa0aba5dcae5e419503ec105355b0 Author: Jonathan

[Bug modula2/115823] Wrong expansion of isnormal optab

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

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #1 from Gaius Mulley --- Created attachment 58626 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58626=edit Proposed fix Thanks for the bug report, confirmed and here is a proposed patch. The bug fix changes

[Bug tree-optimization/115841] 521.wrf_r ICEs when building with -march=znver4 -Ofast -flto --param vect-partial-vector-usage=1

2024-07-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115841 --- Comment #2 from Richard Biener --- [local count: 955630228]: # sfn11s_17 = PHI # sfn12s_2 = PHI # kr_4 = PHI # ivtmp_966 = PHI _420 = kr_4 + -1; _205 = (long int) _420; fk_206 = MEM [(float[0:D.7057] *)][_205]; _171

[Bug middle-end/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #13 from GCC Commits --- The releases/gcc-14 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:47a8b464d2dd9a586a9e15242c9825e39e1ecd4c commit r14-10404-g47a8b464d2dd9a586a9e15242c9825e39e1ecd4c Author: Uros Bizjak

[Bug middle-end/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 --- Comment #12 from GCC Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:44933fdeb338e00c972e42224b9a83d3f8f6a757 commit r15-1939-g44933fdeb338e00c972e42224b9a83d3f8f6a757 Author: Uros Bizjak Date: Wed

[Bug ipa/115855] Slow compilation of Firefox with -O2 (in callgraph expansion)

2024-07-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115855 Sam James changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/82904] [11/12/13/14/15 Regression][Coarray] ICE in make_ssa_name_fn, at tree-ssanames.c:261

2024-07-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82904 --- Comment #16 from Andre Vehreschild --- Patch proposed at: https://gcc.gnu.org/pipermail/fortran/2024-July/060648.html Note the patch addresses the IPA-problem only. The issue with the coarray not getting the assigned string correctly,

[Bug lto/115394] ICE in lto_read_decls for a minimal C test-case with streamer_debugging set to true

2024-07-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115394 --- Comment #2 from GCC Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:23c2e6de305b8a9e44041d54e587f1333f06134c commit r15-1937-g23c2e6de305b8a9e44041d54e587f1333f06134c Author: Prathamesh

[Bug tree-optimization/115857] New missed optimisation for hamming weight to simple popcnt

2024-07-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115857 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug target/115856] [15 Regression] 7% slowdown of 433.milc on Zen3

2024-07-10 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115856 Filip Kastl changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug tree-optimization/115825] [11/12/13/14 Regression] Loop unrolling increases code size with -Os

2024-07-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/115825] [11/12/13/14 Regression] Loop unrolling increases code size with -Os

2024-07-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 --- Comment #9 from Richard Biener --- It's odd that you see Loop 1 iterates 7 times. Loop 1 iterates at most 7 times. Loop 1 likely iterates at most 7 times. Estimating sizes for loop 1 BB: 3, after_exit: 0 size: 1 v ={v} i_10; size:

[Bug target/105090] BFI instructions are not generated on arm-none-eabi-g++

2024-07-10 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105090 --- Comment #9 from Richard Earnshaw --- It looks like the compiler now merges b into a rather than a into b. The result is the same, though and we don't need an lsr this way. Technically it ought to be better. But we do end up in a dance

[Bug c++/115858] New: Incompatibility of coroutines and alloca()

2024-07-10 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115858 Bug ID: 115858 Summary: Incompatibility of coroutines and alloca() Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/115825] [11/12/13/14 Regression] Loop unrolling increases code size with -Os

2024-07-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 --- Comment #8 from Georg-Johann Lay --- Created attachment 58625 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58625=edit unroll-Os.c.112t.cunrolli (In reply to Richard Biener from comment #6) > can you paste more context from the

[Bug tree-optimization/115825] [11/12/13/14 Regression] Loop unrolling increases code size with -Os

2024-07-10 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 --- Comment #7 from Georg-Johann Lay --- Created attachment 58624 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58624=edit unroll-Os.c.182t.cunroll (In reply to Richard Biener from comment #6) > can you paste more context from the

[Bug fortran/78466] [coarray] Explicit cobounds of a procedures parameter not respected

2024-07-10 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78466 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #3 from Andre

[Bug c/115857] New: New missed optimisation for hamming weight to simple popcnt

2024-07-10 Thread etienne_lorrain at yahoo dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115857 Bug ID: 115857 Summary: New missed optimisation for hamming weight to simple popcnt Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/115856] [15 Regression] 7% slowdown of 433.milc on Zen3

2024-07-10 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115856 Filip Kastl changed: What|Removed |Added Version|14.0|15.0 Target Milestone|---

[Bug target/115856] New: [15 Regression] 7% slowdown of 433.milc on Zen3

2024-07-10 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115856 Bug ID: 115856 Summary: [15 Regression] 7% slowdown of 433.milc on Zen3 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: needs-bisection Severity: normal

[Bug libstdc++/115854] Copy-initialization or implicit conversion is used when creating an allocator whose type is obtained by rebind

2024-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115854 --- Comment #1 from Jonathan Wakely --- I thought I'd opened a bug report about this years ago, but maybe I just mentioned it on the mailing list. I have a local patch somewhere that does: ---

[Bug ipa/115855] Slow compilation of Firefox with -O2 (in callgraph expansion)

2024-07-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115855 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org ---

[Bug ipa/115855] Slow compilation of Firefox with -O2 (in callgraph expansion)

2024-07-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115855 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-07-10 Ever confirmed|0

[Bug libstdc++/115846] std::optional> is constant expression even in C++20 mode

2024-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/115846] std::optional> is constant expression even in C++20 mode

2024-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 --- Comment #10 from Jonathan Wakely --- If you construct an optional that contains a value, then of course it's destroyed, and then the destructor needs to be usable in constant expressions: #include struct S { ~S() { } }; S s;

[Bug libstdc++/115846] std::optional> is constant expression even in C++20 mode

2024-07-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115846 --- Comment #9 from Jonathan Wakely --- (In reply to 康桓瑋 from comment #7) > It seems like ~_Storage() doesn't call _M_value.~_Up(). > I could be wrong. Because the _Storage union doesn't know if there is an active member or not, so it doesn't

[Bug ipa/115855] Slow compilation of Firefox with -O2 (in callgraph expansion)

2024-07-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115855 --- Comment #3 from Sam James --- I'll try to reduce it a bit but I'm not going to spend long on it.

[Bug ipa/115855] Slow compilation of Firefox with -O2 (in callgraph expansion)

2024-07-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115855 --- Comment #2 from Andrew Pinski --- > This is with a checking compiler though so testing with =release One thing you can test without recompile of gcc is -fno-checking . Second thing is: garbage collection : 3.38 ( 5%)

[Bug ipa/115855] Slow compilation of Firefox with -O2 (in callgraph expansion)

2024-07-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115855 --- Comment #1 from Sam James --- Created attachment 58622 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58622=edit gl.ii.xz

[Bug ipa/115855] New: Slow compilation of Firefox with -O2 (in callgraph expansion)

2024-07-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115855 Bug ID: 115855 Summary: Slow compilation of Firefox with -O2 (in callgraph expansion) Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

[Bug libstdc++/115854] New: Copy-initialization or implicit conversion is used when creating an allocator whose type is obtained by rebind

2024-07-10 Thread zwuis at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115854 Bug ID: 115854 Summary: Copy-initialization or implicit conversion is used when creating an allocator whose type is obtained by rebind Product: gcc Version:

[Bug middle-end/115836] ICE when building Firefox with-march=pentium-mmx -mtune=pentium-m

2024-07-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115836 Uroš Bizjak changed: What|Removed |Added Component|target |middle-end --- Comment #11 from Uroš

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 Uroš Bizjak changed: What|Removed |Added CC||macro at orcam dot me.uk --- Comment #13

  1   2   >