[Bug c++/118920] ICE when importing memory and filesystem and a module-compiled system header importing memory

2025-02-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118920 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org

[Bug c++/118920] ICE when importing memory and filesystem and a module-compiled system header importing memory

2025-02-19 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118920 --- Comment #6 from Nathaniel Shead --- In particular, it looks like the issue is that the forward-declared `out_ptr` via 's instantiation of '__shared_ptr<__cxx11::_Impl>' inherits an abi_tag attribute, but the declaration in does not have it.

[Bug target/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-19 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 --- Comment #4 from chenglulu --- (In reply to Thomas Koenig from comment #3) > Is this a target or a libgfortran bug, then? I'm not sure about this either, but if I understand correctly, the u->s in find_file0 should not be modified in this fu

[Bug c++/118920] ICE when importing memory and filesystem and a module-compiled system header importing memory

2025-02-19 Thread f.b.brokken at rug dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118920 --- Comment #4 from Frank B. Brokken --- Dear pinskia at gcc dot gnu.org, you wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118920 > > --- Comment #3 from Andrew Pinski --- > (In reply to Frank B. Brokken from comment #2) > > ... >

[Bug fortran/118937] New: DO CONCURRENT: Add a warning if 'SHARED' (or LOCAL(_INIT)) is not specified but multiple loop iterations modify a variable

2025-02-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118937 Bug ID: 118937 Summary: DO CONCURRENT: Add a warning if 'SHARED' (or LOCAL(_INIT)) is not specified but multiple loop iterations modify a variable Product: gcc V

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/118805] [15 Regression] wrong code at -O1 with "-fno-tree-ccp -fno-tree-copy-prop -fno-tree-forwprop -fno-tree-fre" on x86_64-linux-gnu since r15-6173

2025-02-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118805 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #4 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #3) > It is due to r15-7575. Eh, r15-7573.

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #5 from Uroš Bizjak --- For func_40 the new ix86_find_max_used_stack_alignment finds stack_alignment = 256. The only access with 256 bit alignment in func_40 is: 101: [`g_1679']=xmm0:V2DI 103: [const(`g_1679'+0x10)]=xmm0:V2DI

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #6 from H.J. Lu --- This works: diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc index 560e6525b56..f5d46296570 100644 --- a/gcc/config/i386/i386.cc +++ b/gcc/config/i386/i386.cc @@ -8494,7 +8494,7 @@ ix86_find_all_reg

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #7 from Uroš Bizjak --- (In reply to H.J. Lu from comment #6) > This works: > > diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc > index 560e6525b56..f5d46296570 100644 > --- a/gcc/config/i386/i386.cc > +++ b/gcc/confi

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

2025-02-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115218 --- Comment #3 from Jonathan Wakely --- (In reply to Patrick Palka from comment #1) > Does this also mean the iterator's default ctor needs a > default_initializable<_Vs...[0]> constraint? Yes, I think the default ctor should get deleted if the

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

2025-02-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115218 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > (In reply to Patrick Palka from comment #1) > > Does this also mean the iterator's default ctor needs a > > default_initializable<_Vs...[0]> constraint? > >

[Bug c/118918] [12/13/14/15 Regression] Miscompile at -Os

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

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/118922] [13/14/15 regression] Miscompile at -O2/3 since r13-6945-g429a7a88438cc8

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922 Sam James changed: What|Removed |Added Summary|[13/14/15 regression] |[13/14/15 regression] |Mi

[Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32

2025-02-19 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678 --- Comment #18 from Brecht Sanders --- Thanks for you work on this. My goal is to eventually have native binutils+GCC on Windows ARM64. I tried using sources from: https://github.com/Windows-on-ARM-Experiments/binutils-woarm64 https://github.

[Bug target/118931] [15 Regression] RISC-V: rv64gcv miscompile at -O[23] since r15-3228-g771256bcb9d

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118931 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug rtl-optimization/118925] Comparison of the copy of a volatile register variable instead of the (register) variable

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

[Bug libstdc++/118908] c++ include defines uintptr_t *sometimes*

2025-02-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118908 --- Comment #5 from Jonathan Wakely --- https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes

[Bug target/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 --- Comment #5 from Xi Ruoyao --- I guess we have a race condition here.

[Bug tree-optimization/116351] RISC-V ICE: in get_len_load_store_mode, at optabs-tree.cc:664

2025-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116351 --- Comment #6 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:25256ec1df10f2eb183e1c1ab0c890e9fdd94384 commit r15-7625-g25256ec1df10f2eb183e1c1ab0c890e9fdd94384 Author: Pan Li Date: Wed Feb 19 09:3

[Bug target/80881] Implement Windows native TLS

2025-02-19 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #103 from LIU Hao --- New test results on master: ``` UCRT64 ~/Desktop $ cat test.c extern __thread int i[8]; int foo (void) { return i[2] + i[4]; } UCRT64 ~/Desktop $ x86_64-w64-mingw32-gcc --version x86_64-w64-mingw32-gcc.exe (

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #9 from Uroš Bizjak --- Also wrong is this part: +static void +ix86_find_all_reg_use_1 (rtx set, HARD_REG_SET &stack_slot_access, +auto_bitmap &worklist) +{ + rtx dest = SET_DEST (set); + if (!REG_P (dest))

[Bug analyzer/118300] [12/13/14/15 Regression] False malloc leak warning from static analyzer with -fsanitize=address,undefined

2025-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118300 --- Comment #5 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:58b90139e093aeb5494627d92257a97aebb4a6d9 commit r15-7626-g58b90139e093aeb5494627d92257a97aebb4a6d9 Author: David Malcolm Date: W

[Bug other/118919] asan instrumented gcc: heap-use-after free in gcc/diagnostic-format-sarif.cc

2025-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118919 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ee6619b1246b38cfb36f6efd931a6f475a9033c7 commit r15-7627-gee6619b1246b38cfb36f6efd931a6f475a9033c7 Author: David Malcolm Date: W

[Bug c++/118938] New: C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 Bug ID: 118938 Summary: C++ compiler fails to build for m68k-linux-gnu Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/116351] RISC-V ICE: in get_len_load_store_mode, at optabs-tree.cc:664

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116351 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/118934] [15 Regression] RISC-V: ICE: output_operand: invalid expression as operand

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118934 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 Summary|RISC-V: ICE:

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

2025-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115218 --- Comment #5 from Patrick Palka --- Ah right, the constraint is implicitly there since the variant data member doesn't have an NSDMI. I was thinking of the case where we're default initializing via an NSDMI and so we need to explicitly the de

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

2025-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115218 --- Comment #6 from Patrick Palka --- (In reply to Jonathan Wakely from comment #3) > (In reply to Patrick Palka from comment #1) > > Does this also mean the iterator's default ctor needs a > > default_initializable<_Vs...[0]> constraint? > Asid

[Bug c++/118923] [15 regression] Wrong code generated for member function pointer call in range-for loop

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118923 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #8 from H.J. Lu --- (In reply to Uroš Bizjak from comment #7) > (In reply to H.J. Lu from comment #6) > > This works: > > > > diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc > > index 560e6525b56..f5d46296570 100644 >

[Bug tree-optimization/118924] [12/13/14/15 regression] Wrong code at -O2 and above leading to uninitialized accesses on aarch64-linux-gnu since r10-917-g3b47da42de621c

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

[Bug tree-optimization/118922] [13/14/15 regression] Miscompile at -O2/3 since

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922 Richard Biener changed: What|Removed |Added Priority|P1 |P2

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO

2025-02-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #13 from Jan Hubicka --- Thanks for running this through debugger Breakpoint 2.2, profile_count::operator+= (this=0x76e7e888, other=...) at /usr/src/debug/sys-devel/gcc-15.0./gcc-15.0./gcc/profile-count.h:932 932

[Bug tree-optimization/118924] [12/13/14/15 regression] Wrong code at -O2 and above leading to uninitialized accesses on aarch64-linux-gnu since r10-917-g3b47da42de621c

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

[Bug tree-optimization/118915] [12/13/14/15 Regression] Miscompile at -O2 since r5-4218-g73049af5fa62c7

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118915 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[12/13/14/15 Regression

[Bug tree-optimization/118521] [15 regression] std::vector Wstringop-overflow false positive since r15-4473

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118521 --- Comment #7 from Jeffrey A. Law --- In the simplified testcase we have: [local count: 131235111]: MEM [(char * {ref-all})_53] = MEM [(char * {ref-all})&C.0]; __result_46 = _53 + 2; _150 = operator new (4); goto ; [100.00%] So _150 poin

[Bug tree-optimization/118915] [12/13/14/15 Regression] Miscompile at -O2 since r5-4218-g73049af5fa62c7

2025-02-19 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118915 --- Comment #6 from Krister Walfridsson --- (In reply to Andrew Pinski from comment #3) > I am kinda of shock that smtgcc didn't find this earlier. My guess is that the relevant testcases are written similarly to ``` int main() { if (b(a + 21

[Bug c++/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #2 from Waldemar Brodkorb --- with following command: /home/wbx/openadk/toolchain_build_qemu-m68k-q800_glibc_68040/w-gcc-14.2.0-1/gcc-14.2.0/configure --prefix=/home/wbx/openadk/toolchain_qemu-m68k-q800_glibc_68040/usr --with-bugurl

[Bug tree-optimization/118922] [13/14/15 regression] Miscompile at -O2/3 since r13-6945-g429a7a88438cc8

2025-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922 --- Comment #8 from Richard Biener --- (In reply to Sam James from comment #7) > Started with r13-6945-g429a7a88438cc8, ccing andrew Works with --param ranger-recompute-depth=1, fails with --param ranger-recompute-depth=2 (or higher)

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #10 from Uroš Bizjak --- IMO, the original patch that caused ICE is not ready to be committed. HJ, can you please revert the original patch (+ my dependant patch)? We will try again for gcc-16.

[Bug other/118919] asan instrumented gcc: heap-use-after free in gcc/diagnostic-format-sarif.cc

2025-02-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118919 --- Comment #3 from David Malcolm --- Should be fixed on trunk for gcc 15 by the above patch. Keeping this bug open to track backporting to gcc 13 and 14 which presumably are also affected.

[Bug analyzer/118300] [12/13/14/15 Regression] False malloc leak warning from static analyzer with -fsanitize=address,undefined

2025-02-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118300 David Malcolm changed: What|Removed |Added Last reconfirmed||2025-02-19 Ever confirmed|0

[Bug c++/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #1 from Mikael Pettersson --- How did you configure this gcc?

[Bug ipa/118318] [15 regression] ICE when building firefox-134.0 with PGO

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #14 from Sam James --- (In reply to Jan Hubicka from comment #13) > Thanks for running this through debugger > Breakpoint 2.2, profile_count::operator+= (this=0x76e7e888, other=...) > at > /usr/src/debug/sys-devel/gcc-15.0./g

[Bug tree-optimization/118915] [12/13/14/15 Regression] Miscompile at -O2 since r5-4218-g73049af5fa62c7

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118915 --- Comment #7 from Sam James --- In some older testcases, you may see (__builtin_)exit(1) as well, but it's not common. Thanks for looking!

[Bug c++/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #3 from Mikael Pettersson --- Is that before or after you built the target glibc?

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #4 from Andrew Pinski --- --enable-cxx-flags=-fPIC I am not sure why you are using that but this while building the -mcpu=68000 multi-lib.

[Bug ada/118939] New: ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type

2025-02-19 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Bug ID: 118939 Summary: ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug tree-optimization/118521] [15 regression] std::vector Wstringop-overflow false positive since r15-4473

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118521 Jeffrey A. Law changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug c/118940] New: [x86] inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 Bug ID: 118940 Summary: [x86] inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers Product: gcc Version: 15.0

[Bug target/118941] New: tic6x-elf: "Error: label not at start of execute packet" when building libstdc++ for C++23

2025-02-19 Thread joel at gcc dot gnu.org via Gcc-bugs
from their respective masters as of 19 February 2025 in one-tree style, a build targeting tic6x-elf fails if C++ is enabled. When built for just C, gcc reports this as the version: tic6x-elf-gcc (GCC) 15.0.1 20250219 (experimental) After enabling C++, failure output is as follows: libtool: compi

[Bug other/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 Sam James changed: What|Removed |Added Keywords||wrong-code --- Comment #13 from Sam James

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 Sam James changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org Summ

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers)

2025-02-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 Sam James changed: What|Removed |Added Component|c |target Keywords|

[Bug target/114910] can't build a c6x cross compiler

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114910 Andrew Pinski changed: What|Removed |Added CC||joel at gcc dot gnu.org --- Comment #12

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #12 from Andrew Pinski --

[Bug target/118941] tic6x-elf: "Error: label not at start of execute packet" when building libstdc++ for C++23

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

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #5 from Waldemar Brodkorb --- (In reply to Mikael Pettersson from comment #3) > Is that before or after you built the target glibc? It is after target glibc build.

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #3 from Miao Wang --- (In reply to Andrew Pinski from comment #2) > I am suspect the inline-asm is just broken rather than the compiler being > broken ... However, by replacing the inline-asm with a simple nop, the issue persists. B

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #2 from Andrew Pinski --- I am suspect the inline-asm is just broken rather than the compiler being broken ...

[Bug target/118936] [15 Regression] ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936 --- Comment #11 from Andrew Pinski --- Created attachment 60533 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60533&action=edit Reduced testcase

[Bug target/118942] New: [14/15 Regression] vld1q_s{8, 16}_x{3, 4} use incorrect pointer type

2025-02-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118942 Bug ID: 118942 Summary: [14/15 Regression] vld1q_s{8,16}_x{3,4} use incorrect pointer type Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: rejects-v

[Bug tree-optimization/110645] [12/13/14/15 regression] False positive -Warray-bounds warning

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110645 --- Comment #2 from Jeffrey A. Law --- In the bowels of the relevant code, if we don't know the range of the source size, then we set is to the range of the destination size. I vaguely recall Martin doing this, but nothing about the reasoning b

[Bug rtl-optimization/118914] [15 Regression] rev16_2.c fails since r15-268

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118914 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #9 from Hongtao Liu --- > > > Because I think the operands usage is broken. > > Additionally, by removing the do{ ... } while(0) wrap from > bigint_test_exec(), the issue disappears. I believe that if it is the > operands usage is

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #10 from Miao Wang --- (In reply to Hongtao Liu from comment #9) > > > > > Because I think the operands usage is broken. > > > > Additionally, by removing the do{ ... } while(0) wrap from > > bigint_test_exec(), the issue disappear

[Bug tree-optimization/107699] [12/13/14/15 Regression] False positive -Warray-bounds, non-existent offset reported by GCC

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107699 --- Comment #16 from Jeffrey A. Law --- Even if it doesn't help this diagnostic, it would be a good thing to do since it would make the second conditional statically computable.

[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-19 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #11 from Hongtao Liu --- (In reply to Miao Wang from comment #10) > (In reply to Hongtao Liu from comment #9) > > > > > > > Because I think the operands usage is broken. > > > > > > Additionally, by removing the do{ ... } while(0)

[Bug c/118948] [15 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878 since r15-328

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118948 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/115209] The implementation of concat_view refers to p2542r7 rather than the p2542r8

2025-02-19 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115209 --- Comment #4 from 康桓瑋 --- > Our concat_view implementation is accidentally based off of an older > revision of the paper, P2542R7 instead of R8. As far as I can tell the > only semantic change in the final revision is the relaxed

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #6 from Andrew Pinski --- (In reply to Miao Wang from comment #3) > (In reply to Andrew Pinski from comment #2) > > I am suspect the inline-asm is just broken rather than the compiler being > > broken ... > > However, by replacing t

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 Waldemar Brodkorb changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/118944] New: deduced conflicting types for explicitly specified (non-deduced) template parameter in explicit object member function of struct template

2025-02-19 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118944 Bug ID: 118944 Summary: deduced conflicting types for explicitly specified (non-deduced) template parameter in explicit object member function of struct template Product: g

[Bug tree-optimization/114592] [12/13/14 regression] Bogus `maybe-uninitialized` on std::variant with std::string with -O3

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114592 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14/15 regression]|[12/13/14 regression] Bogus

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 117204, which changed state. Bug 117204 Summary: [12/13/14/15 regression] After r12-2132-ga1108556677, bogus -Warray-bounds warnings in std::vector::back() https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117204 W

[Bug tree-optimization/117204] [12/13/14/15 regression] After r12-2132-ga1108556677, bogus -Warray-bounds warnings in std::vector::back()

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117204 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/111696] [12/13/14/15 Regression] Spurious -Wstringop-overflow since r11-7497-g8d57bdadd2d9c2

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111696 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug middle-end/110764] [12/13/14/15 Regression] False positive -Warray-bounds warning swapping std::thread::id

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110764 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 110764, which changed state. Bug 110764 Summary: [12/13/14/15 Regression] False positive -Warray-bounds warning swapping std::thread::id https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110764 What|Removed

[Bug testsuite/113005] 'libgomp.fortran/rwlock_1.f90', 'libgomp.fortran/rwlock_3.f90' execution test timeouts

2025-02-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113005 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org See Als

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread wbx at openadk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 --- Comment #7 from Waldemar Brodkorb --- This code was the culprit: https://cgit.openadk.org/cgi/cgit/openadk.git/tree/toolchain/gcc/Makefile#n327 I have once got it from simplelinux from Greg Ungerer for coldfire/m68k builds. I don't remember

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

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 --- Comment #2 from Andrew Pinski --- _304 = _113 != 0; _373 = _113 == 0; _305 = _132 != 0; _377 = _132 == 0; _597 = () _377; _598 = [vec_duplicate_expr] _597; _599 = _359 + 20; _602 = VIEW_CONVERT_EXPR(_305); _603 = [vec_dupli

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

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950 --- Comment #3 from Andrew Pinski --- Note I think -O3 -fwhole-program is enough to reproduce it and you don't need -flto.

[Bug target/118945] New: RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 Bug ID: 118945 Summary: RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed Product: gcc Version: 15.0 Status: UNCONFIRMED Key

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #5 from Andrew Pinski --- Note I suspect using C with some (generic) builtins might be faster than what the inline-asm could provide these days than the inline-asm that was used. Plus I doubt the speed of big-int would ever be the bo

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 --- Comment #1 from Vineet Gupta --- Looking at the VSETVL dumps: Splitting with gen_split_2313 (vector.md:1777) scanning new insn with uid = 70. # New VSETVL for vector load deleting insn with uid = 16. # or

[Bug rtl-optimization/118914] [15 Regression] rev16_2.c fails since r15-268

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118914 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|target

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 --- Comment #3 from Vineet Gupta --- (In reply to JuzheZhong from comment #2) > I have thought about this long time ago while I am working on supporting RVV > on upstream GCC. > > https://github.com/riscv-non-isa/riscv-toolchain-conventions/iss

[Bug target/118938] C++ compiler fails to build for m68k-linux-gnu

2025-02-19 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118938 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug rtl-optimization/118914] [15 Regression] rev16_2.c fails since r15-268

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118914 --- Comment #3 from Andrew Pinski --- Created attachment 60536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60536&action=edit patch under testing

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #8 from Miao Wang --- (In reply to Andrew Pinski from comment #5) > Note I suspect using C with some (generic) builtins might be faster than > what the inline-asm could provide these days than the inline-asm that was > used. Plus I d

[Bug target/118940] [15 regression] [x86] Failure to build ipxe (inline assembly fails with 'asm' operand has impossible constraints or there are not enough registers) since r15-2217-ga3f03891065cb9

2025-02-19 Thread shankerwangmiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118940 --- Comment #7 from Miao Wang --- (In reply to Andrew Pinski from comment #6) > (In reply to Miao Wang from comment #3) > > (In reply to Andrew Pinski from comment #2) > > > I am suspect the inline-asm is just broken rather than the compiler bei

[Bug rtl-optimization/116604] [15 regression] regressions on aarch64 since r15-1619-g3b9b8d6cfdf593

2025-02-19 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116604 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug rtl-optimization/118914] [15 Regression] rev16_2.c fails since r15-268

2025-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118914 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-02-19 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 --- Comment #4 from Vineet Gupta --- The following hack does prevent the fusion + inline bool tail_policy_eq2_p (const vsetvl_info &prev, +const vsetvl_info &next) + { +return (((prev.get_policy_demand () =

[Bug tree-optimization/114360] [12/13/14 regression] Bogus -Wmaybe-uninitialized inside std::map internals with -O3

2025-02-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114360 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14/15 regression]|[12/13/14 regression] Bogus

  1   2   >