Re: GSoC: Getting started

2022-06-16 Thread David Malcolm via Gcc
On Wed, 2022-06-01 at 14:50 -0400, David Malcolm wrote: > On Wed, 2022-06-01 at 23:22 +0530, Mir Immad wrote: > > HI everyone, > > > > I'm Immad Mir -- one of the GSoC students this year. I'll be working > > on > > adding static analysis support for POSIX file description APIs this > > summer. >

gomp_affinity_format_len

2022-06-16 Thread Mohamed Atef via Gcc
Hello, this variable doesn't take value. It's always zero. Is this intended? Mohamed

Re: gomp_affinity_format_len

2022-06-16 Thread Mohamed Atef via Gcc
Sorry i found it in affinity-fmt.c في الخميس، ١٦ يونيو، ٢٠٢٢ ٥:٤١ م Mohamed Atef كتب: > Hello, >this variable doesn't take value. It's always zero. > Is this intended? > > Mohamed >

Re: gomp_affinity_format_len

2022-06-16 Thread Mohamed Atef via Gcc
I cant't get the value of "gomp_affinity_format_let" I used the plugin but it only gives 0 value. if you noticed in the gompd_get_affinity_format i used 100 for the length of the affinity format. Mohamed. في الخميس، ١٦ يونيو، ٢٠٢٢ ٥:٤٦ م Mohamed Atef كتب: > Sorry i found it in affinity-fmt.c >

Re: gomp_affinity_format_len

2022-06-16 Thread Jakub Jelinek via Gcc
On Thu, Jun 16, 2022 at 06:00:47PM +0200, Mohamed Atef wrote: > I cant't get the value of "gomp_affinity_format_let" I used the plugin but > it only gives 0 value. if you noticed in the gompd_get_affinity_format i > used 100 for the length of the affinity format. gomp_affinity_format_len is just a

gcc-10-20220616 is now available

2022-06-16 Thread GCC Administrator via Gcc
Snapshot gcc-10-20220616 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20220616/ 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

[RFC] Warnings for cases where int promotion is unexpected and may cause bugs

2022-06-16 Thread Aniruddh Agarwal
Hello, A colleague patched a prod-critical bug today caused by an overlooked implicit int promotion when adding uint8_t's. g++ (v12.1) doesn't report any warnings for it with all combinations of warnings flags that I've tried, so I thought I'd ask if: - there *is* already some combination of

Re: [RFC] Warnings for cases where int promotion is unexpected and may cause bugs

2022-06-16 Thread Aniruddh Agarwal
Apologies, I didn't realize that my mail client doesn't auto-wrap. Please find a wrapped copy of my original message below my signature. -Ani On Thu, Jun 16, 2022, at 9:11 PM, Aniruddh Agarwal wrote: > Hello, > > A colleague patched a prod-critical bug today caused by an overlooked > implicit in