[Bug target/118182] RISC-V: Miscompile for 410.bwaves, 416.gamess and 465.tonto from spec2006

2025-04-11 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118182 --- Comment #9 from Alexandre Oliva --- https://gcc.gnu.org/pipermail/gcc-patches/2025-April/680824.html

[Bug tree-optimization/93010] Wrong optimization: provenance affects comparison of saved bits of addresses of dead auto variables

2025-04-11 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93010 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org ---

[Bug target/118182] RISC-V: Miscompile for 410.bwaves, 416.gamess and 465.tonto from spec2006

2025-04-11 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118182 --- Comment #8 from Alexandre Oliva --- The problem is that the @pred_broadcast pattern expands to _zvfh insns even when _zero or _imm would do. The scalar constant gets allocated to a register, and vec_duplicated in the pred_broadcast insn, on

[Bug target/84328] [12/13/14/15 Regression] -finline-small-functions and inline keyword lead to slowdown since version 6

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84328 Andrew Pinski changed: What|Removed |Added Target Milestone|12.5|12.0 Resolution|---

[Bug libstdc++/119748] std::string::string(InputIterator, InputIterator) rejects volatile charT* as iterator

2025-04-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119748 --- Comment #1 from 康桓瑋 --- The _S_copy_range(pointer __p, _Rg&& __rg, size_type __n) help committed yesterday also needs to be fixed for the contiguous_range branch.

[Bug target/108134] x86 Operand Modifiers documentation issue

2025-04-11 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108134 Hongtao Liu changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug cobol/119456] gcobol: huge codegen for use of reference-modification (and missing optimization)

2025-04-11 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119456 Robert Dubner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug cobol/119694] Excessive getenv uses in cobol FE

2025-04-11 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119694 Robert Dubner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug cobol/119694] Excessive getenv uses in cobol FE

2025-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119694 --- Comment #11 from GCC Commits --- The master branch has been updated by Robert Dubner : https://gcc.gnu.org/g:711c10383f494b316c5919aa0141f6fa609578b4 commit r15-9392-g711c10383f494b316c5919aa0141f6fa609578b4 Author: Bob Dubner Date: Fri

[Bug target/80813] x86: std::vector::operator[] could be somewhat faster using BT instead of SHL

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80813 Andrew Pinski changed: What|Removed |Added Target Milestone|12.5|--- Summary|[12/13/14/15 Regr

[Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs

2025-04-11 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065 --- Comment #38 from Nicolas Boulenguez --- Created attachment 61085 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61085&action=edit variant of v14 patch 2 defining the link symbols in System.OS_Constants This variant of patch 2 in v14 d

[Bug target/108134] x86 Operand Modifiers documentation issue

2025-04-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108134 sandra at gcc dot gnu.org changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org,

[Bug c++/113835] [13/14/15 Regression] compiling std::vector with const size in C++20 is slow

2025-04-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835 Jason Merrill changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #11

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-11 Thread zbigniew2011 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #4 from Zbigniew --- Excuse me, but it'll again compile 20 hours or so. No, it's highly unlikely literally every distro has 'packaging issues' and exactly with gm2 — maybe the better way would be if you first try the example program

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #3 from Andrew Pinski --- (In reply to Zbigniew from comment #2) > It is compiled (the whole 14.2 'suite') from the sources. But I doubt > Slackware's scripts interfere with GM2 subdirectories in any way. You can > easily check Slack

[Bug bootstrap/119750] Unable to compile GCC 14.2 using GCC 11.5 — on 32-bit x86

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

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-11 Thread zbigniew2011 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #2 from Zbigniew --- It is compiled (the whole 14.2 'suite') from the sources. But I doubt Slackware's scripts interfere with GM2 subdirectories in any way. You can easily check Slackware-current scripts, they are available on any Sl

[Bug bootstrap/119750] Unable to compile GCC 14.2 using GCC 11.5 — on 32-bit x86

2025-04-11 Thread zbigniew2011 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119750 --- Comment #2 from Zbigniew --- Indeed, I didn't try any other compilation since that time. It reports: gcc hw.c -o hw.o Assembler messages: Internal error (Illegal instruction). Please report this bug. Well I did compilation of GCC 11.5 on t

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 Andrew Pinski changed: What|Removed |Added Target||x86_64-slackware-linux --- Comment #1 f

[Bug modula2/119751] New: There's a need to tidy up m2 subdirectories' contents

2025-04-11 Thread zbigniew2011 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 Bug ID: 119751 Summary: There's a need to tidy up m2 subdirectories' contents Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug tree-optimization/117705] [15 regression] g++.dg/vect/pr64410.cc and gcc.dg/tree-ssa/pr32964.c FAIL since r15-3070-gf577959f420ae4

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117705 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug bootstrap/119750] Unable to compile GCC 14.2 using GCC 11.5 — on 32-bit x86

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

[Bug c/119750] New: Unable to compile GCC 14.2 using GCC 11.5 — on 32-bit x86

2025-04-11 Thread zbigniew2011 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119750 Bug ID: 119750 Summary: Unable to compile GCC 14.2 using GCC 11.5 — on 32-bit x86 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/117705] [15 regression] g++.dg/vect/pr64410.cc and gcc.dg/tree-ssa/pr32964.c FAIL since r15-3070-gf577959f420ae4

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117705 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug rtl-optimization/116564] [12/13 Regression] aarch64: gcc hangs when compiling vst2_f64 instrinsic at -O1 and above since r12-4910-g66f206b853

2025-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116564 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:7c6bd95b1811d797f43983dbbeb4ad478bdb5c9e commit r13-9517-g7c6bd95b1811d797f43983dbbeb4ad478bdb5c9e Author: Alex Coplan Dat

[Bug c++/106618] C++ Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order`

2025-04-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106618 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/106618] C++ Option Summary shows `-fargs-in-order` instead of `-fstrong-eval-order`

2025-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106618 --- Comment #4 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:498933e54dc4669276951d27d3b1bcdc0d4bacb4 commit r15-9390-g498933e54dc4669276951d27d3b1bcdc0d4bacb4 Author: Sandra Loosemore Dat

[Bug c++/119732] ICE: assertion failure in tsubst_pack_expansion

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

[Bug c++/119346] ICE: in tsubst_pack_expansion, at cp/pt.cc:13899 when using fold expression with a lambda without a pack

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119346 Andrew Pinski changed: What|Removed |Added CC||mkretz at gcc dot gnu.org --- Comment #

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #17 from Andrew Pinski --- (In reply to Andrew Pinski from comment #16) > Basically you update the min/max values and the value/mask by doing the > shifts. And I think the rest will fall out. That is actually done. But for some rea

[Bug analyzer/111536] -fanalyzer false positive with NRVO return

2025-04-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111536 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Target Milestone|---

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #18 from Andrew Pinski --- Oh I think I know how to fix this case. In scalar_min_max_arsh, Replace: /* Its not easy to operate on alu32 bounds here because it depends * on bits being shifted in from upper 32-bits.

[Bug analyzer/119749] New: Functions with attribute malloc only warn of possibly-NULL use if attribute has a deallocator

2025-04-11 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119749 Bug ID: 119749 Summary: Functions with attribute malloc only warn of possibly-NULL use if attribute has a deallocator Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug middle-end/105548] -frounding-math description contains a misleading sentence

2025-04-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105548 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #16 from Andrew Pinski --- (In reply to Andrew Pinski from comment #15) > (In reply to Andrew Pinski from comment #14) > > Just a quick update. It looks like undefined code in the verifier producing > > a verification error. > > Sor

[Bug middle-end/105548] -frounding-math description contains a misleading sentence

2025-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105548 --- Comment #1 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:93f6ea830348a5a733ecde863cddae80d84bdda0 commit r15-9389-g93f6ea830348a5a733ecde863cddae80d84bdda0 Author: Sandra Loosemore Dat

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

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 119746, which changed state. Bug 119746 Summary: -Wstrict-aliasing warning on calling pointer to member function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119746 What|Removed |Adde

[Bug c++/86922] Invoking templated PTMF on subclass gives false strict-aliasing warning

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86922 Andrew Pinski changed: What|Removed |Added CC||bungeman at chromium dot org --- Comment

[Bug c++/119746] -Wstrict-aliasing warning on calling pointer to member function

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

[Bug c++/119747] Request for clearer diagnostic when consecutive commas appear in a function call

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

[Bug c++/119747] Request for clearer diagnostic when consecutive commas appear in a function call

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119747 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug libstdc++/119748] std::string::string(InputIterator, InputIterator) rejects volatile charT* as iterator

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119748 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Targ

[Bug libstdc++/119748] New: std::string::string(InputIterator, InputIterator) rejects volatile charT* as iterator

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119748 Bug ID: 119748 Summary: std::string::string(InputIterator, InputIterator) rejects volatile charT* as iterator Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/119747] Request for clearer diagnostic when consecutive commas appear in a function call

2025-04-11 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119747 --- Comment #1 from Barry Revzin --- Clang's diagnostic is equivalent to gcc's for this example: :9:5: error: expected expression 9 | CALL_F(1, 2); | ^ :6:40: note: expanded from macro 'CALL_F' 6 | #define CALL_F(v, ...) f

[Bug c++/119747] New: Request for clearer diagnostic when consecutive commas appear in a function call

2025-04-11 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119747 Bug ID: 119747 Summary: Request for clearer diagnostic when consecutive commas appear in a function call Product: gcc Version: 15.0 Status: UNCONFIRMED Severit

[Bug c++/119732] ICE (segfault) in reference_related_p(tree_node*, tree_node*)

2025-04-11 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119732 --- Comment #1 from Matthias Kretz (Vir) --- After rebuilding GCC with checking enabled I get the following trace: constexpr.core2.ii: In instantiation of ‘array convert_mask() [with _Tp = array]’: constexpr.core2.ii:10:22: required from here

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #15 from Andrew Pinski --- (In reply to Andrew Pinski from comment #14) > Just a quick update. It looks like undefined code in the verifier producing > a verification error. Sorry this is incorrect. basically the problem is we have:

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #14 from Andrew Pinski --- Just a quick update. It looks like undefined code in the verifier producing a verification error. scalar32_min_max_arsh does: u64 umin_val = src_reg->u32_min_value; /* Upon reaching here,

[Bug c/82265] packed attribute on variables but documented as so

2025-04-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82265 sandra at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/119702] PPCLE: Inefficient auto-vectorization for 64-bit shifts on Power9

2025-04-11 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119702 Peter Bergner changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 Sam James changed: What|Removed |Added Attachment #61078|0 |1 is obsolete|

[Bug c++/119746] New: -Wstrict-aliasing warning on calling pointer to member function

2025-04-11 Thread bungeman at chromium dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119746 Bug ID: 119746 Summary: -Wstrict-aliasing warning on calling pointer to member function Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/118182] RISC-V: Miscompile for 410.bwaves, 416.gamess and 465.tonto from spec2006

2025-04-11 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118182 --- Comment #7 from Alexandre Oliva --- bisection with this PR's patch led me to the patch that added the late-combine pass as the one that enables the intended result. That's all I know so far.

[Bug c/119738] __builtin_choose_expr(__builtin_constant_p(...), ..., ...) is sometimes incorrect

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

[Bug c/66963] __builtin_constant_p and __builtin_choose_expr do not agree on what is a constexpr with -O2

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66963 Andrew Pinski changed: What|Removed |Added CC||regis.duchesne at broadcom dot com ---

gcc-bugs@gcc.gnu.org

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119745 Bug ID: 119745 Summary: [C++23] Implement P2438R2, basic_string::substr() && Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug libstdc++/119744] New: [C++23] Implement P2711R1, Making multi-param constructors of views explicit

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119744 Bug ID: 119744 Summary: [C++23] Implement P2711R1, Making multi-param constructors of views explicit Product: gcc Version: unknown Status: UNCONFIRMED Severity

[Bug libstdc++/119725] std/format/debug.cc etc. FAIL

2025-04-11 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119725 --- Comment #2 from Tomasz Kamiński --- I do not (yet) have access to solaris machine. Would it be possible for you to verify that all tests passes with following adjustments: diff --git a/libstdc++-v3/testsuite/std/format/debug.cc b/libstdc++-v

[Bug libstdc++/119743] New: [C++26] Implement P0447R28, std::hive

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119743 Bug ID: 119743 Summary: [C++26] Implement P0447R28, std::hive Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc

[Bug libstdc++/119742] New: [C++26] Implement P2697R1, Interfacing bitset with string_view

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119742 Bug ID: 119742 Summary: [C++26] Implement P2697R1, Interfacing bitset with string_view Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/119741] New: [C++26] Implement P2495R3, Interfacing stringstreams with string_view

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119741 Bug ID: 119741 Summary: [C++26] Implement P2495R3, Interfacing stringstreams with string_view Product: gcc Version: unknown Status: UNCONFIRMED Severity: norma

[Bug middle-end/119737] GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.'

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

[Bug driver/119727] -freport-bug vs. ASLR

2025-04-11 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119727 --- Comment #4 from Andi Kleen --- Yes but on the OS where you know it it's better to do both to make the runs more reproducible. There are also bugs that don't reproduce on ASLR

[Bug libstdc++/119740] New: [C++26] Implement P2714R1, Bind front and back to NTTP callables

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119740 Bug ID: 119740 Summary: [C++26] Implement P2714R1, Bind front and back to NTTP callables Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/119739] New: [C++25] Implement P0952R2, A new specification for std::generate_canonical

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119739 Bug ID: 119739 Summary: [C++25] Implement P0952R2, A new specification for std::generate_canonical Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug fortran/119546] Bogus -Wuninitialized warnings with scalar REDUCE intrinsic

2025-04-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119546 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|UNC

[Bug target/119737] GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.'

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119737 --- Comment #1 from Andrew Pinski --- The except.cc code does: ``` switch_to_exception_section (fnname); /* If the target wants a label to begin the table, emit it here. */ targetm.asm_out.emit_except_table_label (asm_out_file); /* D

[Bug c/119738] __builtin_choose_expr(__builtin_constant_p(...), ..., ...) is sometimes incorrect

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119738 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/119737] GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.'

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119737 Andrew Pinski changed: What|Removed |Added Component|target |middle-end Keywords|

[Bug c/119738] New: __builtin_choose_expr(__builtin_constant_p(...), ..., ...) is sometimes incorrect

2025-04-11 Thread regis.duchesne at broadcom dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119738 Bug ID: 119738 Summary: __builtin_choose_expr(__builtin_constant_p(...), ..., ...) is sometimes incorrect Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug c++/119736] rejected/ICEs when non type template parameter used as an argument to a const ref non type template parameter

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119736 --- Comment #3 from Andrew Pinski --- >→ ICE is a '15 Regression' - as mentioned in comment 0 No, well it is a GCC 14/15 regression but only with checking enabled ...

[Bug c++/119736] rejected/ICEs when non type template parameter used as an argument to a const ref non type template parameter

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119736 Andrew Pinski changed: What|Removed |Added Known to fail||14.1.0 Keywords|

[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-04-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #3) > I am curious what other compilers do with this. > > program foo > integer :: iun = -1 > open (iun) > write(iun,*) "This is a test." > close (

[Bug target/119737] New: GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.'

2025-04-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119737 Bug ID: 119737 Summary: GCN/C++ vs. 'as': 'LLVM ERROR: Size expression must be absolute.' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-04-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #4) > Intel: > > This is a test. Forgot to say: this goes to stdout, not to file. There is no fort.-1 or the like.

[Bug modula2/119735] make gcc.pot generates warnings in the m2 code base

2025-04-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:985ae5ae9d76f5ea10996ec7466c4d636840495a commit r15-9388-g985ae5ae9d76f5ea10996ec7466c4d636840495a Author: Gaius Mulley Date: Fri

[Bug cobol/119597] SEGV on Cobol "hello world" on Power

2025-04-11 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119597 --- Comment #4 from Peter Bergner --- Jeevitha is looking into this, but the last thing I saw, it looked like an issue on powerpc where the callee mistakenly thinks the caller has allocated a param save area (which is located in the caller's sta

[Bug modula2/119735] make gcc.pot generates warnings in the m2 code base

2025-04-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/118182] RISC-V: Miscompile for 410.bwaves, 416.gamess and 465.tonto from spec2006

2025-04-11 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118182 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug c++/119736] rejected/ICEs when non type template parameter used as an argument to a const ref non type template parameter

2025-04-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119736 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #

[Bug c++/119736] New: rejected/ICEs when non type template parameter used as an argument to a const ref non type template parameter

2025-04-11 Thread waffl3x at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119736 Bug ID: 119736 Summary: rejected/ICEs when non type template parameter used as an argument to a const ref non type template parameter Product: gcc Version: 15.0 Status:

[Bug modula2/119735] make gcc.pot generates warnings in the m2 code base

2025-04-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735 --- Comment #2 from Gaius Mulley --- Created attachment 61082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61082&action=edit Proposed fix Proposed fix removing ' and %n from m2 comments.

[Bug modula2/119735] make gcc.pot generates warnings in the m2 code base

2025-04-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug modula2/119735] New: make gcc.pot generates warnings in the m2 code base

2025-04-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735 Bug ID: 119735 Summary: make gcc.pot generates warnings in the m2 code base Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug libfortran/119502] Runtime segfault when closing invalid unit

2025-04-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119502 Jerry DeLisle changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/119733] store-merging increases alignment

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

[Bug tree-optimization/119718] __attribute__((musttail)) affects whether -foptimize-tail-calls will in fact optimize a tail call

2025-04-11 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119718 --- Comment #13 from lucier at math dot purdue.edu --- This is the change I made to report warnings when was maybe_complain_about_tail_call called: heine:~/programs/gcc/gcc-mainline/gcc> git diff diff --git a/gcc/calls.cc b/gcc/calls.cc index b3

[Bug target/119734] New: nvptx/C++ vs. '_ZTISt8bad_cast' ('typeinfo for std::bad_cast')

2025-04-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119734 Bug ID: 119734 Summary: nvptx/C++ vs. '_ZTISt8bad_cast' ('typeinfo for std::bad_cast') Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/118443] [Meta bug] Bugs triggered by and blocking more smtgcc testing

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118443 Bug 118443 depends on bug 119733, which changed state. Bug 119733 Summary: store-merging increases alignment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119733 What|Removed |Added -

[Bug tree-optimization/119733] store-merging increases alignment

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119733 --- Comment #2 from Andrew Pinski --- Without h field, GCC does produce the correct alignment at least on the RTL level: ``` (insn 7 6 0 (set (reg:DI 98 [ _26 ]) (mem:DI (reg/v/f:DI 100 [ qD.2840 ]) [0 MEM [(voidD.54 *)q_2(D)]+0 S8 A16]

[Bug c++/116178] wish: command line -std=c++newest

2025-04-11 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116178 Janez Zemva changed: What|Removed |Added CC||janezz55 at gmail dot com --- Comment #14

[Bug tree-optimization/119733] store-merging increases alignment

2025-04-11 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119733 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #12 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > (In reply to Andrew Pinski from comment #10) > > Created attachment 61081 [details] > > try this untested patch > > I had a typo: > "(register_operand (oper

[Bug tree-optimization/119733] New: store-merging increases alignment

2025-04-11 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119733 Bug ID: 119733 Summary: store-merging increases alignment Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizat

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #10 from Andrew Pinski --- Created attachment 61081 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61081&action=edit try this untested patch

[Bug libstdc++/21334] Lack of Posix compliant thread safety in std::basic_string

2025-04-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21334 --- Comment #54 from Jonathan Wakely --- Furthermore, if two threads call the non-const begin() concurrently on a shared rep, they both want to make a new clone and release their reference to the old rep. If they both allocate a new clone and sto

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #10) > Created attachment 61081 [details] > try this untested patch I had a typo: "(register_operand (operands[0], mode) || reg_or_imm_operand (operands[1], ))"

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #5 from Andrew Pinski --- GCC: r1 = r10 r3 += r5 r1 += -16 call113 .LBE7: r2 = *(u32 *) (r10+-16) *(u32 *) (r10+-24) = r2 clang: call 113 .Ltmp27: .Ltmp28: .loc

[Bug target/119731] bpf verifier failure with systemd's restrict-fs

2025-04-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119731 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > Note I would not call this wrong code. It might be a verifier not liking the > produced code but the code is still correct in terms of the underlying ISA. And i

[Bug libstdc++/119725] std/format/debug.cc etc. FAIL

2025-04-11 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119725 Tomasz Kamiński changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   3   >