[Bug tree-optimization/115221] [15 regression] ICE when building reiser4progs (propagate_updated_value, at gimple-range-cache.cc:1368)

2024-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115221 --- Comment #6 from Sam James --- No - do you want me to? I can, but I don't have a cache of 15 packages available, so it might be an hour or two. Just let me know.

[Bug tree-optimization/115221] [15 regression] ICE when building reiser4progs (propagate_updated_value, at gimple-range-cache.cc:1368)

2024-05-24 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115221 Aldy Hernandez changed: What|Removed |Added CC||amacleod at redhat dot com ---

[Bug tree-optimization/114999] A few missing optimizations due to `a - b` and `b - a` not being detected as negatives of each other

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999 --- Comment #7 from Andrew Pinski --- ``` inline int func0(int y){ return -~y; } int func2(int y){ return (~y)/(-(~y)); } int func2a(int y){ return (~y)/func0(y); } int func1(int y){ return (~y)/(y+1); } ``` What is interesting

[Bug tree-optimization/115224] (a ^ 1) & (a ^ ~1) is not optimized to 0 at the gimplelevel

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115224 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/115224] New: (a ^ 1) & (a ^ ~1) is not optimized to 0 at the gimplelevel

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115224 Bug ID: 115224 Summary: (a ^ 1) & (a ^ ~1) is not optimized to 0 at the gimplelevel Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug c++/114867] [modules] name lookup issues when a function overload set is exported from GMF

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114867 Nathaniel Shead changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug rtl-optimization/115182] [15 Regression] gcc.target/cris/pr93372-47.c at r15-518-g99b1daae18c095

2024-05-24 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115182 Hans-Peter Nilsson changed: What|Removed |Added Last reconfirmed||2024-05-25

[Bug tree-optimization/115144] [15 Regression] 2% performance regression for some codes with r15-518-g99b1daae18c095

2024-05-24 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115144 Hans-Peter Nilsson changed: What|Removed |Added Keywords|testsuite-fail | --- Comment #11 from Hans-Peter

[Bug tree-optimization/114999] A few missing optimizations due to `a - b` and `b - a` not being detected as negatives of each other

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999 --- Comment #6 from Andrew Pinski --- `~a` and `a + 1` are also negative of each other too: ``` int f(int a, int b) { int t = ~a; int t1 = -t; return t1 == t; } int f1(int a) { return (~a) == (-~a); } int f2(int a) { return (a) ==

[Bug lto/115223] New: [15 regression] ICE when building KDE kontrast with LTO (error: ‘TYPE_CANONICAL’ has different ‘TYPE_CANONICAL’)

2024-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115223 Bug ID: 115223 Summary: [15 regression] ICE when building KDE kontrast with LTO (error: ‘TYPE_CANONICAL’ has different ‘TYPE_CANONICAL’) Product: gcc Version:

[Bug c++/115222] gcc ignores noexcept on fields' deconstructors in an union

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115222 --- Comment #4 from Andrew Pinski --- Hmm, my reduced testcase has slightly different behavior compared to the original one for some versions of GCC. The original testcase is partly related to PR 114844 while my reduced testcase is just missing

[Bug c++/115222] gcc ignores noexcept on fields' deconstructors in an union

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115222 --- Comment #3 from Andrew Pinski --- C++14 (and C++11) had slightly different wording here: ``` Given a member function f of some class X, where f is an inheriting constructor (12.9) or an implicitlydeclared special member function, the set

[Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-807-gfae5e6a4dfcf92

2024-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208 Sam James changed: What|Removed |Added Severity|normal |blocker --- Comment #4 from Sam James ---

[Bug c++/115222] gcc ignores noexcept on fields' deconstructors in an union

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

[Bug tree-optimization/115220] [15 Regression] RISC-V: newlib targets ICE during sink pass triggered in verify_ssa

2024-05-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115220 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/115222] clang does not think libstdc++'s std::optional is nothrow destructible

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115222 --- Comment #1 from Andrew Pinski --- here is a much reduced testcase: ``` struct A { ~A() noexcept(false); }; union _Storage { A _M_value; ~_Storage(); }; static_assert(noexcept(_Storage{})); ```

[Bug c++/115222] New: clang does not think libstdc++'s std::optional is nothrow destructible

2024-05-24 Thread pobrn at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115222 Bug ID: 115222 Summary: clang does not think libstdc++'s std::optional is nothrow destructible Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

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

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 107401, which changed state. Bug 107401 Summary: [c++ modules] ICE in get_originating_module_decl, at cp/module.cc:18587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107401 What|Removed

[Bug c++/107401] [c++ modules] ICE in get_originating_module_decl, at cp/module.cc:18587

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107401 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org

[Bug tree-optimization/115221] [15 regression] ICE when building reiser4progs (propagate_updated_value, at gimple-range-cache.cc:1368)

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

[Bug tree-optimization/115221] [15 regression] ICE when building reiser4progs (propagate_updated_value, at gimple-range-cache.cc:1368)

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115221 --- Comment #3 from Andrew Pinski --- This one still ICEs and it is closer to the original source: ``` typedef unsigned uint32_t; int cde40_t; int offset; void aal_test_bit(); uint32_t cde40_key_pol(); long cde40_offset_check(uint32_t pos) {

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

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 102345, which changed state. Bug 102345 Summary: [modules] Cannot define a module interface unit for anything in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102345 What|Removed

[Bug c++/102345] [modules] Cannot define a module interface unit for anything in

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102345 Nathaniel Shead changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/102345] [modules] Cannot define a module interface unit for anything in

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102345 --- Comment #5 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:28b508233a12c13295f960a2cb8a4864879acfb4 commit r15-830-g28b508233a12c13295f960a2cb8a4864879acfb4 Author: Nathaniel Shead Date:

[Bug tree-optimization/115221] [15 regression] ICE when building reiser4progs (propagate_updated_value, at gimple-range-cache.cc:1368)

2024-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115221 --- Comment #2 from Sam James --- ``` typedef unsigned uint32_t; int cde40_t; void aal_test_bit(); uint32_t cde40_key_pol(); long cde40_offset_check(uint32_t pos) { cde40_key_pol(); if (cde40_t) return pos ?: 0 % 0; } void

[Bug tree-optimization/115220] [15 Regression] RISC-V: newlib targets ICE during sink pass triggered in verify_ssa

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115220 --- Comment #4 from Andrew Pinski --- (In reply to Edwin Lu from comment #3) > (In reply to Andrew Pinski from comment #1) > > Can you provide the preprocessed source? > > I attached the -freport-bug output. Please lmk if you need anything

[Bug tree-optimization/115220] [15 Regression] RISC-V: newlib targets ICE during sink pass triggered in verify_ssa

2024-05-24 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115220 --- Comment #3 from Edwin Lu --- (In reply to Andrew Pinski from comment #1) > Can you provide the preprocessed source? I attached the -freport-bug output. Please lmk if you need anything else!

[Bug tree-optimization/115220] [15 Regression] RISC-V: newlib targets ICE during sink pass triggered in verify_ssa

2024-05-24 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115220 --- Comment #2 from Edwin Lu --- Created attachment 58283 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58283=edit -freport-bug output

[Bug tree-optimization/115221] [15 regression] ICE when building reiser4progs (propagate_updated_value, at gimple-range-cache.cc:1368)

2024-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115221 --- Comment #1 from Sam James --- Reducing.

[Bug tree-optimization/115221] New: [15 regression] ICE when building reiser4progs (propagate_updated_value, at gimple-range-cache.cc:1368)

2024-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115221 Bug ID: 115221 Summary: [15 regression] ICE when building reiser4progs (propagate_updated_value, at gimple-range-cache.cc:1368) Product: gcc Version: unknown

[Bug c++/115219] [11/12/13/14/15 Regression] [c++17+] ICE on depdendent noexcept class operator delete

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115219 --- Comment #4 from Andrew Pinski --- (In reply to Barnabás Pőcze from comment #3) > That reduced test case compiles fine for me. On CE, too. Am I missing some > compilation flags? Oh I reduced it with an older version but newer versions (GCC

[Bug tree-optimization/115220] [15] RISC-V: newlib targets ICE during sink pass triggered in verify_ssa

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

[Bug c++/115219] [11/12/13/14/15 Regression] [c++17+] ICE on depdendent noexcept class operator delete

2024-05-24 Thread pobrn at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115219 --- Comment #3 from Barnabás Pőcze --- That reduced test case compiles fine for me. On CE, too. Am I missing some compilation flags?

[Bug target/115220] New: [15] RISC-V: newlib targets ICE during sink pass triggered in verify_ssa

2024-05-24 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115220 Bug ID: 115220 Summary: [15] RISC-V: newlib targets ICE during sink pass triggered in verify_ssa Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/115219] [11/12/13/14/15 Regression] [c++17+] ICE on depdendent noexcept class operator delete

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115219 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5 Summary|[c++17+] ICE

[Bug c++/115219] [c++17+] ICE on depdendent noexcept class operator delete

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115219 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/115219] [c++17+] ICE on depdendent noexcept class operator delete

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115219 Andrew Pinski changed: What|Removed |Added Summary|ICE on conditionally|[c++17+] ICE on depdendent

[Bug c++/115219] New: ICE on conditionally noexcept class operator delete

2024-05-24 Thread pobrn at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115219 Bug ID: 115219 Summary: ICE on conditionally noexcept class operator delete Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/115161] [15 Regression] highway-1.0.7 miscompilation of some SSE2 intrinsics

2024-05-24 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115161 --- Comment #22 from Sergei Trofimovich --- (In reply to Sergei Trofimovich from comment #21) gcc generates the following code for this C code: > int main() { > const __m128i su = _mm_set1_epi32(0x4f80); > const __m128 sf =

[Bug fortran/103368] [11/12/13 Regression] ICE in gimplify_expr, at gimplify.c:15668 since r12-4464-g017665f63047ce47

2024-05-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103368 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to paul.richard.tho...@gmail.com from comment #8) > I simply copied all the associated functions in trans-expr.cc from mainline > and plonked them in 13-branch. That's why I said that I

[Bug fortran/93635] Get ICE instead of error message if user incorrectly equivalences allocateable variables that are in a NAMELIST group

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93635 --- Comment #8 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9561cf550a66a89e7c8d31202a03c4fddf82a3f2 commit r15-828-g9561cf550a66a89e7c8d31202a03c4fddf82a3f2 Author: Harald Anlauf Date:

[Bug fortran/86100] Spurious error with -fcheck=bounds and allocatable class(*) array components

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86100 --- Comment #5 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:93765736815a049e14d985b758a213cfe60c1e1c commit r15-827-g93765736815a049e14d985b758a213cfe60c1e1c Author: Harald Anlauf Date:

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

2024-05-24 Thread mizvekov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114841 --- Comment #2 from Matheus Izvekov --- I published https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3310r0.html to address this problem, it has the most up-to-date wording. FYI the inconsistent deduction examples from problem #1

[Bug c++/111529] [11/12/13 Regression] ICE on bool conversion in an unrolled loop condition inside template lambda nested in another template scope

2024-05-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111529 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/101603] [meta-bug] pointer to member functions issues

2024-05-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 113598, which changed state. Bug 113598 Summary: [11/12/13 Regression] GCC internal compiler error since r0-124275 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113598 What|Removed

[Bug c++/113598] [11/12/13 Regression] GCC internal compiler error since r0-124275

2024-05-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113598 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/111529] [11/12/13 Regression] ICE on bool conversion in an unrolled loop condition inside template lambda nested in another template scope

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111529 --- Comment #8 from GCC Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a644775c363979bc25951532819ffa0f244b82f4 commit r11-11448-ga644775c363979bc25951532819ffa0f244b82f4 Author: Jason Merrill

[Bug c++/113598] [11/12/13 Regression] GCC internal compiler error since r0-124275

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113598 --- Comment #7 from GCC Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:38de942670ad39c60ba4feae893d11843e0aebe8 commit r11-11449-g38de942670ad39c60ba4feae893d11843e0aebe8 Author: Jason Merrill

[Bug libstdc++/100667] [11/12 Regression] std::tuple cannot be constructed from A&&, if A not defined (only forward declared)

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100667 --- Comment #16 from GCC Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:16046a075cb54c90609825e30b2ab45a03395ca1 commit r11-11447-g16046a075cb54c90609825e30b2ab45a03395ca1 Author: Jason

[Bug libstdc++/115218] New: The conversion constructor of concat_view::iterator always default-constructs variant

2024-05-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115218 Bug ID: 115218 Summary: The conversion constructor of concat_view::iterator always default-constructs variant Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/115217] Register pairs can't be encoded in RISC-V inline asm blocks

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115217 --- Comment #1 from Andrew Pinski --- Note aarch64's TImode is always allocated in starting in even number registers (starting in GCC 9: https://inbox.sourceware.org/gcc-patches/20181002161915.18843-10-richard.hender...@linaro.org/ ) .

[Bug libstdc++/100667] [11/12 Regression] std::tuple cannot be constructed from A&&, if A not defined (only forward declared)

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100667 --- Comment #15 from GCC Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ba57a52dbf6a64ba66f72c20064c5c0e8cc9dbbb commit r12-10470-gba57a52dbf6a64ba66f72c20064c5c0e8cc9dbbb Author: Jason

[Bug target/115217] New: Register pairs can't be encoded in RISC-V inline asm blocks

2024-05-24 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115217 Bug ID: 115217 Summary: Register pairs can't be encoded in RISC-V inline asm blocks Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/115187] [14 Regression] ICE when deleting temporary array

2024-05-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/104318] [modules] ICE tsubst_copy, at cp/pt.c:16621

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104318 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org

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

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 104318, which changed state. Bug 104318 Summary: [modules] ICE tsubst_copy, at cp/pt.c:16621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104318 What|Removed |Added

[Bug c++/115187] [14 Regression] ICE when deleting temporary array

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9031c027827bff44e1b55c366fc7034c43501b4c commit r14-10242-g9031c027827bff44e1b55c366fc7034c43501b4c Author: Jason Merrill

[Bug c/114831] typeof doesn't evaluate expression when it has variably modified type in some cases

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114831 --- Comment #3 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:9f1798c1a93257526196a3c19828e40fb28ac551 commit r15-825-g9f1798c1a93257526196a3c19828e40fb28ac551 Author: Martin Uecker Date:

[Bug c++/111106] [11/12/13/14/15 Regression] missing ; causes internal compiler error: in dependent_type_p, at cp/pt.cc:27901

2024-05-24 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=06 Simon Martin changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug c++/114683] [modules] name declared in GMF in inline namespace and exported via using-decl from parent namespace is not visible to importer

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114683 Nathaniel Shead changed: What|Removed |Added Last reconfirmed||2024-05-24 CC|

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

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 114868, which changed state. Bug 114868 Summary: [modules] func declared in GMF and exported via using-decl in module partition is not actually exported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114868

[Bug c++/114868] [modules] func declared in GMF and exported via using-decl in module partition is not actually exported

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

[Bug c++/114868] [modules] func declared in GMF and exported via using-decl in module partition is not actually exported

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114868 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:782ad2033ea0709a25ef3e899cbb9491406146d5 commit r14-10241-g782ad2033ea0709a25ef3e899cbb9491406146d5 Author: Nathaniel

[Bug c++/115216] operator auto() gets instantiatied too eagerly

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115216 --- Comment #2 from Andrew Pinski --- MSVC and ICC (EDG in GCC compat mode) also rejects the code for the same reason as GCC. Are you sure this is not a clang issue?

[Bug c++/115216] operator auto() gets instantiatied too eagerly

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115216 --- Comment #1 from Andrew Pinski --- Created attachment 58281 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58281=edit testcase Next time please attach the testcase or place it inline rather than just a link to godbolt.

[Bug c++/115216] New: operator auto() gets instantiatied too eagerly

2024-05-24 Thread olaf.krzikalla at dlr dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115216 Bug ID: 115216 Summary: operator auto() gets instantiatied too eagerly Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

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

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 114275, which changed state. Bug 114275 Summary: using std::thread within a templated function in a module fails to compile https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 What|Removed

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

2024-05-24 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 Resolution|--- |FIXED Status|NEW

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

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 105320, which changed state. Bug 105320 Summary: Use of shared_ptr within a type exported from a module results in spurious compiler error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105320 What

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

2024-05-24 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 Resolution|--- |FIXED Status|NEW

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

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105320 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:fd6fd88b1a93f4fb38f095688255ab5c00122810 commit r14-10240-gfd6fd88b1a93f4fb38f095688255ab5c00122810 Author: Nathaniel

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

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114275 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:fd6fd88b1a93f4fb38f095688255ab5c00122810 commit r14-10240-gfd6fd88b1a93f4fb38f095688255ab5c00122810 Author: Nathaniel

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

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115200, which changed state. Bug 115200 Summary: [modules] ICE in declare_module() with unclosed namespace scope before module perview https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115200 What|Removed

[Bug c++/115200] [modules] ICE in declare_module() with unclosed namespace scope before module perview

2024-05-24 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115200 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/115200] [modules] ICE in declare_module() with unclosed namespace scope before module perview

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115200 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:dae606a11eb99814e452b49241fa76f7678f53b8 commit r15-824-gdae606a11eb99814e452b49241fa76f7678f53b8 Author: Nathaniel Shead Date:

[Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-809

2024-05-24 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208 --- Comment #3 from Rainer Orth --- An i686-pc-linux-gnu reghunt just completed, looking for the rust OOM failures reported in PR bootstrap/115213. This patch is the culprit: commit fae5e6a4dfcf9270cd09c2240480860b09c2c627 Author: Andrew

[Bug tree-optimization/115210] Missed optimization opportunity in redundant copies for large structure

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

[Bug tree-optimization/14295] [tree-ssa] copy propagation for aggregates

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 Andrew Pinski changed: What|Removed |Added CC||user202729 at protonmail dot com ---

[Bug tree-optimization/115210] Missed optimization opportunity in redundant copies for large structure

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115210 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/114561] [11/12 Regression] Comma operator with forwarding reference to pointer raises invalid lvalue required error since r10-7410

2024-05-24 Thread Liam.Jackson--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 --- Comment #11 from Liam Jackson --- Thank-you all for narrowing down and fixing this issue, and back-porting the fix to older compilers. It is much appreciated.

[Bug c++/114562] [11/12 Regression] ICE when trying to bind rvalue reference to lvalue with comma operator and forwarding reference to pointer since r10-7410

2024-05-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114562 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/114561] [11/12 Regression] Comma operator with forwarding reference to pointer raises invalid lvalue required error since r10-7410

2024-05-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/114561] [11/12 Regression] Comma operator with forwarding reference to pointer raises invalid lvalue required error since r10-7410

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 --- Comment #9 from GCC Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b35afe75674ff9f79cf9685d099bc80f10442216 commit r11-11446-gb35afe75674ff9f79cf9685d099bc80f10442216 Author: Jason Merrill

[Bug c++/114562] [11/12 Regression] ICE when trying to bind rvalue reference to lvalue with comma operator and forwarding reference to pointer since r10-7410

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114562 --- Comment #5 from GCC Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b35afe75674ff9f79cf9685d099bc80f10442216 commit r11-11446-gb35afe75674ff9f79cf9685d099bc80f10442216 Author: Jason Merrill

[Bug c++/111529] [11/12/13 Regression] ICE on bool conversion in an unrolled loop condition inside template lambda nested in another template scope

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111529 --- Comment #7 from GCC Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:19827831516023f2dff449af0b228b2d60190a28 commit r12-10468-g19827831516023f2dff449af0b228b2d60190a28 Author: Jason Merrill

[Bug c++/113598] [11/12/13 Regression] GCC internal compiler error since r0-124275

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113598 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:419b5e17eace9b6b985b9853db0dc1a5478375b6 commit r12-10467-g419b5e17eace9b6b985b9853db0dc1a5478375b6 Author: Jason Merrill

[Bug c++/114562] [11/12 Regression] ICE when trying to bind rvalue reference to lvalue with comma operator and forwarding reference to pointer since r10-7410

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114562 --- Comment #4 from GCC Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7076c565e22281e193aeafafbf40676426a64b75 commit r12-10466-g7076c565e22281e193aeafafbf40676426a64b75 Author: Jason Merrill

[Bug c++/114561] [11/12 Regression] Comma operator with forwarding reference to pointer raises invalid lvalue required error since r10-7410

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 --- Comment #8 from GCC Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7076c565e22281e193aeafafbf40676426a64b75 commit r12-10466-g7076c565e22281e193aeafafbf40676426a64b75 Author: Jason Merrill

[Bug c++/111529] [11/12/13 Regression] ICE on bool conversion in an unrolled loop condition inside template lambda nested in another template scope

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111529 --- Comment #6 from GCC Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:53cdaa755de57e57ba9e787f232adc3cfde88209 commit r13-8799-g53cdaa755de57e57ba9e787f232adc3cfde88209 Author: Jason Merrill

[Bug c++/113598] [11/12/13 Regression] GCC internal compiler error since r0-124275

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113598 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5f1457841abc2fd8657a52d1371c983ac010f1cc commit r13-8798-g5f1457841abc2fd8657a52d1371c983ac010f1cc Author: Jason Merrill

[Bug tree-optimization/115208] [15 Regression] Memory consumption get extremely high after r15-809

2024-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208 Andrew Pinski changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #2

[Bug bootstrap/115213] [15 regression] Excessive memory use compiling rust with 32-bit gcc

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

[Bug c++/115190] -fmodule-mapper does not accept CRLF files

2024-05-24 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115190 --- Comment #8 from Peter Damianov --- I have been totally unable to reproduce this outside of MSYS2, with any compilers I built myself. The "MSYS2 MSYS" shell also doesn't have this problem. I can't explain why. I tried investigating, but

[Bug libstdc++/115215] New: views::concat rejects non-movable references

2024-05-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115215 Bug ID: 115215 Summary: views::concat rejects non-movable references Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/115214] New: tree-ssa-pre.c(ICE in find_or_generate_expression, at tree-ssa-pre.c:2780)

2024-05-24 Thread jiawei at iscas dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115214 Bug ID: 115214 Summary: tree-ssa-pre.c(ICE in find_or_generate_expression, at tree-ssa-pre.c:2780) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c++/115192] [11/12/13/14 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars) since r11-6380

2024-05-24 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115192 Richard Sandiford changed: What|Removed |Added Summary|[11/12/13/14/15 regression] |[11/12/13/14 regression]

[Bug c++/115192] [11/12/13/14/15 regression] -O3 miscompilation on x86-64 (loops with vectors and scalars) since r11-6380

2024-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115192 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:a0fe4fb1c8d7804515845dd5d2a814b3c7a1ccba commit r15-820-ga0fe4fb1c8d7804515845dd5d2a814b3c7a1ccba Author: Richard Sandiford

[Bug other/115211] [11/12/13/14/15 regression] -frecord-gcc-switches refactoring lost list of enabled options

2024-05-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115211 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) [..] > Ah! Use -Q --help=optimizers (how intuititve...) Or when invoking cc1 omit -quiet. remember to put --help=optimziers after optimization options.

[Bug other/115211] [11/12/13/14/15 regression] -frecord-gcc-switches refactoring lost list of enabled options

2024-05-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115211 --- Comment #3 from Richard Biener --- (In reply to r...@cebitec.uni-bielefeld.de from comment #2) > > --- Comment #1 from Richard Biener --- > > This was done on purpose, you can use -help=optimizers now I think. > > The thread I cited

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

2024-05-24 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229 --- Comment #7 from Simon Martin --- Bisection shows that this has been fixed by https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=252e9dfee9b1d01e0e44773ad83e0e44f3650945 Test case addition proposed in

  1   2   >