[Bug c/116141] ICE with conditional operator

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116141 --- Comment #1 from Andrew Pinski --- I think this is a dup of bug 29970.

[Bug c/116141] ICE with conditional operator

2024-07-30 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116141 uecker at gcc dot gnu.org changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/116130] Implement C23 N2956 paper - [[unsequenced]] and [[reproducible]] function type arguments

2024-07-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116130 --- Comment #11 from Jakub Jelinek --- Created attachment 58774 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58774&action=edit gcc15-pr116130.patch Untested patch. This doesn't hook it up in the middle-end with the exception of the sim

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #29 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #28) > It would need to be a FE keyword where __builtin_get_counted_by would return > some pointer, either e.g. (void *)0 if it doesn't have a count, or a

[Bug other/116143] [15 regression] gcc.dg/plugin/diagnostic-* test fails intermittently

2024-07-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116143 --- Comment #1 from David Malcolm --- Sorry about this. Demangling, _ZNK22simple_diagnostic_path10num_eventsEv is simple_diagnostic_path::num_events() const which is a vfunc implemented in gcc/simple-diagnostic-path.o My guess is that not

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #30 from Jakub Jelinek --- (In reply to qinzhao from comment #29) > (In reply to Jakub Jelinek from comment #28) > > It would need to be a FE keyword where __builtin_get_counted_by would return > > some pointer, either e.g. (void *)0

[Bug c++/106667] Diagnosing misuses of capturing lambda coroutines

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106667 Arsen Arsenović changed: What|Removed |Added Status|UNCONFIRMED |NEW Severity|normal

[Bug c++/102363] source_location in await_transform has function_name referring to internal coroutine funclet rather than source-level function

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102363 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org

[Bug c++/110855] std::source_location doesn't work with C++20 coroutine

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110855 Arsen Arsenović changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Com

[Bug c++/103358] what is the first constructor argument of lambda coroutine promise_type?

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103358 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org Reso

[Bug c++/54367] [meta-bug] lambda expressions

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 103358, which changed state. Bug 103358 Summary: what is the first constructor argument of lambda coroutine promise_type? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103358 What|Removed

[Bug c++/104981] [coroutines] Internal compiler error when promise object's constructor takes a base class of the object parameter

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104981 Arsen Arsenović changed: What|Removed |Added CC||netcan1996 at gmail dot com --- Comme

[Bug ipa/115309] Simple coroutine based generator is not optimized well

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115309 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org Last recon

[Bug rtl-optimization/48633] [4.7 regression] IRA causes ICE in compensate_edge

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48633 --- Comment #7 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 30

[Bug tree-optimization/83072] Late VRP optimization

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83072 --- Comment #11 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 3

[Bug tree-optimization/97567] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97567 --- Comment #9 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 30

[Bug target/89929] __attribute__((target("avx512bw"))) doesn't work on non avx512bw systems

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89929 --- Comment #33 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 3

[Bug tree-optimization/96542] Failure to optimize simple code to a constant when storing part of the operation in a variable

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96542 --- Comment #9 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 30

[Bug tree-optimization/83073] Range for VR_VARYING | [1, 1]

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83073 --- Comment #8 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 30

[Bug target/96562] Rather poor assembly generated for copy-list-initialization in return statement.

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96562 --- Comment #11 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 3

[Bug tree-optimization/96707] Failure to optimize right shift+unsigned compare of two variables optimally

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96707 --- Comment #7 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 30

[Bug preprocessor/90581] provide an option to adjust the maximum depth of nested #include

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90581 --- Comment #6 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:7f1aa73bde0babde0ed3ff58d7226b86d25d075d commit r15-2413-g7f1aa73bde0babde0ed3ff58d7226b86d25d075d Author: Sam James Date: Tue Jul 30

[Bug target/69225] gcc uses double precision instead of single float with -m32 -std=c99 -msoft-float

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69225 --- Comment #9 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2e662dedf84aa23fdff7bceca040432bf9f1ab72 commit r15-2412-g2e662dedf84aa23fdff7bceca040432bf9f1ab72 Author: Sam James Date: Tue Jul 30

[Bug target/116131] [14/15 Regression] RISC-V: Unrecognizable insn with xtheadmemidx on rv32

2024-07-30 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116131 --- Comment #3 from Christoph Müllner --- After passing the tests, I've posted the patch on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658726.html

[Bug c++/113773] coroutines: promise deconstructed twice if throwing from return object

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113773 Arsen Arsenović changed: What|Removed |Added Last reconfirmed||2024-07-30 CC|

[Bug other/116143] [15 regression] gcc.dg/plugin/diagnostic-* test fails intermittently

2024-07-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116143 Segher Boessenkool changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/54400] recognize vector reductions

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54400 --- Comment #11 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:ee12a13d25778a1ad8a9b5dc63aadf9f4320088b commit r15-2417-gee12a13d25778a1ad8a9b5dc63aadf9f4320088b Author: Sam James Date: Tue Jul 3

[Bug target/98161] [11 Regression] Incorrect stack realignment on __force_align_arg_pointer__ with -msse4 by r11-446

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98161 --- Comment #5 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:ee12a13d25778a1ad8a9b5dc63aadf9f4320088b commit r15-2417-gee12a13d25778a1ad8a9b5dc63aadf9f4320088b Author: Sam James Date: Tue Jul 30

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #31 from Kees Cook --- (In reply to Qing Zhao from comment #25) > The source code need to be: > > If (__builtin_get_counted_by (P->FAM)) > __builtin_get_counted_by (P->FAM) = COUNT; > > Yes, I agree that this is good too for the

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #32 from Kees Cook --- (In reply to qinzhao from comment #29) > (In reply to Jakub Jelinek from comment #28) > > Speaking of counted_by, I see support for it in c-family/ and c/, but not in > > cp/ at all, what is the attribute suppo

[Bug tree-optimization/116139] ICE with --param fully-pipelined-fma=1 since it was added in r14-6559-g8afdbcdd7abe1e

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

[Bug tree-optimization/116139] ICE with --param fully-pipelined-fma=1 since it was added in r14-6559-g8afdbcdd7abe1e

2024-07-30 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116139 --- Comment #2 from ktkachov at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #1) > Confirmed. This is NOT a regression since it ICEs with GCC 14 when > configured with --enable-checking=yes as this is a gcc_checking_assert > assert

[Bug target/116145] New: Suboptimal SVE immediate synthesis

2024-07-30 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 Bug ID: 116145 Summary: Suboptimal SVE immediate synthesis Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: aarch64-sve, missed-optimization Severity: normal

[Bug tree-optimization/51492] vectorizer does not support saturated arithmetic patterns

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51492 --- Comment #24 from GCC Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:8b737ec289da83e9e2a9672be0336980616e8932 commit r15-2419-g8b737ec289da83e9e2a9672be0336980616e8932 Author: Uros Bizjak Date: Tue J

[Bug tree-optimization/51492] vectorizer does not support saturated arithmetic patterns

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

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

2024-07-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 51492, which changed state. Bug 51492 Summary: vectorizer does not support saturated arithmetic patterns https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51492 What|Removed |Added --

[Bug target/116145] Suboptimal SVE immediate synthesis

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Se

[Bug target/116145] Suboptimal SVE immediate synthesis

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116145 Andrew Pinski changed: What|Removed |Added Keywords||easyhack --- Comment #2 from Andrew Pin

[Bug c++/29834] g++ thinks it is a declaration when it cannot be

2024-07-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29834 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|mpolacek at gcc d

[Bug target/111600] [14/15 Regression] RISC-V bootstrap time regression

2024-07-30 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600 --- Comment #35 from Mark Wielaard --- (In reply to GCC Commits from comment #28) > The master branch has been updated by Robin Dapp : > > https://gcc.gnu.org/g:184378027e92f51e02d3649e0ca523f487fd2810 > > commit r14-5034-g184378027e92f51e02d3

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #33 from Bill Wendling --- (In reply to Kees Cook from comment #31) > (In reply to Qing Zhao from comment #25) > > The source code need to be: > > > > If (__builtin_get_counted_by (P->FAM)) > > __builtin_get_counted_by (P->FAM) =

[Bug middle-end/116146] New: Split insn-recog.cc

2024-07-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116146 Bug ID: 116146 Summary: Split insn-recog.cc Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assigne

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #34 from qinzhao at gcc dot gnu.org --- (In reply to Bill Wendling from comment #33) > > If we had a way of testing for an attribute, we could avoid the need to > return ( void *)0 when the '__builtin_get' can't find the attribute: >

[Bug ada/116147] New: ADA Cross Compiler for ARM does not build

2024-07-30 Thread dldudley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 Bug ID: 116147 Summary: ADA Cross Compiler for ARM does not build Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-30 Status|UNCONFIRM

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread dldudley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #2 from David Dudley --- Created attachment 58775 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58775&action=edit Configuration Log file Configuration log file saved from configuration script

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread dldudley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #3 from David Dudley --- Created attachment 58776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58776&action=edit config log file from compile

[Bug testsuite/116148] New: [15 regression] c-c++-common/fam-in-union-alone-in-struct-2.c fails after r15-2403-g136f364e26d9ad

2024-07-30 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116148 Bug ID: 116148 Summary: [15 regression] c-c++-common/fam-in-union-alone-in-struct-2.c fails after r15-2403-g136f364e26d9ad Product: gcc Version: 15.0

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #4 from Andrew Pinski --- So iirc for building a cross Ada compiler you need to first build a new native one for the same version. Did you do that?

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #5 from Andrew Pinski --- Also the full build log would be useful rather than just the config logs.

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread dldudley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #6 from David Dudley --- Created attachment 58777 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58777&action=edit Building log Heres the building log

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread dldudley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #7 from David Dudley --- Building a native compiler using this version may be the actual error. There isn't exactly a plethora of information on how to generate this. I've generated a native compiler currently, but seem to have a p

[Bug target/68015] ICE in s390_emit_compare

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68015 --- Comment #6 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:acc70606c59e3f14072cc8a164362e728d8df5d6 commit r15-2421-gacc70606c59e3f14072cc8a164362e728d8df5d6 Author: Sam James Date: Tue Jul 30

[Bug c++/83979] [8 Regression] ICE with pointer comparison

2024-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83979 --- Comment #5 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:acc70606c59e3f14072cc8a164362e728d8df5d6 commit r15-2421-gacc70606c59e3f14072cc8a164362e728d8df5d6 Author: Sam James Date: Tue Jul 30

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread dldudley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #8 from David Dudley --- Debian has version 12.2.0 that it installs. Perhaps I need to backup and checkout that version for a cross compiler? Since this is an experimental project I'm working toward, I thought using the "master" ve

[Bug rtl-optimization/116136] [15 Regression] ext-dce exposes latent subreg simplification bug (big-endian) on m68k

2024-07-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116136 Jeffrey A. Law changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug ada/116147] ADA Cross Compiler for ARM does not build

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147 --- Comment #9 from Andrew Pinski --- What you need to do is build a native compiler first and install it somewhere (does not matter where; maybe say using --prefix=${HOME}/native-build). And then set PATH env to include ${HOME}/native-build/bin

[Bug testsuite/116148] c-c++-common/fam-in-union-alone-in-struct-2.c fails on big-endian (finally tested starting with r15-2403-g136f364e26d9ad)

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116148 Andrew Pinski changed: What|Removed |Added CC||qing.zhao at oracle dot com S

[Bug testsuite/116148] c-c++-common/fam-in-union-alone-in-struct-2.c fails on big-endian (finally tested starting with r15-2403-g136f364e26d9ad)

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116148 Andrew Pinski changed: What|Removed |Added Build|powerpc64-linux-gnu | Host|powerpc64-linux-gnu

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #35 from qinzhao at gcc dot gnu.org --- (In reply to Bill Wendling from comment #33) > > We could then have a builtin to get the attribute's argument: > > __builtin_get_attr_arg (ptr, attr_name); not sure whether it's worth the e

[Bug other/116143] [15 regression] gcc.dg/plugin/diagnostic-* test fails intermittently

2024-07-30 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116143 --- Comment #3 from Peter Bergner --- (In reply to Segher Boessenkool from comment #2) > Yup, that sounds eminently plausible :-) Thanks. For the given that error message, yes, it seems plausible. But I don't know how an error like that can b

[Bug c/116130] Implement C23 N2956 paper - [[unsequenced]] and [[reproducible]] function type arguments

2024-07-30 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116130 --- Comment #12 from Joseph S. Myers --- N3096 is a very old draft with lots of mistakes. Use N3220 instead (it has no technical changes relative to C23, though it's also missing many late editorial fixes required by ISO). Composite types for c

[Bug c++/115908] [coroutines] Wrong behavior of using get_return_object() when creating coroutines

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115908 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org Last recon

[Bug middle-end/116138] [15 regression] profiledbootstrap broken on aarch64 since r15-2196-g88d16194d0c8a6

2024-07-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116138 Sam James changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 fro

[Bug c++/115207] [constexpr] constexpr assignment rejected as non const on self-assignment test

2024-07-30 Thread herring at lanl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115207 S. Davis Herring changed: What|Removed |Added CC||herring at lanl dot gov --- Comment

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #36 from Jakub Jelinek --- (In reply to Bill Wendling from comment #33) > __builtin_get_attr_arg (ptr, attr_name) > > This could have an optional argument to specify which argument to get if the > attr has more than one: > > __

[Bug middle-end/115637] gimple_regimplify_operands doesn't handle VALUE_EXPR inside a MEM_REF / OpenMP declare target link

2024-07-30 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115637 --- Comment #2 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658737.html

[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

2024-07-30 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016 --- Comment #37 from Bill Wendling --- (In reply to Jakub Jelinek from comment #36) > (In reply to Bill Wendling from comment #33) > > __builtin_get_attr_arg (ptr, attr_name) > > > > This could have an optional argument to specify which argum

[Bug target/111600] [14/15 Regression] RISC-V bootstrap time regression

2024-07-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/116149] New: RISC-V: Miscompile at -O3 with zvl256b -mrvv-vector-bits=zvl

2024-07-30 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116149 Bug ID: 116149 Summary: RISC-V: Miscompile at -O3 with zvl256b -mrvv-vector-bits=zvl Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/116146] Split insn-recog.cc

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116146 Andrew Pinski changed: What|Removed |Added Keywords||internal-improvement Status

[Bug c++/115207] [constexpr] constexpr assignment rejected as non const on self-assignment test

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

[Bug c++/85944] Address of temporary at global scope not considered constexpr

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 Andrew Pinski changed: What|Removed |Added CC||nov.ondrej at gmail dot com --- Comment

[Bug c++/55004] [meta-bug] constexpr issues

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 115207, which changed state. Bug 115207 Summary: [constexpr] constexpr assignment rejected as non const on self-assignment test https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115207 What|Removed

[Bug tree-optimization/15596] [12/13/14/15 Regression] Missed optimization with bitfields with return value

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15596 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #40 from Andrew Pinski

[Bug middle-end/19466] [meta-bug] bit-fields are non optimal

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19466 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug tree-optimization/45274] __restrict__ type qualifier does not work on pointers to bitfields

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45274 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/55658] bitfields and __attribute__((packed)) generate horrible code on x86_64

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55658 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug target/116150] New: RISC-V: Differences between GCC/LLVM

2024-07-30 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116150 Bug ID: 116150 Summary: RISC-V: Differences between GCC/LLVM Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/66364] poor optimization of packed structs containing bitfields

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66364 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug tree-optimization/67731] Combine of OR'ed bitfields should use bit-test

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67731 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug middle-end/68360] GCC bitfield processing code is very inefficient

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68360 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug tree-optimization/83784] Missed optimization with bitfield

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83784 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/71509] Bitfield causes load hit store with larger store than load

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71509 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug tree-optimization/95097] Missed optimization with bitfield value ranges

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95097 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug tree-optimization/81161] poor code concatenating bitfields

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81161 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug tree-optimization/96172] Failure to optimize direct assignment to bitfield through shifts

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96172 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/101705] Missed optimization opportunity when copying lots of bitfields

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101705 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc d

[Bug tree-optimization/103457] boolean operations on bit-fields are not merged

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103457 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc d

[Bug tree-optimization/106076] Sub-optimal code is generated for checking bitfields via proxy functions

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106076 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc d

[Bug tree-optimization/109637] unnecessary range check in complete switch on bitfield

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109637 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc d

[Bug tree-optimization/45217] Tree optimizations do not recognize partial stores

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45217 --- Comment #4 from Andrew Pinski --- So I think isel should be able to recognize these. So I will be trying to finish this up for GCC 15.

[Bug middle-end/107601] Change SLOW_BYTE_ACCESS into WIDEN_MODE_ACCESS_BITFIELD target hook

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107601 --- Comment #4 from Andrew Pinski --- Even though this is bitfield related, this is some cleanup I am still aiming on working on during GCC 15.

[Bug middle-end/107047] load introduced of struct/union fields after assigning it to a local variable

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107047 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug middle-end/107047] load introduced of struct/union fields after assigning it to a local variable

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107047 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org -

[Bug tree-optimization/51428] Some code after SSA expand does nothing

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51428 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug c++/116151] New: [7.1 Regression] G++ fails to diagnose -Waggressive-loop-optimizations when going past the end of an array

2024-07-30 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116151 Bug ID: 116151 Summary: [7.1 Regression] G++ fails to diagnose -Waggressive-loop-optimizations when going past the end of an array Product: gcc Version: 7.1.0

[Bug tree-optimization/80770] suboptimal code negating a 1-bit _Bool field

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80770 Andrew Pinski changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/70871] questionable optimisation in fold-const.c

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70871 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug middle-end/116151] [12/13/14/15 Regression] G++ fails to diagnose -Waggressive-loop-optimizations when going past the end of an array

2024-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116151 Andrew Pinski changed: What|Removed |Added Known to fail||7.1.0 Target Milestone|---

  1   2   >