[Bug target/120589] __attribute__((dllimport)) caused ICE

2025-06-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120589 H.J. Lu changed: What|Removed |Added Last reconfirmed||2025-06-08 Ever confirmed|0

[Bug target/120589] __attribute__((dllimport)) caused ICE

2025-06-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120589 --- Comment #1 from H.J. Lu --- Created attachment 61600 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61600&action=edit A patch

[Bug target/120589] New: __attribute__((dllimport)) caused ICE

2025-06-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120589 Bug ID: 120589 Summary: __attribute__((dllimport)) caused ICE Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/120588] [14/15/16 regression] poor code when returning struct

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

[Bug target/120588] New: [14/15/16 regression] poor code when returning struct

2025-06-07 Thread ell_se at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120588 Bug ID: 120588 Summary: [14/15/16 regression] poor code when returning struct Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug target/120587] [OpenRISC] ICE in ce1 due to emit_move_multi_word assert failure

2025-06-07 Thread shorne at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120587 Stafford Horne changed: What|Removed |Added Target||or1k Last reconfirmed|

[Bug target/120587] New: [OpenRISC] ICE in ce1 due to emit_move_multi_word assert failure

2025-06-07 Thread shorne at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120587 Bug ID: 120587 Summary: [OpenRISC] ICE in ce1 due to emit_move_multi_word assert failure Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/120586] ctype_base.h has issues on alpha

2025-06-07 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120586 --- Comment #2 from Greg Chandler --- (In reply to Andrew Pinski from comment #1) > > --with-newlib > > You can't use that and then use glibc to build libstdc++. > > If you are building libstdc++ for the second stage, you should not have ` >

[Bug cobol/119217] cobol: build broken on non-linux by unguarded use of Linux-specific facilities.

2025-06-07 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 Robert Dubner changed: What|Removed |Added CC||rdubner at gcc dot gnu.org --- Comment

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 --- Comment #5 from Andrew Pinski --- tmp = {}; _1 = f_4(D)->next; tmp.next = _1; *f_4(D) = tmp; I thought dse would decrease the zeroing store but it didn't.

[Bug tree-optimization/99728] code pessimization when using wrapper classes around SIMD types

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #20 from Andrew Pinski --- This looks like it was fixed in GCC 13.

[Bug libstdc++/120586] ctype_base.h has issues on alpha

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

[Bug libstdc++/120586] New: ctype_base.h has issues on alpha

2025-06-07 Thread chandleg at wizardsworks dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120586 Bug ID: 120586 Summary: ctype_base.h has issues on alpha Product: gcc Version: 14.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug middle-end/35803] still can't get rid of phony compare patterns - cbranch* / cstore* patterns miss their goal

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

[Bug c++/120585] "error: ‘signed’ specified with ‘typeof’" with wchar_t

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120585 --- Comment #3 from Andrew Pinski --- >Perhaps there's a `typeof` involved somehow behind the scenes There is not. typeof is just the last choice for this set of ifs: ``` if (typedef_decl) { pedwarn (loc, OPT

[Bug c++/120585] "error: ‘signed’ specified with ‘typeof’" with wchar_t

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

[Bug c++/120585] "error: ‘signed’ specified with ‘typeof’" in code with no typeof

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120585 --- Comment #1 from Andrew Pinski --- So with -pedantic-errors GCC 8.5 and before did have a decent error message I think: :1:24: error: long, short, signed or unsigned used invalidly for 'x' [-Wpedantic] typedef signed wchar_t x;

[Bug tree-optimization/120488] [12/13/14/15/16 regression] wrong code at -O1 and above on x86_64-linux-gnu

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120488 --- Comment #4 from Andrew Pinski --- *** Bug 120584 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/120584] wrong code at -O{1,s,2} on x86_64-linux-gnu

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

[Bug tree-optimization/120584] wrong code at -O{1,s,2} on x86_64-linux-gnu

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120584 --- Comment #1 from Andrew Pinski --- _2 = a.0_1 + i_17(D); ... _6 = i_17(D) * -999; _8 = a.0_1 + _6; slsr transforms it into: _2 = a.0_1 + i_17(D); ... _6 = i_17(D) * -999; slsr_20 = i_17(D) * 1000; _8 = _2 - slsr_20;

[Bug c++/120585] New: "error: ‘signed’ specified with ‘typeof’" in code with no typeof

2025-06-07 Thread olly at survex dot com via Gcc-bugs
++-15 (Debian 15-20250319-1) 15.0.1 20250319 (experimental) [master r15-8284-gd0110185eb7] Also reproducible on godbolt.org: g++ (Compiler-Explorer-Build-gcc-e1719c3c20bee7caac0f6cc1a6e2deda9820e030-binutils-2.42) 16.0.0 20250607 (experimental) AIUI this code isn't valid ISO C++ but older GCC

[Bug tree-optimization/120584] New: wrong code at -O{1,s,2} on x86_64-linux-gnu

2025-06-07 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
: ../gcc-trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250607 (experimental

[Bug c/120578] Loop termination check eliminated under -O2/-O3/Os when int overflow occurs

2025-06-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120578 --- Comment #4 from Sam James --- > violating the Semantic Preservation Principle No such principle applies for UB.

[Bug tree-optimization/120583] New: wrong code at -O{s,2} on x86_64-linux-gnu

2025-06-07 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250607 (experimental) (GCC) [512] % [512] % gcctk -O2 small.c [513] % ./a.out

[Bug tree-optimization/120579] gimple_could_trap_p_1 has Special case for COND_EXPR

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120579 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/120582] simplify_builtin_call has a special case for COND_EXPR

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120582 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/120582] New: simplify_builtin_call has a special case for COND_EXPR

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120582 Bug ID: 120582 Summary: simplify_builtin_call has a special case for COND_EXPR Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: no

[Bug sanitizer/120581] sancov_pass has a special case for COND_EXPR

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120581 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug sanitizer/120581] New: sancov_pass has a special case for COND_EXPR

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120581 Bug ID: 120581 Summary: sancov_pass has a special case for COND_EXPR Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal

[Bug tree-optimization/120580] New: do_warn_nonnull_compare has special case for COND_EXPR

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120580 Bug ID: 120580 Summary: do_warn_nonnull_compare has special case for COND_EXPR Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: no

[Bug tree-optimization/120579] New: gimple_could_trap_p_1 has Special case for COND_EXPR

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120579 Bug ID: 120579 Summary: gimple_could_trap_p_1 has Special case for COND_EXPR Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: norm

[Bug c/120510] composite_type produces result not compatible with arguments

2025-06-07 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120510 --- Comment #2 from uecker at gcc dot gnu.org --- 3 patches: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686062.html

[Bug libstdc++/120407] [12/13/14/15/16 Regression] Binary size manifold for static linked MinGW target (e.g. std::__throw_system_error)

2025-06-07 Thread daniel.f.starke at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120407 --- Comment #13 from Daniel Starke --- I can confirm that compiling libstdc++.a with the mentioned commit reverted fixes the binary size increase in GCC 15.1.

[Bug fortran/32630] [meta-bug] ISO C binding

2025-06-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32630 Bug 32630 depends on bug 38220, which changed state. Bug 38220 Summary: C_LOC intrinsic non-pure and without explicit interface https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38220 What|Removed |Added

[Bug fortran/38220] C_LOC intrinsic non-pure and without explicit interface

2025-06-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38220 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|-

[Bug fortran/20585] [meta-bug] Fortran 2003 support

2025-06-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585 Bug 20585 depends on bug 38220, which changed state. Bug 38220 Summary: C_LOC intrinsic non-pure and without explicit interface https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38220 What|Removed |Added

[Bug fortran/29670] [meta-bug] fortran interfaces

2025-06-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29670 Bug 29670 depends on bug 38220, which changed state. Bug 38220 Summary: C_LOC intrinsic non-pure and without explicit interface https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38220 What|Removed |Added

[Bug libfortran/116400] [15/16 Regression] Regenerated files are no longer written to the source directory

2025-06-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116400 --- Comment #19 from GCC Commits --- The master branch has been updated by Francois-Xavier Coudert : https://gcc.gnu.org/g:2829068850cdfdb32fc9988595ac3a26e60935a2 commit r16-1278-g2829068850cdfdb32fc9988595ac3a26e60935a2 Author: Francois-Xavi

[Bug modula2/119650] WriteString for String

2025-06-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119650 Gaius Mulley changed: What|Removed |Added Target Milestone|--- |16.0 Status|ASSIGNED

[Bug modula2/117203] Add Delete procedure function to FIO

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

[Bug modula2/117203] Add Delete procedure function to FIO

2025-06-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117203 Gaius Mulley changed: What|Removed |Added Version|15.0|16.0 --- Comment #3 from Gaius Mulley -

[Bug c/120578] Loop termination check eliminated under -O2/-O3/Os when int overflow occurs

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

[Bug modula2/119650] WriteString for String

2025-06-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119650 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:d1c3cfa3296ae5010c514d67f57acf144a299c7a commit r16-1277-gd1c3cfa3296ae5010c514d67f57acf144a299c7a Author: Gaius Mulley Date: Sat

[Bug modula2/117203] Add Delete procedure function to FIO

2025-06-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117203 --- Comment #2 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:d1c3cfa3296ae5010c514d67f57acf144a299c7a commit r16-1277-gd1c3cfa3296ae5010c514d67f57acf144a299c7a Author: Gaius Mulley Date: Sat

[Bug c++/114267] bogus -Wsubobject-linkage when using lambda members as template parameters

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114267 Andrew Pinski changed: What|Removed |Added CC||stsp at users dot sourceforge.net ---

[Bug c++/120576] Wsubobject-linkage warning on lambda as a template parameter in header

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

[Bug c/120578] Loop termination check eliminated under -O2/-O3/Os when int overflow occurs

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

[Bug c/120578] Loop termination check eliminated under -O2/-O3/Os when int overflow occurs

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

[Bug c/120578] New: Loop termination check eliminated under -O2/-O3/Os when int overflow occurs

2025-06-07 Thread 2023091106 at cauc dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120578 Bug ID: 120578 Summary: Loop termination check eliminated under -O2/-O3/Os when int overflow occurs Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity:

[Bug modula2/117203] Add Delete procedure function to FIO

2025-06-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117203 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/107477] spurious -Wrestrict warning

2025-06-07 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107477 --- Comment #2 from Stas Sergeev --- Why unconfirmed?

[Bug c++/120577] New: Another crash with [[no_unique_address]] and constexpr functions

2025-06-07 Thread nikolasklauser at berlin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120577 Bug ID: 120577 Summary: Another crash with [[no_unique_address]] and constexpr functions Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/120576] New: Wsubobject-linkage warning on lambda as a template parameter in header

2025-06-07 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120576 Bug ID: 120576 Summary: Wsubobject-linkage warning on lambda as a template parameter in header Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: norma

[Bug c++/120575] New: ICE: in cp_parser_abort_tentative_parse, at cp/parser.cc:36574

2025-06-07 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120575 Bug ID: 120575 Summary: ICE: in cp_parser_abort_tentative_parse, at cp/parser.cc:36574 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/112824] Stack spills and vector splitting with vector builtins

2025-06-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112824 Sam James changed: What|Removed |Added Target Milestone|--- |16.0

[Bug middle-end/110459] Trivial on stack variable was not optimized away

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110459 --- Comment #12 from Andrew Pinski --- Updated patch: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686055.html