[Bug libstdc++/120147] [16 Regression] libstdc++-v3 build failure for mingw32 target: src/c++23/print.cc:102:49: error: invalid conversion from 'std::basic_filebuf::native_handle_type' {aka 'int

2025-05-07 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120147 --- Comment #4 from LIU Hao --- configure:5: checking whether _get_osfhandle is defined in configure:54468: /home/lh_mouse/GitHub/MINGW-packages/mingw-w64-gcc/src/build-MINGW32/./gcc/xgcc -shared-libgcc -B/home/lh_mouse/GitHub/MINGW-packag

[Bug libstdc++/120147] [16 Regression] libstdc++-v3 build failure for mingw32 target: src/c++23/print.cc:102:49: error: invalid conversion from 'std::basic_filebuf::native_handle_type' {aka 'int

2025-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120147 --- Comment #7 from Jonathan Wakely --- Yup, just noticed that.

[Bug tree-optimization/120080] [16 regression] ICE when building llvm-20.1.3 (find_bit_tests, at tree-switch-conversion.cc:1799) since r16-347-g1381a5114788a2

2025-05-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120080 --- Comment #11 from Sam James --- (In reply to Filip Kastl from comment #10) > This should work as a trivial fix: Replace the crashing line with > > if (l == 0) > return clusters.copy(); > > I'll bootstrap and regtest this fix and then I'll

[Bug libstdc++/120114] Format width is not correctly handled for chrono formatting

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120114 --- Comment #1 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:52f6ab55051ff43fd1b40ff06d9501043f8ba844 commit r16-438-g52f6ab55051ff43fd1b40ff06d9501043f8ba844 Author: Tomasz KamiÅski Date:

[Bug tree-optimization/120135] Strange -Wuninitialized behavior with struct

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120135 --- Comment #8 from Andrew Pinski --- (In reply to Manuel López-Ibáñez from comment #7) > I cannot see the warning with x86-64 gcc 15.1 (or trunk or 14.1 or 12.1). > > Maybe ARM GCC is doing something different? But this should not be > target-

[Bug tree-optimization/120156] [14 Regression] Segfault while compiling eigen test bdcsvd.cpp

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120156 Andrew Pinski changed: What|Removed |Added Version|14.3.1 |14.2.1 Target Milestone|---

[Bug ipa/120044] [12/13/14/15/16 Regression] wrong code at -O1 and above with "-fno-early-inlining -fno-tree-fre -fno-tree-pre -fno-code-hoisting" on x86_64-linux-gnu

2025-05-07 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120044 Martin Jambor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/111276] rewrite_to_defined_overflow rewrites already defined code

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111276 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:d884e9c5c746a41b069905f990fa72b9e550 commit r16-449-gd884e9c5c746a41b069905f990fa72b9e550 Author: Andrew Pinski Date: Th

[Bug tree-optimization/116938] move_stmt in phiopt should use rewrite_to_defined_overflow

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116938 Bug 116938 depends on bug 111276, which changed state. Bug 111276 Summary: rewrite_to_defined_overflow rewrites already defined code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111276 What|Removed |Added -

[Bug tree-optimization/111276] rewrite_to_defined_overflow rewrites already defined code

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111276 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug target/120154] New: [16 Regression] uring RTL pass: vect_permconst ICE: in decompose, at rtl.h:2312 with -march=rv64gv

2025-05-07 Thread zsojka at seznam dot cz via Gcc-bugs
ble-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20250506192155-r16-433-g2c46a74d4707bd-checking-yes-rtl-df-extra-nobootstrap-nographite-riscv64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250507 (experimental) (GCC)

[Bug target/120154] [16 Regression] uring RTL pass: vect_permconst ICE: in decompose, at rtl.h:2312 with -march=rv64gv

2025-05-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120154 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug target/120157] No use of SVE early break vectorisation in FP loop

2025-05-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120157 --- Comment #2 from ktkachov at gcc dot gnu.org --- (In reply to Tamar Christina from comment #1) > (In reply to ktkachov from comment #0) > > Not sure if this is a target-specific issue or not. For input: > > int f11(float *x, float val, int n)

[Bug libfortran/120158] New: Incorrect UNSIGNED maxval/maxloc etc.

2025-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120158 Bug ID: 120158 Summary: Incorrect UNSIGNED maxval/maxloc etc. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran

[Bug target/120157] No use of SVE early break vectorisation in FP loop

2025-05-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120157 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigne

[Bug target/120157] No use of SVE early break vectorisation in FP loop

2025-05-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120157 --- Comment #4 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #2) > (In reply to Tamar Christina from comment #1) > > (In reply to ktkachov from comment #0) > > > Not sure if this is a target-specific issue or not. For in

[Bug ipa/119852] The output of -fdump-ipa-clones can contain "(null)" as the suffix/reason for cloning

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119852 --- Comment #5 from GCC Commits --- The releases/gcc-15 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:77780c31485eeb71e9fabf8ea9d4b1af0c3be595 commit r15-9633-g77780c31485eeb71e9fabf8ea9d4b1af0c3be595 Author: Martin Jambor

[Bug target/120157] No use of SVE early break vectorisation in FP loop

2025-05-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120157 --- Comment #5 from Tamar Christina --- (In reply to ktkachov from comment #4) > > Ah indeed, -msve-vector-bits= does do what I expected. Feel free to close > > this if it's not tracking anything new then. > > Ok. FWIW the original testcase for

[Bug fortran/120131] Misleading and unnecessary error message due to range check

2025-05-07 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120131 --- Comment #9 from kargls at comcast dot net --- (In reply to Vladimir Terzi from comment #8) > I initially changed the status, because I assumed that my questions in > comment #2 will be ignored. > > (In reply to kargls from comment #6) > > I

[Bug fortran/120163] [15/16 Regression] Can not import module containig call to pure routine via abstract interface

2025-05-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120163 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug libgomp/120167] [16 Regression] FAIL: libgomp.graphite/force-parallel-1.c by r16-372-g064cac730f88dc

2025-05-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120167 H.J. Lu changed: What|Removed |Added Summary|[16 Regression] FAIL: |[16 Regression] FAIL: |libg

[Bug libgomp/120167] New: [16 Regression] FAIL: libgomp.graphite/force-parallel-1.c

2025-05-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120167 Bug ID: 120167 Summary: [16 Regression] FAIL: libgomp.graphite/force-parallel-1.c Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/120127] ICE in GCC when calling destructor of undefined type name in lambda (lookup_template_class crash)

2025-05-07 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120127 mcccs at gmx dot com changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment

[Bug fortran/120131] Misleading and unnecessary error message due to range check

2025-05-07 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120131 --- Comment #8 from Vladimir Terzi --- I initially changed the status, because I assumed that my questions in comment #2 will be ignored. (In reply to kargls from comment #6) > I suppose it is somewhat naive of gfortran contributors to expect t

[Bug libstdc++/120147] [16 Regression] libstdc++-v3 build failure for mingw32 target: src/c++23/print.cc:102:49: error: invalid conversion from 'std::basic_filebuf::native_handle_type' {aka 'int

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120147 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:83ef989ee189902ca1d434feb0f3dd50519e92cb commit r16-437-g83ef989ee189902ca1d434feb0f3dd50519e92cb Author: Jonathan Wakely Date:

[Bug libstdc++/120147] [16 Regression] libstdc++-v3 build failure for mingw32 target: src/c++23/print.cc:102:49: error: invalid conversion from 'std::basic_filebuf::native_handle_type' {aka 'int

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

[Bug fortran/106065] Crash when reading extended derived type array in namelist

2025-05-07 Thread philippe.wautelet at cnrs dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106065 philippe.wautelet at cnrs dot fr changed: What|Removed |Added Version|13.2.0 |15.1.0 --- Comment #4

[Bug target/97786] rs6000 isinf etc. are pretty horrible

2025-05-07 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97786 --- Comment #4 from Surya Kumari Jangala --- For the following test: int test1 (double x) { return __builtin_isinf_sign (x); } The assembly generated by trunk is: xststdcdp 0,1,48 mfcr 3,128 rlwinm 3,3,3,1 bne

[Bug target/120157] New: No use of SVE early break vectorisation in FP loop

2025-05-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120157 Bug ID: 120157 Summary: No use of SVE early break vectorisation in FP loop Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: aarch64-sve, missed-optimization Seve

[Bug target/120157] No use of SVE early break vectorisation in FP loop

2025-05-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120157 --- Comment #1 from Tamar Christina --- (In reply to ktkachov from comment #0) > Not sure if this is a target-specific issue or not. For input: > int f11(float *x, float val, int n) > { > int i; > for (i = 0; i < n; i++) { > if (

[Bug c++/120155] New: ICE when lambda return type is the decltype of statement expression

2025-05-07 Thread winmikedows at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120155 Bug ID: 120155 Summary: ICE when lambda return type is the decltype of statement expression Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/120088] Use of uninitialized value in constant expression when copy-constructing a std::expected from another copy-assigned non-erroneous std::expected

2025-05-07 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120088 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from Jian

[Bug libfortran/120153] New: Missing UINTEGER symbols

2025-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120153 Bug ID: 120153 Summary: Missing UINTEGER symbols Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran As

[Bug target/113939] Switch m68k to LRA

2025-05-07 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 --- Comment #9 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #8) > (In reply to John Paul Adrian Glaubitz from comment #7) > > I will verify now that the M2 issue is related to enabling LRA. > > The M2 i

[Bug target/113939] Switch m68k to LRA

2025-05-07 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 --- Comment #10 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #9) > (In reply to John Paul Adrian Glaubitz from comment #8) > > (In reply to John Paul Adrian Glaubitz from comment #7) > > > I will verify

[Bug c++/66279] [12/13 Regression] Input/output asm operand is not loaded inside a constructor with a virtual base class since r0-116348-g660584689a4397

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66279 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a145eaf1128ef4392cf6e624f4b23648cbe645eb commit r13-9636-ga145eaf1128ef4392cf6e624f4b23648cbe645eb Author: Richard Biener

[Bug c/61579] -Wwrite-strings does not behave as a warning option

2025-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61579 --- Comment #11 from Jonathan Wakely --- One consequence of it not being a warning option is that -Werror=write-strings is accepted but behaves identically to -Wwrite-strings, which is pretty surprising. You need to use -Wwrite-strings -Werror=d

[Bug tree-optimization/118950] [14 regression] RISC-V: rv64gcv runtime mismatch at -O3 since r14-4038-gb975c0dc3be

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 --- Comment #14 from GCC Commits --- The releases/gcc-14 branch has been updated by Robin Dapp : https://gcc.gnu.org/g:bed0053a28e238cb9c079a3ec89341541390f933 commit r14-11747-gbed0053a28e238cb9c079a3ec89341541390f933 Author: Robin Dapp Date

[Bug c/120162] Prefetch causes vectorization to fail

2025-05-07 Thread viktor.horsmanheimo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120162 --- Comment #2 from Viktor Horsmanheimo --- Created attachment 61355 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61355&action=edit PoC in C

[Bug c++/120161] Deduction failure with nested dependent type

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120161 --- Comment #1 from Andrew Pinski --- Created attachment 61356 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61356&action=edit reducing The templated type alias is not part of the problem so remove it.

[Bug c++/120161] New: Deduction failure with nested dependent type

2025-05-07 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120161 Bug ID: 120161 Summary: Deduction failure with nested dependent type Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/120162] New: Prefetch causes vectorization to fail

2025-05-07 Thread viktor.horsmanheimo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120162 Bug ID: 120162 Summary: Prefetch causes vectorization to fail Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/120162] Prefetch causes vectorization to fail

2025-05-07 Thread viktor.horsmanheimo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120162 --- Comment #1 from Viktor Horsmanheimo --- Created attachment 61354 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61354&action=edit PoC in c++

[Bug libstdc++/120159] is_layout_compatible_v not exported in std module

2025-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120159 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/120156] New: [14 Regression] Segfault while compiling eigen test bdcsvd.cpp

2025-05-07 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120156 Bug ID: 120156 Summary: [14 Regression] Segfault while compiling eigen test bdcsvd.cpp Product: gcc Version: 14.3.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/107761] Implement C++23

2025-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107761 --- Comment #9 from Jonathan Wakely --- (In reply to Desmond Gold from comment #3) > I've implemented c++23 features for in libstdc++ (hopefully) which > is inspired by other reference implementations (libc++, STL, Kokkos). > > https://godbolt

[Bug tree-optimization/120156] [14 Regression] Segfault while compiling eigen test bdcsvd.cpp

2025-05-07 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120156 --- Comment #1 from Stefan Schulze Frielinghaus --- I will try to reduce the test.

[Bug middle-end/108016] RISC-V:Bad codegen in scalar code comparing to LLVM

2025-05-07 Thread alexey.merzlyakov at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108016 --- Comment #13 from Alexey Merzlyakov --- > There is https://gcc.gnu.org/pipermail/gcc-patches/2024-August/660968.html > which (though I am not 100% sure) will help the situtation. Thank you for the reference, this definitely makes sense. If

[Bug target/117978] Optimise 128-bit-predicated SVE loads to Advanced SIMD LDRs

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117978 --- Comment #7 from GCC Commits --- The master branch has been updated by Jennifer Schmitz : https://gcc.gnu.org/g:210d06502f22964c7214586c54f8eb54a6965bfd commit r16-446-g210d06502f22964c7214586c54f8eb54a6965bfd Author: Jennifer Schmitz Date

[Bug target/120137] [16 regression] RISC-V: ICE during RTL pass: vect_permconst

2025-05-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120137 Jeffrey A. Law changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #2

[Bug preprocessor/116047] C preprocessor bug

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:edf745dc519ddbfef127e2789bf11bfbacd300b7 commit r16-450-gedf745dc519ddbfef127e2789bf11bfbacd300b7 Author: Jakub Jelinek Date: We

[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 --- Comment #19 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:edf745dc519ddbfef127e2789bf11bfbacd300b7 commit r16-450-gedf745dc519ddbfef127e2789bf11bfbacd300b7 Author: Jakub Jelinek Date: W

[Bug libfortran/120158] Incorrect UNSIGNED maxval/maxloc etc.

2025-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120158 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Eve

[Bug preprocessor/120061] [14 Regression] libqt6webengine fails static_assert (__LINE__ == 470, ...)

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061 --- Comment #21 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:edf745dc519ddbfef127e2789bf11bfbacd300b7 commit r16-450-gedf745dc519ddbfef127e2789bf11bfbacd300b7 Author: Jakub Jelinek Date: W

[Bug target/97786] rs6000 isinf etc. are pretty horrible

2025-05-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97786 --- Comment #6 from Segher Boessenkool --- Hi Surya! Hrm yes, xststdcdp _does_ return a sign bit as well. Do we currently say that in RTL as well? Unfortunately we cannot just follow an xststdcdp by a setb, setb tests bit 1, but the tdp sets b

[Bug tree-optimization/120032] Fails to pattern match clz from DeBruijn

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

[Bug fortran/120152] [15/16 Regression] libgfortran ABI problem starting with r15-4124

2025-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120152 --- Comment #1 from Jakub Jelinek --- Created attachment 61350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61350&action=edit gcc16-pr120152.patch So far lightly tested patch. The abilist regressions are gone with it.

[Bug libstdc++/120147] [16 Regression] libstdc++-v3 build failure for mingw32 target: src/c++23/print.cc:102:49: error: invalid conversion from 'std::basic_filebuf::native_handle_type' {aka 'int

2025-05-07 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120147 --- Comment #5 from LIU Hao --- issue seems to be that in `ac_fn_cxx_try_compile ()` there's } && test -s conftest.$ac_objext; then : which checks whether an object file is created, but the cmdline above has `-S` which produces an asse

[Bug tree-optimization/118950] [14 regression] RISC-V: rv64gcv runtime mismatch at -O3 since r14-4038-gb975c0dc3be

2025-05-07 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 Robin Dapp changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/120088] Use of uninitialized value in constant expression when copy-constructing a std::expected from another copy-assigned non-erroneous std::expected

2025-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120088 --- Comment #3 from Jonathan Wakely --- (In reply to Jiang An from comment #2) > The divergence is probably due to that Clang and EDG haven't implemented > CWG2658 > (https://cplusplus.github.io/CWG/issues/2658.html). Yes, that would explain i

[Bug target/120137] [16 regression] RISC-V: ICE during RTL pass: vect_permconst

2025-05-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120137 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/120135] Strange -Wuninitialized behavior with struct

2025-05-07 Thread andrew.bell.ia at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120135 --- Comment #9 from Andrew Bell --- As a note, this code doesn't evoke a warning on any other compiler/target that I tried.

[Bug c++/120161] [14/15/16 Regression] Deduction failure with nested dependent type with a class base classes of 2 of the inner type

2025-05-07 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120161 mcccs at gmx dot com changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment

[Bug gcov-profile/120086] FAIL: gcc.misc-tests/gcov-29.c

2025-05-07 Thread j at lambda dot is via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120086 --- Comment #13 from Jørgen Kvalsvik --- (In reply to John David Anglin from comment #12) > With patch, gcov-29 now passes. But gcov-30 fails with excess errors > > FAIL: gcc.misc-tests/gcov-30.c (test for excess errors) > Excess errors: > /ho

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-07 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #5 from Christoph Reiter --- Thanks for working on this. I applied the gcc patch and can confirm that the original example no longer crashes. I found another crasher though and reduced it to: $ cat test.c // gcc -O1 -gcodeview -c t

[Bug cobol/119769] FE: GnuCOBOL extension BINARY-C-LONG missing

2025-05-07 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119769 Simon Sobisch changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|FIXED

[Bug c++/120155] ICE when lambda return type is the decltype of statement expression

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120155 --- Comment #1 from Andrew Pinski --- : In function 'void fun()': :6:17: internal compiler error: tree check: expected tree that contains 'decl with visibility' structure, have 'parm_decl' in start_decl, at cp/decl.cc:6037 6 | in

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #6 from Sam James --- Mark, when you get a chance to work on this, if you haven't tried it before, I'd recommend doing a bootstrap w/ -gcodeview enabled by default to see what falls out.

[Bug c++/120155] ICE with generic lambda return type is the decltype of statement expression

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120155 Andrew Pinski changed: What|Removed |Added Summary|ICE when generic lambda |ICE with generic lambda

[Bug c++/120155] ICE with generic lambda return type with a decltype of statement expression

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120155 --- Comment #3 from Andrew Pinski --- Without using a generic lambda (auto), GCC gives this error message: ``` : In function 'void fun()': :6:17: error: ISO C++ forbids in-class initialization of non-const static member 'fun()a' 6 |

[Bug c++/120149] ICE in GCC when deducing return type with nested lambdas using accumulate with -std=c++20

2025-05-07 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120149 mcccs at gmx dot com changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment

[Bug c++/101533] [12/13 Regression] ICE in gen_type_die_with_usage, at dwarf2out.c:25988

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101533 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e6652764a4558fe9487f17e6c7b18fbc577e8df7 commit r13-9641-ge6652764a4558fe9487f17e6c7b18fbc577e8df7 Author: Richard Biene

[Bug c/101478] [12/13 Regression] ICE with statement expression and offsetof like expression since r10-7127-gcb99630f254aae

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101478 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:068aa9a7a9cc163ee5f31bffd746a8cd2ebfef7e commit r13-9640-g068aa9a7a9cc163ee5f31bffd746a8cd2ebfef7e Author: Richard Biene

[Bug c++/120130] Cannot declare function template as friend in the presence of same named member function

2025-05-07 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120130 --- Comment #3 from Fedor Chelnokov --- This slightly modified program: ``` template class Foo; template int g(const Foo&); template class Foo { public: template int g(const Foo&) = delete; friend int g<>(const Foo&); private:

[Bug libstdc++/120147] [16 Regression] libstdc++-v3 build failure for mingw32 target: src/c++23/print.cc:102:49: error: invalid conversion from 'std::basic_filebuf::native_handle_type' {aka 'int

2025-05-07 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120147 --- Comment #6 from LIU Hao --- (In reply to Jonathan Wakely from comment #3) > And yet somehow it does. Confirmed. You forgot to restore the old `CXXFLAGS`.

[Bug target/120154] [16 Regression] uring RTL pass: vect_permconst ICE: in decompose, at rtl.h:2312 with -march=rv64gv

2025-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120154 Richard Biener changed: What|Removed |Added Version|15.0|16.0 Target Milestone|---

[Bug libstdc++/120159] New: is_layout_compatible_v not exported in std module

2025-05-07 Thread alberto.gcc.bugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120159 Bug ID: 120159 Summary: is_layout_compatible_v not exported in std module Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug libstdc++/120160] New: Implicitly import std if stadard library header is included

2025-05-07 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120160 Bug ID: 120160 Summary: Implicitly import std if stadard library header is included Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal P

[Bug target/97786] rs6000 isinf etc. are pretty horrible

2025-05-07 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97786 --- Comment #5 from Surya Kumari Jangala --- The input gimple to RTL has the builtin split into two parts: ‘isinfD’ and ‘signbitD’ due to which in the final assembly generated, we have instructions to check the sign bit of the floating point numb

[Bug c++/119864] [15/16 Regression][modules] ICE with -fmodules and omp reduction of UDT

2025-05-07 Thread alberto.gcc.bugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119864 Alberto changed: What|Removed |Added CC||alberto.gcc.bugzilla@gmail.

[Bug c++/120012] [12/13/14/15/16 Regression] P1008R1 causes tail padding reuse in C++20 mode

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120012 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:809c5d7486f91d59e798e0c70ac887f837039ece commit r15-9635-g809c5d7486f91d59e798e0c70ac887f837039ece Author: Jason Merrill

[Bug cobol/119769] FE: GnuCOBOL extension BINARY-C-LONG missing

2025-05-07 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119769 James K. Lowden changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/120159] is_layout_compatible_v not exported in std module

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120159 --- Comment #1 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8a1f3615c01cdbf5b2d37448c8bb09a96d5e3330 commit r16-451-g8a1f3615c01cdbf5b2d37448c8bb09a96d5e3330 Author: Jonathan Wakely Date:

[Bug libstdc++/120114] Format width is not correctly handled for chrono formatting

2025-05-07 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120114 Tomasz Kamiński changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/120114] Format width is not correctly handled for chrono formatting

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120114 --- Comment #2 from GCC Commits --- The releases/gcc-15 branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:e52f71b6dd888f0d5548d9f5bd139601dbafb3be commit r15-9631-ge52f71b6dd888f0d5548d9f5bd139601dbafb3be Author: Tomasz KamiÅs

[Bug libstdc++/107761] Implement C++23

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107761 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a33b5db97c4e87bd02f1af1a75b2d84376442fa0 commit r16-442-ga33b5db97c4e87bd02f1af1a75b2d84376442fa0 Author: Luc Grosheintz Date:

[Bug tree-optimization/120032] Fails to pattern match clz from DeBruijn

2025-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120032 --- Comment #3 from Richard Biener --- And to avoid repeated scanning of DECL_INITIAL when we add more of these patterns we could record classification of the table in a custom internal decl attribute we add, __attribute__(("table kind"(int))) w

[Bug libfortran/120153] Missing UINTEGER symbols

2025-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120153 --- Comment #1 from Jakub Jelinek --- Created attachment 61351 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61351&action=edit gcc16-pr120153.patch Untested fix.

[Bug middle-end/111125] [14 Regression] tree-ssa.exp and vect.exp failures after commit r14-3281-g99b5921bfc8f91

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:337d3cdfa8bb8b8404d62ea45690095f9b566cbb commit r13-9635-g337d3cdfa8bb8b8404d62ea45690095f9b566cbb Author: Richard Biener

[Bug c++/79786] [12/13 Regression] ICE tree check: expected class 'type', have 'declaration' (var_decl) in iamcu_alignment, at config/i386/i386.c:30263

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79786 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c0e3078580f4834e4d3d1ba517016a0220b4e3b6 commit r13-9637-gc0e3078580f4834e4d3d1ba517016a0220b4e3b6 Author: Richard Biener

[Bug middle-end/87984] [12/13 Regression] wrong code for local reg var input to asm inside a loop

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87984 --- Comment #48 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:f2d0fb238b1a6eab85924515f0c1ffc2f939e6a7 commit r13-9638-gf2d0fb238b1a6eab85924515f0c1ffc2f939e6a7 Author: Richard Biener

[Bug lto/91299] [12/13 Regression] LTO inlines a weak definition in presence of a non-weak definition from an ELF file

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91299 --- Comment #23 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:da579a833cf5a5ae463be3f4da70df782612a800 commit r13-9639-gda579a833cf5a5ae463be3f4da70df782612a800 Author: Richard Biener

[Bug gcov-profile/120086] FAIL: gcc.misc-tests/gcov-29.c

2025-05-07 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120086 --- Comment #12 from John David Anglin --- With patch, gcov-29 now passes. But gcov-30 fails with excess errors FAIL: gcc.misc-tests/gcov-30.c (test for excess errors) Excess errors: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.misc-tests/gcov-30.

[Bug c++/120149] ICE in GCC when deducing return type with nested lambdas using accumulate with -std=c++20

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

[Bug libstdc++/120159] is_layout_compatible_v not exported in std module

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120159 --- Comment #3 from GCC Commits --- The releases/gcc-15 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d0e6d797b35ae89044f967160d4abe3868190f0f commit r15-9636-gd0e6d797b35ae89044f967160d4abe3868190f0f Author: Jonathan Wake

[Bug libfortran/120152] [15/16 Regression] libgfortran ABI problem starting with r15-4124

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120152 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:41c8e9b61defb6c616bf35ac9693a52f848afca3 commit r16-452-g41c8e9b61defb6c616bf35ac9693a52f848afca3 Author: Jakub Jelinek Date: We

[Bug target/120162] Prefetch causes vectorization to fail

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120162 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/120161] [14/15/16 Regression] Deduction failure with nested dependent type

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

[Bug tree-optimization/120080] [16 regression] ICE when building llvm-20.1.3 (find_bit_tests, at tree-switch-conversion.cc:1799) since r16-347-g1381a5114788a2

2025-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120080 --- Comment #12 from Andrew Pinski --- (In reply to Filip Kastl from comment #10) > I thought that switch lowering shouldn't run into empty switches (can't > recall what made me think that though). I'll look into why that happens. Well before

[Bug target/110796] builtin_iseqsig fails some tests in armv8l-linux-gnueabihf

2025-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110796 --- Comment #15 from GCC Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:0a339746e7646bacf2c8aa5512268d23660f26f9 commit r16-454-g0a339746e7646bacf2c8aa5512268d23660f26f9 Author: Richard Earnshaw Dat

  1   2   3   >