[Bug bootstrap/115635] [15 regression] Bootstrap fails with failed self-test with the rust fe (diagnostic-path.cc:1153: test_empty_path: FAIL: ASSERT_FALSE ((path.interprocedural_p ())))

2024-06-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115635 --- Comment #6 from Sam James --- In theory, the bisect list is tiny: ``` $ git shortlog 55947b32c38a40777aedbd105bd94b43a42c2a10..30db57901ccac7027f93ff71e70a66e26a4f70f5 Evgeny Karpov (6): Move mingw_* declarations to the mingw folder

[Bug debug/115649] Non-ABI constructor (C4) emitted in DWARF .debug_info

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115649 Richard Biener changed: What|Removed |Added Version|8.4.0 |14.1.0 CC|

[Bug tree-optimization/115652] [15 Regression] GCN: FAIL: gcc.dg/vect/pr70138-{1,2}.c (internal compiler error: verify_ssa failed)

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115652 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org L

[Bug target/115634] [15 regression] s390 bootstrap failure since r15-1579-g792f97b44ffc5e

2024-06-26 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634 --- Comment #4 from Stefan Schulze Frielinghaus --- I gave if (op && (!REG_P (op) || (reload_completed && HARD_REGISTER_P (op) && REGNO_REG_CLASS (REGNO (op)) != ADDR_REGS))) return false; a quick tr

[Bug target/115576] [14/15 regression] Worse code generated for simple struct conversion since r14-2386-gbdf2737cda53a8

2024-06-26 Thread user202729 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115576 --- Comment #5 from user202729 --- I think this can be resolved by implementing some code in combine.cc to replace: (set:TI (reg:TI 101) (zero_extend:TI (...:DI ...))) (set:DI (reg:DI ...) (subreg:DI (reg:TI 101) 8)) with (set:TI (reg:TI 101)

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #42 from GCC Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:812c70bf4981958488331d4ea5af8709b5321da1 commit r15-1645-g812c70bf4981958488331d4ea5af8709b5321da1 Author: Kewen Lin Date: Wed Jun

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #15 from GCC Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:812c70bf4981958488331d4ea5af8709b5321da1 commit r15-1645-g812c70bf4981958488331d4ea5af8709b5321da1 Author: Kewen Lin Date: Wed Jun

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #14 from GCC Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:62520e4e9f7e2fe8a16ee57a4bd35da2e921ae22 commit r15-1644-g62520e4e9f7e2fe8a16ee57a4bd35da2e921ae22 Author: Kewen Lin Date: Wed Jun

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #41 from GCC Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:62520e4e9f7e2fe8a16ee57a4bd35da2e921ae22 commit r15-1644-g62520e4e9f7e2fe8a16ee57a4bd35da2e921ae22 Author: Kewen Lin Date: Wed Jun

[Bug bootstrap/115655] [15 Regression] bootstrap failure on legitimize_dllimport_symbol: declared 'static' but never defined [-Werror=unused-function]

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115655 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Target Milestone|---

[Bug c++/115656] [11/12/13/14/15 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.5 Summary|Templated ctor

[Bug tree-optimization/115659] powerpc fallout from removing vcond{,u,eq} patterns

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115659 --- Comment #3 from Richard Biener --- c = x CMP y r = c ? -1 : z => r = c ? c : z r = c ? z : 0 => r = c ? z : c this is probably best left for ISEL. I agree the transforms eliminating the COND are useful in general and suitabl

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-06-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #26 from Eric Gallager --- (In reply to Eric Gallager from comment #25) > Cross-referencing against > https://github.com/apple/swift-corelibs-libdispatch/issues/765 Note that there is some confusion in that issue about if/when Apple'

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-06-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 Eric Gallager changed: What|Removed |Added CC||fjahanian at apple dot com,

[Bug bootstrap/115655] [15 Regression] bootstrap failure on legitimize_dllimport_symbol: declared 'static' but never defined [-Werror=unused-function]

2024-06-26 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115655 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/80528] reimplement gnulib's "useless-if-before-free" script as a compiler warning

2024-06-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80528 Eric Gallager changed: What|Removed |Added CC||collin.funk1 at gmail dot com --- Commen

[Bug c++/115660] New: internal compiler error: in build_special_member_call, at cp/call.cc:11085

2024-06-26 Thread vipcxj at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115660 Bug ID: 115660 Summary: internal compiler error: in build_special_member_call, at cp/call.cc:11085 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: n

[Bug c++/115660] internal compiler error: in build_special_member_call, at cp/call.cc:11085

2024-06-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115660 --- Comment #1 from Sam James --- Please include full preprocessed source.

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-06-26 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #28 from Sergey Fedorov --- (In reply to Eric Gallager from comment #26) > (In reply to Eric Gallager from comment #25) > > Cross-referencing against > > https://github.com/apple/swift-corelibs-libdispatch/issues/765 > > Note that th

[Bug c/97687] -Wfatal-errors prints some notes but not others

2024-06-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97687 Eric Gallager changed: What|Removed |Added Ever confirmed|0 |1 CC|

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

2024-06-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240626 (experimental) (GCC) [518] % [518] % gcctk -O0 small.c; ./a.out [519] % gcctk -O2 small.c [520] % ./a.out 0 [521] % cat sm

[Bug preprocessor/79465] infinite #include cycle is not detected

2024-06-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79465 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug preprocessor/48839] #error should terminate compilation - similar to missing #include

2024-06-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48839 Eric Gallager changed: What|Removed |Added CC||valsiterb at gmail dot com --- Comment #

[Bug c++/115660] internal compiler error: in build_special_member_call, at cp/call.cc:11085

2024-06-26 Thread vipcxj at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115660 --- Comment #2 from vipcxj at 126 dot com --- Created attachment 58518 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58518&action=edit full preprocessed source

[Bug c++/115660] internal compiler error: in build_special_member_call, at cp/call.cc:11085

2024-06-26 Thread vipcxj at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115660 --- Comment #3 from vipcxj at 126 dot com --- co_await signal->join(closer, {"root.room1"}) change to auto rooms_arg = {std::string("root.room1")}; co_await signal->join(closer, std::move(rooms_arg)); error disappeared. but co_await signal->

[Bug tree-optimization/115661] wrong code at -O{2,3} on x86_64-linux-gnu

2024-06-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240626 (experimental) (GCC) [568] % [568] % gcctk -O2 small.c; ./a.out [569] % [569] % gcctk -O2 -fno-tree-pre -fschedule-insns -fno-forward-propagate -fno-guess-branch

[Bug analyzer/115662] New: Feature request: support for linking SARIF files together

2024-06-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115662 Bug ID: 115662 Summary: Feature request: support for linking SARIF files together Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: SARIF Seve

[Bug tree-optimization/115661] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115661 Richard Biener changed: What|Removed |Added Summary|wrong code at -O{2,3} on|[15 Regression] wrong code

[Bug libstdc++/104395] ext/bitmap_allocator.h is not C++98 friendly when using with -faligned-new

2024-06-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104395 --- Comment #7 from Jonathan Wakely --- It doesn't seem very helpful for GCC and Clang to accept enum class align_val_t in C++98 mode, but not accept alignof in system headers. We could change all these uses to __alignof instead of alignof, whi

[Bug libstdc++/104395] ext/bitmap_allocator.h is not C++98 friendly when using with -faligned-new

2024-06-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104395 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #8 from Richard Biener --- (In reply to Richard Biener from comment #7) > I will have a look (and for run validation try to reproduce with gfx1036). OK, so with gfx1036 we end up using 16 byte vectors and the testcase passes. The d

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #9 from Richard Biener --- Created attachment 58519 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58519&action=edit patch I think this fixes it, but I cannot validate.

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/115663] New: outer loop vectorization with inner loop grouped access and SLP should be possible

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115663 Bug ID: 115663 Summary: outer loop vectorization with inner loop grouped access and SLP should be possible Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug tree-optimization/115661] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu

2024-06-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115661 Sam James changed: What|Removed |Added CC||Evgeny.Karpov at microsoft dot com

[Bug c++/115664] New: -Wnonnull-compare breaks templated methods

2024-06-26 Thread ossman at cendio dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 Bug ID: 115664 Summary: -Wnonnull-compare breaks templated methods Product: gcc Version: 13.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #10 from Andrew Stubbs --- On 26/06/2024 12:05, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 > > --- Comment #8 from Richard Biener --- > (In reply to Richard Biener from comment #7) >> I

[Bug tree-optimization/115661] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu since r15-1599-g63512c72df09b4

2024-06-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115661 Sam James changed: What|Removed |Added Keywords|needs-bisection | Ever confirmed|0

[Bug c++/115665] New: gcc complains about bad CTAD that actually does not exist in template derived class with default argument

2024-06-26 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115665 Bug ID: 115665 Summary: gcc complains about bad CTAD that actually does not exist in template derived class with default argument Product: gcc Version: 13.2.0 Status: UN

[Bug bootstrap/115635] [15 regression] Bootstrap fails with failed self-test with the rust fe (diagnostic-path.cc:1153: test_empty_path: FAIL: ASSERT_FALSE ((path.interprocedural_p ())))

2024-06-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115635 --- Comment #7 from Sam James --- I'm bisecting but the above list contains r15-1599-g63512c72df09b4 which PR115661 bisected to, so I'm starting to think it's right?

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #11 from Thomas Schwinge --- (In reply to Richard Biener from comment #9) > Created attachment 58519 [details] > patch > > I think this fixes it, but I cannot validate. Yes, it does, thanks!

[Bug tree-optimization/115652] [15 Regression] GCN: FAIL: gcc.dg/vect/pr70138-{1,2}.c (internal compiler error: verify_ssa failed)

2024-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115652 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f80db5495d5f8455b3003951727eb6c8dc67d81d commit r15-1653-gf80db5495d5f8455b3003951727eb6c8dc67d81d Author: Richard Biener Date:

[Bug tree-optimization/115652] [15 Regression] GCN: FAIL: gcc.dg/vect/pr70138-{1,2}.c (internal compiler error: verify_ssa failed)

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115652 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/115634] [15 regression] s390 bootstrap failure since r15-1579-g792f97b44ffc5e

2024-06-26 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634 --- Comment #5 from Stefan Schulze Frielinghaus --- Sent a slightly adapted patch https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655705.html Thanks for your quick help in fixing this. Very much appreciated!

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #12 from Richard Biener --- (In reply to Andrew Stubbs from comment #10) > On 26/06/2024 12:05, rguenth at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 > > > > --- Comment #8 from Richard Biener --

[Bug tree-optimization/115661] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu since r15-1599-g63512c72df09b4

2024-06-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115661 --- Comment #4 from Sam James --- This fixes it for me as a hack: ``` --- a/gcc/config/i386/i386-expand.cc +++ b/gcc/config/i386/i386-expand.cc @@ -412,20 +412,10 @@ ix86_expand_move (machine_mode mode, rtx operands[]) } else

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #13 from Richard Biener --- (In reply to Richard Biener from comment #12) > (In reply to Andrew Stubbs from comment #10) > > GFX10 has more limited permutation capabilities than GFX9 because it > > only has 32-lane vectors natively,

[Bug tree-optimization/109429] ivopts: Compute complexity for unsupported addressing modes

2024-06-26 Thread jovan.dmitrovic at syrmia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109429 --- Comment #4 from Jovan Dmitrović --- There is a patch regarding this issue submitted to the GCC mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647966.html. Unfortunately, there hasn't been a response to it for quite some

[Bug target/115493] [15 regression] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d

2024-06-26 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115493 Christophe Lyon changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/115493] [15 regression] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d

2024-06-26 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115493 --- Comment #11 from Christophe Lyon --- Created attachment 58520 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58520&action=edit vect dump broken after r15-1392

[Bug target/115493] [15 regression] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115493 --- Comment #12 from Richard Biener --- (In reply to Christophe Lyon from comment #11) > Created attachment 58520 [details] > vect dump broken after r15-1392 The IL looks OK now, I can't spot any other issue. As I lack a runtime debug environm

[Bug ada/115666] New: Cloaking access to subprogram in a record allows storing anonymous access-to-subprogram value

2024-06-26 Thread saulius.grazulis at bti dot vu.lt via Gcc-bugs
mit-7fada36c778 --enable-languages=c,c++,ada --disable-nls --disable-multilib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240626 (experimental) (GCC) saulius@pterodaktilis minimal-wo

[Bug ada/115666] Cloaking access to subprogram in a record allows storing anonymous access-to-subprogram value

2024-06-26 Thread saulius.grazulis at bti dot vu.lt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115666 --- Comment #1 from Saulius Gražulis --- Correction: the bug mentioned is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84198 (not the bug #84194).

[Bug target/115661] [15 Regression] wrong code at -O{2,3} on x86_64-linux-gnu since r15-1599-g63512c72df09b4

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115661 --- Comment #5 from Richard Biener --- Note the ix86_GOT_alias_set change also looks wrong. AFAICS it now sets MEM_ALIAS_SET to -1 which is ALIAS_SET_MEMORY_BARRIER and a pessimization.

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #14 from Andrew Stubbs --- On 26/06/2024 13:34, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 > > --- Comment #13 from Richard Biener --- > (In reply to Richard Biener from comment #12) >>

[Bug c++/102454] coroutines: ICE in gimplify_var_or_parm_decl, at gimplify.c:2958

2024-06-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102454 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #15 from rguenther at suse dot de --- On Wed, 26 Jun 2024, ams at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 > > --- Comment #14 from Andrew Stubbs --- > On 26/06/2024 13:34, rguenth at gcc dot gn

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-06-26 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #29 from Sergey Fedorov --- (In reply to Eric Gallager from comment #25) > Cross-referencing against > https://github.com/apple/swift-corelibs-libdispatch/issues/765 By the way, have you got some example code at hand which can serve

[Bug c++/115656] [11/12/13/14/15 Regression] Templated ctor use rejected in non-deduced context if class template has template template parameter

2024-06-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115656 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug debug/115649] Non-ABI constructor (C4) emitted in DWARF .debug_info

2024-06-26 Thread devengangwani12 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115649 --- Comment #2 from Deven --- I personally feel it would be preferable to have DWARF entries only for any functions present in the final symbol table, so to simply omit those entries... I'm not sure if they would be useful in any way.

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-06-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #30 from Iain Sandoe --- blocks have support from 10.6 [Apple gcc-4.2] (although there is/was 'after market' support for 10.5). you should be able to find plenty of examples in the Apple Developer doc. This is now becoming more of a

[Bug c++/115657] [12/13/14/15 Regression] ICE in tsubst_enum/tsubst_expr during template instantiation

2024-06-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115657 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug target/115640] [15 Regression] GCN: FAIL: gfortran.dg/vect/pr115528.f -O execution test

2024-06-26 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 --- Comment #16 from Andrew Stubbs --- On 26/06/2024 14:41, rguenther at suse dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115640 > > --- Comment #15 from rguenther at suse dot de --- >>> Btw, the above looks quite odd for nelt

[Bug c++/115657] [12/13/14/15 Regression] ICE in tsubst_enum/tsubst_expr during template instantiation

2024-06-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115657 --- Comment #4 from Marek Polacek --- tsubst_expr gets TARGET_EXPR . We should probably have created an IMPLICIT_CONV_EXPR for it.

[Bug c++/115664] -Wnonnull-compare breaks templated methods

2024-06-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/115643] aarch64-w64-mingw32 support today breaks x86_64-w64-mingw32 build cannot represent relocation type BFD_RELOC_64

2024-06-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643 --- Comment #3 from Sergei Trofimovich --- I got a similar failure for `--target=i686-w64-mingw32`. It is probably slightly dependent on system headers and binutils version. Mine is binutils-2.42. I extracted the following self-contained exampl

[Bug target/115643] aarch64-w64-mingw32 support today breaks x86_64-w64-mingw32 build cannot represent relocation type BFD_RELOC_64

2024-06-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643 --- Comment #4 from Sergei Trofimovich --- `gcc` produces the following assembly: $ gcc/xgcc -Bgcc -fbuilding-libgcc -fno-stack-protector -S __main.c.c -o - -O2 .file "__main.c.c" .text .p2align 4 .globl _

[Bug rtl-optimization/115667] New: Improve expansion for popcountti2

2024-06-26 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115667 Bug ID: 115667 Summary: Improve expansion for popcountti2 Product: gcc Version: 13.3.1 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Prior

[Bug rtl-optimization/115667] Improve expansion for popcountti2

2024-06-26 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115667 --- Comment #1 from ktkachov at gcc dot gnu.org --- In fact I'm sure it could even use the proposed new udot approach

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-06-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #31 from Eric Gallager --- (In reply to Sergey Fedorov from comment #29) > (In reply to Eric Gallager from comment #25) > > Cross-referencing against > > https://github.com/apple/swift-corelibs-libdispatch/issues/765 > > By the way,

[Bug tree-optimization/113673] [12/13/14 Regression] ICE: verify_flow_info failed: BB 5 cannot throw but has an EH edge with -Os -finstrument-functions -fnon-call-exceptions -ftrapv

2024-06-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113673 Roger Sayle changed: What|Removed |Added Assignee|roger at nextmovesoftware dot com |unassigned at gcc dot gnu.org

[Bug c++/115665] gcc complains about bad CTAD that actually does not exist in template derived class with default argument

2024-06-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115665 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last reco

[Bug rtl-optimization/115667] Improve expansion for popcountti2

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

[Bug target/113042] popcount of 8bits and 128bits can be improved for !TARGET_CSSC

2024-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113042 Andrew Pinski changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment

[Bug preprocessor/79465] infinite #include cycle is not detected

2024-06-26 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79465 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug tree-optimization/115652] [15 Regression] GCN: FAIL: gcc.dg/vect/pr70138-{1,2}.c (internal compiler error: verify_ssa failed)

2024-06-26 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115652 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org Resolut

[Bug c++/115664] -Wnonnull-compare breaks templated methods

2024-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from Andrew Pinski

[Bug c++/115664] -Wnonnull-compare breaks templated methods

2024-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 Andrew Pinski changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from Andrew Pins

[Bug c++/115664] -Wnonnull-compare breaks templated methods

2024-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Andrew Pinski

[Bug c++/115664] -Wnonnull-compare breaks templated methods

2024-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115664 --- Comment #5 from Andrew Pinski --- Basically `dynamic_cast(this)` becomes just this if `T == Object` here and then we warn because this is compared with nullptr.

[Bug c++/115557] Invalid NSDMI accepted for templates classes for a aggregate that binds to a temp

2024-06-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115557 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug preprocessor/79465] infinite #include cycle is not detected

2024-06-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79465 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org Res

[Bug c++/115572] ICE: in dependent_type_p, at cp/pt.cc:28020

2024-06-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115572 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/115629] Inefficient if-convert of masked conditionals

2024-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115629 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:629257bcb81434117f1e9c68479032563176dc0c commit r15-1662-g629257bcb81434117f1e9c68479032563176dc0c Author: Richard Biener Date:

[Bug tree-optimization/115629] Inefficient if-convert of masked conditionals

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115629 --- Comment #3 from Richard Biener --- So we now tail-merge the two b[i] loading blocks. Can you check SVE code-gen with this? If that fixes the PR consider adding a SVE testcase.

[Bug target/113882] V4SF->V4HI could be implemented using V4SF->V4SI and then truncation to V4HI

2024-06-26 Thread pzheng at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113882 Pengxuan Zheng changed: What|Removed |Added Resolution|--- |INVALID Status|ASSIGNED

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-06-26 Thread pzheng at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 113882, which changed state. Bug 113882 Summary: V4SF->V4HI could be implemented using V4SF->V4SI and then truncation to V4HI https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113882 What|Removed

[Bug target/115493] [15 regression] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d

2024-06-26 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115493 --- Comment #13 from Christophe Lyon --- Yes it breaks at the same point, again we are returning an uninitialized value. Adding annotate asm

[Bug target/115493] [15 regression] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d

2024-06-26 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115493 --- Comment #14 from Christophe Lyon --- Created attachment 58522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58522&action=edit Wrong code after r15-1392

[Bug target/115493] [15 regression] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115493 --- Comment #15 from Richard Biener --- (In reply to Christophe Lyon from comment #13) > Yes it breaks at the same point, again we are returning an uninitialized > value. > Adding annotate asm OK, looking the fix was only half complete. Can yo

[Bug libstdc++/115668] New: Cannot format chrono::duration

2024-06-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115668 Bug ID: 115668 Summary: Cannot format chrono::duration Product: gcc Version: 13.3.1 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3

[Bug tree-optimization/115652] [15 Regression] GCN: FAIL: gcc.dg/vect/pr70138-{1,2}.c (internal compiler error: verify_ssa failed)

2024-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115652 --- Comment #5 from Richard Biener --- (In reply to Jeffrey A. Law from comment #4) > That patch seems to be causing ssa verification failures (should be visible > with riscv64-elf cross): > > make check-gcc RUNTESTFLAGS=rvv.exp=vsetvl_bug-2.c

[Bug tree-optimization/36602] memset should be optimized into an empty CONSTRUCTOR

2024-06-26 Thread crrodriguez at opensuse dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36602 --- Comment #15 from Cristian Rodríguez --- Was this issue ever fixed/addressed?

[Bug libstdc++/115668] Cannot format chrono::duration

2024-06-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115668 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Last

[Bug libstdc++/115668] Cannot format chrono::duration

2024-06-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115668 --- Comment #1 from Jonathan Wakely --- Oops, the diff above is against an incomplete fix I already had in my git index, this is the proper fix: --- a/libstdc++-v3/include/bits/chrono_io.h +++ b/libstdc++-v3/include/bits/chrono_io.h @@ -1696,7

[Bug target/115493] [15 regression] gcc.c-torture/execute/pr94734.c fails on MVE after r15-1054-g202a9c8fe7d

2024-06-26 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115493 --- Comment #16 from Christophe Lyon --- (In reply to Richard Biener from comment #15) > OK, looking the fix was only half complete. Can you try It works with this, thanks!

[Bug tree-optimization/115669] New: [15 Regression] rv64gcv -fwrapv miscompile since r15-1006-gd93353e6423

2024-06-26 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115669 Bug ID: 115669 Summary: [15 Regression] rv64gcv -fwrapv miscompile since r15-1006-gd93353e6423 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/115639] Large variations in compilation times involving static_assert

2024-06-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115639 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-06-26 CC|

[Bug tree-optimization/115669] [15 Regression] rv64gcv -fwrapv miscompile since r15-1006-gd93353e6423

2024-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115669 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

  1   2   >