[Bug libstdc++/112808] Consider enabling _GLIBCXX_ASSERTIONS checks by default for debug builds

2025-01-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112808 --- Comment #6 from Sam James --- My plan was/is to wait for the 15 cycle to be done, see if any reports come in, and go from there and ask Jonathan what he thinks. I have been filing some missed-optimisation bugs when _GLIBCXX_ASSERTIONS is en

[Bug libstdc++/112808] Consider enabling _GLIBCXX_ASSERTIONS checks by default for debug builds

2025-01-11 Thread helge at penne dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112808 --- Comment #5 from helge at penne dot no --- Thank you for doing this. I think this will have a big impact. I do hope that when this has been in use for a while and users have fixed most of the bugs that it will reveal, then perhaps you can ena

[Bug c/118403] uninitialized warning with automatic union

2025-01-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118403 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #7 fr

[Bug libstdc++/118416] std::experimental::simd code detecting all zero is not optimized to simple ptest on x86-64 avx

2025-01-11 Thread lee.imple at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118416 --- Comment #1 from Imple Lee --- Possibly related: PR90483 .

[Bug middle-end/118430] musttail false positive on how locals are used

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118430 --- Comment #3 from Andrew Pinski --- I have to double check but maybe the error message is just wrong.

[Bug middle-end/118430] musttail false positive on how locals are used

2025-01-11 Thread kenjin4096 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118430 --- Comment #2 from Ken Jin --- Thanks for the quick response. Is the second case in the initial post on the return slot error expected?

[Bug target/118429] [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276)

2025-01-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118429 --- Comment #2 from Sam James --- I'll kick off a reduction

[Bug middle-end/118430] musttail false positive on how locals are used

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118430 --- Comment #1 from Andrew Pinski --- Must have decided that val escapes and can be referenced by the call tail_call2. I am not 100% sure if this is valid or not. Rewriting the code like: int tail_call1(int opcode) { { int val; printf(

[Bug testsuite/118303] Various behaviours exposed by the testsuite result dependent on TARGET_CALLEE_COPIES

2025-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118303 --- Comment #10 from GCC Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:851e188c2abf935bb43a7e7ce2ac2e02c6a78ba8 commit r15-6827-g851e188c2abf935bb43a7e7ce2ac2e02c6a78ba8 Author: Hans-Peter Nilsson

[Bug c/118430] New: musttail false positive on how locals are used

2025-01-11 Thread kenjin4096 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118430 Bug ID: 118430 Summary: musttail false positive on how locals are used Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/118429] [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276)

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118429 --- Comment #1 from Andrew Pinski --- gcc_assert (use->is_live_out_use ()); The full backtrace (pair-fusion.cc is compiled with -O0): during RTL pass: ldp_fusion /var/tmp/portage/app-text/poppler-24.11.0-r1/work/poppler-24.11.0/poppl

[Bug target/118429] [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276)

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

[Bug target/118429] New: [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276)

2025-01-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118429 Bug ID: 118429 Summary: [15 regression] ICE when building poppler-24.11.0 on arm64 (in process_uses_of_deleted_def, at rtl-ssa/changes.cc:276) Product: gcc Versi

[Bug c++/94404] [meta-bug] C++ core issues

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 118428, which changed state. Bug 118428 Summary: [DR7] Inherited virtual base class with a private destructor is not rejected during instantiation of the corresponding derived class https://gcc.gnu.org/bugzilla/show_bug.

[Bug c++/118428] [DR7] Inherited virtual base class with a private destructor is not rejected during instantiation of the corresponding derived class

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

[Bug c++/55120] Inaccessible virtual base constructor does not prevent generation of default constructor

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120 Andrew Pinski changed: What|Removed |Added CC||wangbopku15 at gmail dot com --- Comment

[Bug target/118373] gcc-14.2 kernel panic on alderlake cpus

2025-01-11 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 --- Comment #13 from Andi Kleen --- If it immediately reboots (and you didn't use panic=XXX to reboot quickly) then it might be a triple fault. These are unfortunately harder to debug because they don't produce any console output in a native set

[Bug c++/118428] Inherited virtual base class with a private destructor is not rejected during instantiation of the corresponding derived class

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118428 --- Comment #2 from Andrew Pinski --- https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#7 Hmm, it looks like GCC started to accept it after the defect report was filed and then closed as NAD.

[Bug c++/118428] Inherited virtual base class with a private destructor is not rejected during instantiation of the corresponding derived class

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118428 --- Comment #1 from Andrew Pinski --- EDG also accepts it. Note clang 3.3 accepts it while clang 3.4 rejects it. Let see if I can find the clang change.

[Bug c++/118428] New: Inherited virtual base class with a private destructor is not rejected during instantiation of the corresponding derived class

2025-01-11 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118428 Bug ID: 118428 Summary: Inherited virtual base class with a private destructor is not rejected during instantiation of the corresponding derived class Product: gcc

[Bug c++/96570] Warnings desired for time_t to int coversions

2025-01-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96570 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #11 fr

[Bug c/118403] uninitialized warning with automatic union

2025-01-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118403 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #6 fr

[Bug middle-end/118411] asm goto in large function miscompiles with "Error: bad immediate value for offset" in ARM mode

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118411 Andrew Pinski changed: What|Removed |Added Known to work||15.0 --- Comment #7 from Andrew Pinski

[Bug middle-end/118411] asm goto in large function miscompiles with "Error: bad immediate value for offset" in ARM mode

2025-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118411 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c1729df6ec1eff4815a9cdd71392691ce21da028 commit r15-6826-gc1729df6ec1eff4815a9cdd71392691ce21da028 Author: Andrew Pinski Date: Fr

[Bug target/118373] gcc-14.2 kernel panic on alderlake cpus

2025-01-11 Thread lancethepants at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 --- Comment #12 from Lance Fredrickson --- The screen goes blank and then the device immediately reboots. It's pretty random, could be within 5-10 minutes or several to numerous hours. My serial connector should arrive within a day, and then I'l

[Bug fortran/71884] ICE in gfc_trans_allocate, at fortran/trans-stmt.c:5582 and :5698

2025-01-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71884 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug target/118373] gcc-14.2 kernel panic on alderlake cpus

2025-01-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 --- Comment #11 from Sam James --- (In reply to Lance Fredrickson from comment #10) > I have a monitor connected via displayport, but when it crashes it just goes > blank. I wonder if it's actually panicking or if the issue is video output get

[Bug target/118373] gcc-14.2 kernel panic on alderlake cpus

2025-01-11 Thread lancethepants at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 --- Comment #10 from Lance Fredrickson --- I have a monitor connected via displayport, but when it crashes it just goes blank. There is on the pcb a "jcom1" port for serial access. Should I have better luck catching it if connect it to another

[Bug middle-end/118417] [15 Regression] Bootstrap comparison failure! gcc/range-op.o differs

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118417 --- Comment #1 from Andrew Pinski --- Could you try this patch which disables ifcombine (since there is a known miscompile in some cases caused by one of the patches in the range you listed, see PR 118409): ``` [apinski@xeond2 gcc]$ git diff tre

[Bug middle-end/118417] [15 Regression] Bootstrap comparison failure! gcc/range-op.o differs

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118417 Andrew Pinski changed: What|Removed |Added Target||hppa-unknown-linux-gnu Summa

[Bug libitm/118427] New: libitm/configure.{ac,tgt} has FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118427 Bug ID: 118427 Summary: libitm/configure.{ac,tgt} has FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/118426] New: libgcc/config/avr/lib1funcs-fixed.S has FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118426 Bug ID: 118426 Summary: libgcc/config/avr/lib1funcs-fixed.S has FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCON

[Bug other/118425] New: fixincludes/*.c has FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118425 Bug ID: 118425 Summary: fixincludes/*.c has FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCONFIRMED Key

[Bug target/118423] New: config/pa/pa32-netbsd.h has FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118423 Bug ID: 118423 Summary: config/pa/pa32-netbsd.h has FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug lto/118424] New: lto/common.cc has FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118424 Bug ID: 118424 Summary: lto/common.cc has FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCONFIRMED Keywo

[Bug rtl-optimization/118421] modulo-sched.cc has FSF (physical) mailing address is included in the license header

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

[Bug other/118419] [meta-bug] FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118419 Bug 118419 depends on bug 118421, which changed state. Bug 118421 Summary: modulo-sched.cc has FSF (physical) mailing address is included in the license header https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118421 What|Removed

[Bug objc/118420] New: objc/objc-map.{cc,h} has FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118420 Bug ID: 118420 Summary: objc/objc-map.{cc,h} has FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/118409] [15 regression] gas miscompiled by ifcombine ("Unsupported broadcast" assemble failure)

2025-01-11 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118409 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org --- Comm

[Bug tree-optimization/118409] [15 regression] gas miscompiled by ifcombine ("Unsupported broadcast" assemble failure)

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118409 --- Comment #20 from Andrew Pinski --- (In reply to Sergei Trofimovich from comment #19) > (In reply to Andrew Pinski from comment #15) > > Created attachment 60112 [details] > > Reduced all the way > > Nice test Andrew! Bisect says it started

[Bug jit/118422] New: jit/jit-dejagnu.h has FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118422 Bug ID: 118422 Summary: jit/jit-dejagnu.h has FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCONFIRMED K

[Bug rtl-optimization/118421] New: modulo-sched.cc has FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118421 Bug ID: 118421 Summary: modulo-sched.cc has FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCONFIRMED Key

[Bug middle-end/118419] New: [meta-bug] FSF (physical) mailing address is included in the license header

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118419 Bug ID: 118419 Summary: [meta-bug] FSF (physical) mailing address is included in the license header Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: in

[Bug c++/53479] Control flow analysis reports warnings in switch over an enum class even if all possible values have their branches

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

[Bug sanitizer/117960] [13 Regression] "Note that the only target -fsanitize=hwaddress is currently supported on is AArch64." is not true

2025-01-11 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117960 --- Comment #6 from Heiko Eißfeldt --- Sorry, wrong section in previous comment #5. It is not yet corrected for option '-fsanitize=hwaddress', which reads at the end: '... and is currently only available on AArch64.'

[Bug sanitizer/117960] [13 Regression] "Note that the only target -fsanitize=hwaddress is currently supported on is AArch64." is not true

2025-01-11 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117960 Heiko Eißfeldt changed: What|Removed |Added CC||heiko at hexco dot de --- Comment #5 f

[Bug c/116871] -Wincompatible-pointer-types for function pointers could highlight the mismatch better

2025-01-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116871 --- Comment #6 from David Malcolm --- Created attachment 60118 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60118&action=edit Screenshot of textual output from *after* the patch

[Bug c/116871] -Wincompatible-pointer-types for function pointers could highlight the mismatch better

2025-01-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116871 --- Comment #5 from David Malcolm --- Created attachment 60117 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60117&action=edit Screenshot of textual output from *before* the patch

[Bug c/116871] -Wincompatible-pointer-types for function pointers could highlight the mismatch better

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

[Bug rtl-optimization/117868] [avr][lra] Wrong code with -mlra in simd-1.c

2025-01-11 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117868 Denis Chertykov changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/117868] [avr][lra] Wrong code with -mlra in simd-1.c

2025-01-11 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117868 --- Comment #4 from Denis Chertykov --- In brief: this is an LRA bug derived from reuse spilling slots after frame pointer spilling. The slot was created for QImode (1 byte) and it was reused after spilling of the frame pointer for TImode regist

[Bug fortran/107596] ICE in gfc_match_submodule, at fortran/module.cc:773

2025-01-11 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107596 --- Comment #2 from kargls at comcast dot net --- This appears to be fixed in gcc 14 and trunk.

[Bug target/118418] [15 Regression][gcn] Compiler selftest ICE in assert_rtx_eq_at, at selftest-rtl.cc:57 / FAIL: ASSERT_RTX_EQ (val, folded) since r15-6777-g06c4cf398947b5

2025-01-11 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118418 Andreas Schwab changed: What|Removed |Added Target|gcn |gcn m68k-*-* --- Comment #1 from Andre

[Bug middle-end/118415] [15 Regression] crc optimization uses user accessible symbols

2025-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415 --- Comment #5 from Jakub Jelinek --- Anyway, if we don't go the output_constant_def way, we'd need to change the name (see above patch), make it public at least if target supports hidden visibility, set DECL_VISIBILITY{,_SPECIFICIED}, use DECL_

[Bug libstdc++/118413] Move only function makes `std::views::transform` not working correctly

2025-01-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118413 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.3 Keywords|

[Bug target/112092] RISC-V: Suboptimal RVV code produced for vsetvl-11.c and vsetvlmax-8.c

2025-01-11 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112092 --- Comment #18 from Maciej W. Rozycki --- Any fix will have to be based on valid code though and the lone presence of inline asm is not supposed to prevent optimisations from being used, e.g. I may have to insert a memory barrier into my code f

[Bug libstdc++/118413] Move only function makes `std::views::transform` not working correctly

2025-01-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
#4 from Patrick Palka --- I think the definition of __can_transform_view is correct/idiomatic, we must be passing the wrong types to it. /opt/compiler-explorer/gcc-trunk-20250111/include/c++/15.0.0/ranges:2247:10: required for the satisfaction of '__can_transform_view<_Range, _Fp>&#x

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

2025-01-11 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 --- Comment #16 from Segher Boessenkool --- Trivial stuff is no longer unrolled at all after this change. It does not matter *at all* whether an insn has a side effect or not, for whether code with such an insn should be unrolled or not. Any h

[Bug middle-end/118415] [15 Regression] crc optimization uses user accessible symbols

2025-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415 --- Comment #4 from Jakub Jelinek --- (In reply to Jeffrey A. Law from comment #3) > Using output_constant_def didn't even cross my mind. > > I don't recall the TREE_PUBLIC part of the change, though obviously at least > part of the goal here w

[Bug middle-end/118411] asm goto in large function miscompiles with "Error: bad immediate value for offset" in ARM mode

2025-01-11 Thread mathieu.desnoyers at efficios dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118411 --- Comment #5 from Mathieu Desnoyers --- (In reply to Andrew Pinski from comment #2) > Created attachment 60101 [details] > try this patch > > This patch should fix get_attr_length_1 for the inline-asm goto. I confirm that the proposed fix a

[Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled

2025-01-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87950 --- Comment #19 from Jonathan Wakely --- (In reply to nightstrike from comment #17) > As long as we are hijacking for C++, the following should not warn, given > how enum class works: Are you sure you know how enum class works?

[Bug middle-end/118415] [15 Regression] crc optimization uses user accessible symbols

2025-01-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415 --- Comment #3 from Jeffrey A. Law --- Using output_constant_def didn't even cross my mind. I don't recall the TREE_PUBLIC part of the change, though obviously at least part of the goal here was to share the table if we have multiple copies acr

[Bug tree-optimization/118409] [15 regression] gas miscompiled by ifcombine ("Unsupported broadcast" assemble failure)

2025-01-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118409 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #18

[Bug fortran/106692] [12/13/14 Regression] Cray pointer comparison wrongly optimized away

2025-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 --- Comment #23 from GCC Commits --- The releases/gcc-13 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:91706178c3765cb27b05391c86f5c4f421ddd56d commit r13-9307-g91706178c3765cb27b05391c86f5c4f421ddd56d Author: Harald Anlauf

[Bug target/118329] avr defines __int24 but doesn't define __GLIBCXX_TYPE_INT_N_0

2025-01-11 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118329 --- Comment #9 from Georg-Johann Lay --- Withe these changes and INT_N (PSI, 24), I am getting errors like error: ISO C does not support '__int24' types [-Wpedantic] __int24 and __uint24 were introduced in v4.8 and would work for older revisio

[Bug rtl-optimization/117868] [avr][lra] Wrong code with -mlra in simd-1.c

2025-01-11 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117868 --- Comment #3 from Denis Chertykov --- Created attachment 60116 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60116&action=edit IRA dump file: simd-t.c.319r.ira

[Bug rtl-optimization/117868] [avr][lra] Wrong code with -mlra in simd-1.c

2025-01-11 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117868 --- Comment #2 from Denis Chertykov --- Created attachment 60115 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60115&action=edit LRA dump file: simd-t.c.320r.reload

[Bug target/118418] New: [15 Regression][gcn] Compiler selftest ICE in assert_rtx_eq_at, at selftest-rtl.cc:57 / FAIL: ASSERT_RTX_EQ (val, folded) since r15-6777-g06c4cf398947b5

2025-01-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118418 Bug ID: 118418 Summary: [15 Regression][gcn] Compiler selftest ICE in assert_rtx_eq_at, at selftest-rtl.cc:57 / FAIL: ASSERT_RTX_EQ (val, folded) since r15-6777-g0

[Bug rtl-optimization/117868] [avr][lra] Wrong code with -mlra in simd-1.c

2025-01-11 Thread denisc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117868 --- Comment #1 from Denis Chertykov --- Created attachment 60114 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60114&action=edit Reduced test case

[Bug other/118417] New: Bootstrap comparison failure! gcc/range-op.o differs

2025-01-11 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118417 Bug ID: 118417 Summary: Bootstrap comparison failure! gcc/range-op.o differs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

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

2025-01-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114630 Nathaniel Shead changed: What|Removed |Added CC||gcc at richy dot net --- Comment #15

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

2025-01-11 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 116805, which changed state. Bug 116805 Summary: -fno-module-lazy breaks thread module when compiled after format module https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116805 What|Removed

[Bug c++/116805] -fno-module-lazy breaks thread module when compiled after format module

2025-01-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116805 Nathaniel Shead changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2025-01-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114630 Nathaniel Shead changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot gnu.org

[Bug target/113257] -march=native or -mcpu=native are ineffective, but -march=native -mcpu=native works on arm64 M2 Ultra

2025-01-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113257 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #9 f

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

2025-01-11 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 114630, which changed state. Bug 114630 Summary: [14/15 Regression] [modules] building module with submodule causes corrupt gcm https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114630 What|Removed

[Bug tree-optimization/117997] [15 regression] libgo regressions on aarch64 after g:4d2b9202fe94c54e63fb07d48293a78da3d82532

2025-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117997 --- Comment #13 from Jakub Jelinek --- Note, the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415#c2 patch fixes this by using section anchors. Which doesn't mean the linker isn't buggy.

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

2025-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114630 --- Comment #13 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:7c013a681cc138b8f191b75e408fe322d7fd998c commit r14-11203-g7c013a681cc138b8f191b75e408fe322d7fd998c Author: Nathaniel S

[Bug middle-end/118415] [15 Regression] crc optimization uses user accessible symbols

2025-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415 --- Comment #2 from Jakub Jelinek --- Created attachment 60113 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60113&action=edit gcc15-pr118415.patch Though I wonder why we just don't call output_constant_def, that will simplify it and wil

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

2025-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114630 --- Comment #12 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:d6d7e0261a0ee43c8738b964cbb2572d49d24cad commit r15-6822-gd6d7e0261a0ee43c8738b964cbb2572d49d24cad Author: Nathaniel Shead Date

[Bug c++/118412] Non-conforming instantiation of definitions of scoped member enum in class template

2025-01-11 Thread andre.brand at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118412 --- Comment #7 from André Brand --- (In reply to Andrew Pinski from comment #5) > If you want you can submit something to the C++ standards committee because > it does seems like there is a conflict between the 2 parts at least the > example (th

[Bug middle-end/118415] [15 Regression] crc optimization uses user accessible symbols

2025-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415 --- Comment #1 from Jakub Jelinek --- Minimal patch could be --- gcc/expr.cc.jj 2025-01-08 10:05:24.498994763 +0100 +++ gcc/expr.cc 2025-01-11 13:31:34.608998939 +0100 @@ -14304,12 +14304,17 @@ generate_crc_table (unsigned HOST_WIDE_I {

[Bug libstdc++/118416] New: std::experimental::simd code detecting all zero is not optimized to simple ptest on x86-64 avx

2025-01-11 Thread lee.imple at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118416 Bug ID: 118416 Summary: std::experimental::simd code detecting all zero is not optimized to simple ptest on x86-64 avx Product: gcc Version: 14.2.1 Status: UNCONFIRMED

[Bug middle-end/118415] [15 Regression] crc optimization uses user accessible symbols

2025-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2025-01-11 Status|UNCONFIRM

[Bug middle-end/118415] New: [15 Regression] crc optimization uses user accessible symbols

2025-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415 Bug ID: 118415 Summary: [15 Regression] crc optimization uses user accessible symbols Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/117997] [15 regression] libgo regressions on aarch64 after g:4d2b9202fe94c54e63fb07d48293a78da3d82532

2025-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117997 Jakub Jelinek changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org,

[Bug target/110901] -march does not override -mcpu in calls to assembler

2025-01-11 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110901 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org

[Bug target/118373] gcc-14.2 kernel panic on alderlake cpus

2025-01-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 --- Comment #9 from Sam James --- I used gcc-14.2.0 to build linux-6.12.9 with only a slightly modified config (to actually be able to boot) on an N100 I had temporary access to and couldn't reproduce. That pic will really be critical for making

[Bug c++/118412] Non-conforming instantiation of definitions of scoped member enum in class template

2025-01-11 Thread andre.brand at mailbox dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118412 --- Comment #6 from André Brand --- (In reply to Andrew Pinski from comment #5) > If you want you can submit something to the C++ standards committee because > it does seems like there is a conflict between the 2 parts at least the > example (th

[Bug tree-optimization/118409] [15 regression] gas miscompiled by ifcombine ("Unsupported broadcast" assemble failure)

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118409 Andrew Pinski changed: What|Removed |Added Target||SLOW_BYTE_ACCESS==0 |

[Bug tree-optimization/118409] [15 regression] gas miscompiled by ifcombine ("Unsupported broadcast" assemble failure)

2025-01-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118409 Xi Ruoyao changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/118409] [15 regression] gas miscompiled by ifcombine ("Unsupported broadcast" assemble failure)

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118409 Andrew Pinski changed: What|Removed |Added Attachment #60111|0 |1 is obsolete|

[Bug tree-optimization/118409] [15 regression] gas miscompiled by ifcombine ("Unsupported broadcast" assemble failure)

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

[Bug analyzer/116060] -fanalyzer -fdiagnostics-text-art-charset=unicode replaces typedef'ed type with "int" in some cases

2025-01-11 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116060 Torbjorn SVENSSON changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRME

[Bug modula2/118414] New: cross compiling fails

2025-01-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118414 Bug ID: 118414 Summary: cross compiling fails Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee

[Bug tree-optimization/118409] [15 regression] gas miscompiled by ifcombine ("Unsupported broadcast" assemble failure)

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

[Bug middle-end/118411] asm goto in large function miscompiles with "Error: bad immediate value for offset" in ARM mode

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118411 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

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

[Bug libstdc++/118413] Move only function makes `std::views::transform` not working correctly

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

[Bug libstdc++/118413] Move only function makes `std::views::transform` not working correctly

2025-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118413 --- Comment #2 from Andrew Pinski --- Created attachment 60109 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60109&action=edit The full error message with `-std=c++23 -fconcepts-diagnostics-depth=100 -fdiagnostics-all-candidates`

  1   2   >