Re: [patch]: Implement PR104327 for avr

2023-05-24 Thread Richard Biener via Gcc
On Wed, May 24, 2023 at 5:44 PM Georg-Johann Lay wrote: > > > > Am 24.05.23 um 11:38 schrieb Richard Biener: > > On Tue, May 23, 2023 at 2:56 PM Georg-Johann Lay wrote: > >> > >> PR target/104327 not only affects s390 but also avr: > >> The avr backend pre-sets some options depending on optimizat

gcc-10-20230524 is now available

2023-05-24 Thread GCC Administrator via Gcc
Snapshot gcc-10-20230524 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20230524/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: inlining failed in call to 'always_inline': target specific option mismatch

2023-05-24 Thread Georg-Johann Lay
Am 24.05.23 um 11:28 schrieb Richard Biener: On Tue, May 23, 2023 at 1:25 PM Georg-Johann Lay wrote: This error pops up in the testsuite for avr. As far as I understand, this is due to target-specific optimization like in avr-common.cc: { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_mgas_isr_pr

Re: [patch]: Implement PR104327 for avr

2023-05-24 Thread Georg-Johann Lay
Am 24.05.23 um 11:38 schrieb Richard Biener: On Tue, May 23, 2023 at 2:56 PM Georg-Johann Lay wrote: PR target/104327 not only affects s390 but also avr: The avr backend pre-sets some options depending on optimization level. The inliner then thinks that always_inline functions are not eligi

[analyzer][tree] Get the adress of a specific tree

2023-05-24 Thread Pierrick Philippe
Hi all, I am working around array using a plugin to the analyzer. And I face a problem here, I would like to be able to build a transformed representation of an element of the array from its subscript representation to its address representation (vice versa). To image what I'm saying, I'm looki

Re: End of subscription

2023-05-24 Thread Florian Weimer via Gcc
* Iain Sandoe: >> On 24 May 2023, at 14:09, Paul Koning via Gcc wrote: >> Curious, because Mac OS mail does show it as a mailing list message, >> offering up an "unsubscribe" button. So it looks like an iOS mail bug. > > for me, in macOS mail “it depends” - sometimes the posts are marked as > f

Re: End of subscription

2023-05-24 Thread Iain Sandoe via Gcc
> On 24 May 2023, at 14:09, Paul Koning via Gcc wrote: > > > >> On May 23, 2023, at 10:08 PM, LIU Hao via Gcc wrote: >> >> 在 2023/5/19 20:59, Florian Weimer via Gcc 写道: >>> * Jonathan Wakely via Gcc: Unfortunately even the Gmail web UI doesn't offer an unsubscribe option, despite

Re: End of subscription

2023-05-24 Thread Paul Koning via Gcc
> On May 23, 2023, at 10:08 PM, LIU Hao via Gcc wrote: > > 在 2023/5/19 20:59, Florian Weimer via Gcc 写道: >> * Jonathan Wakely via Gcc: >>> Unfortunately even the Gmail web UI doesn't offer an unsubscribe >>> option, despite knowing the mails come from a list and showing: >>> >>> mailing list:

Re: Wrong cost computation / conclusion ins insn combine?

2023-05-24 Thread Richard Earnshaw (lists) via Gcc
On 23/05/2023 19:41, Georg-Johann Lay wrote: For some time now I am staring at the following test case and what combine does with it: typedef struct {     unsigned b0 : 1;     unsigned b1 : 1;     unsigned b2 : 1;     unsigned b3 : 1;     unsigned b4 : 1;     unsigned b5 : 1;     unsigned

Re: Differences between clang and gcc handling of int[static n] function arguments

2023-05-24 Thread Jonathan Wakely via Gcc
On Wed, 24 May 2023 at 10:42, Florian Weimer wrote: > Well, one might be tempted to write that explicit memset to eliminate > the conditional branch, except that it's technically required because > data() might return nullptr. 8-/ Which is why you shouldn't write that code :-) But this is a digre

Re: Differences between clang and gcc handling of int[static n] function arguments

2023-05-24 Thread Florian Weimer via Gcc
* Jonathan Wakely: > On Wed, 24 May 2023 at 10:06, Florian Weimer wrote: >> >> * Jonathan Wakely via Gcc: >> >> >> It seems it might even be trivial enough for me to investigate and >> >> tackle myself, in some spare time. >> >> >> >> I see very little code using either of these features, so it's

Re: [patch]: Implement PR104327 for avr

2023-05-24 Thread Richard Biener via Gcc
On Tue, May 23, 2023 at 2:56 PM Georg-Johann Lay wrote: > > PR target/104327 not only affects s390 but also avr: > The avr backend pre-sets some options depending on optimization level. > The inliner then thinks that always_inline functions are not eligible > for inlining and terminates with an er

Re: inlining failed in call to 'always_inline': target specific option mismatch

2023-05-24 Thread Richard Biener via Gcc
On Tue, May 23, 2023 at 1:25 PM Georg-Johann Lay wrote: > > This error pops up in the testsuite for avr. > > As far as I understand, this is due to target-specific optimization like > in avr-common.cc: > > { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_mgas_isr_prologues, NULL, 1 }, > { OPT_LEVELS_1

Re: Differences between clang and gcc handling of int[static n] function arguments

2023-05-24 Thread Jonathan Wakely via Gcc
On Wed, 24 May 2023 at 10:06, Florian Weimer wrote: > > * Jonathan Wakely via Gcc: > > >> It seems it might even be trivial enough for me to investigate and > >> tackle myself, in some spare time. > >> > >> I see very little code using either of these features, so it's > >> definitely not a high pr

Re: Differences between clang and gcc handling of int[static n] function arguments

2023-05-24 Thread Florian Weimer via Gcc
* Jonathan Wakely via Gcc: >> It seems it might even be trivial enough for me to investigate and >> tackle myself, in some spare time. >> >> I see very little code using either of these features, so it's >> definitely not a high priority task regardless. >> > > Glibc uses the nonnull attribute in

Re: x86: making better use of vpternlog{d,q}

2023-05-24 Thread Hongtao Liu via Gcc
On Wed, May 24, 2023 at 3:58 PM Jan Beulich via Gcc wrote: > > Hello, > > for a couple of years I was meaning to extend the use of these AVX512F > insns beyond the pretty minimalistic ones there are so far. Now that I've > got around to at least draft something, I ran into a couple of issues I > c

x86: making better use of vpternlog{d,q}

2023-05-24 Thread Jan Beulich via Gcc
Hello, for a couple of years I was meaning to extend the use of these AVX512F insns beyond the pretty minimalistic ones there are so far. Now that I've got around to at least draft something, I ran into a couple of issues I cannot explain. I'd like to start with understanding the unexpected effect