Re: Usage of the C++ stdlib unordered_map in GCC

2022-08-31 Thread Jonathan Wakely via Gcc
On Tue, 30 Aug 2022 at 21:08, Marek Polacek via Gcc wrote: > > On Tue, Aug 30, 2022 at 09:57:45PM +0200, Tim Lange wrote: > > Hello, > > > > I was preparing a patch for GCC and used the unordered_map from the C++ > > stdlib in my patch. Later on, I noticed that it is used nowhere else inside > > G

Weird instability of automake-1.15.1

2022-08-31 Thread Martin Liška
Hi. I see a weird behavior when I run: AUTOCONF=autoconf-2.69 ~/bin/automake-1.15.1/bin/automake in one of my gcc git repos: $ ~/Programming/gcc/gotools> AUTOCONF=autoconf-2.69 ~/bin/automake-1.15.1/bin/automake $ git diff | cat (no output) However, if I clone a fresh repo I see: $ git clone

Re: Weird instability of automake-1.15.1

2022-08-31 Thread Andreas Schwab via Gcc
On Aug 31 2022, Martin Liška wrote: > Can please anybody reproduce that? I've also tried touching all files in my > original repo, > but still, no change. Probably a bug in automake, it oscillates between the two states in a random way. The contents of autom4te.cache/requests also changes each

Re: Usage of the C++ stdlib unordered_map in GCC

2022-08-31 Thread Jason Merrill via Gcc
On Wed, Aug 31, 2022 at 5:38 AM Jonathan Wakely via Gcc wrote: > On Tue, 30 Aug 2022 at 21:08, Marek Polacek via Gcc > wrote: > > > > On Tue, Aug 30, 2022 at 09:57:45PM +0200, Tim Lange wrote: > > > Hello, > > > > > > I was preparing a patch for GCC and used the unordered_map from the C++ > > >

Re: Usage of the C++ stdlib unordered_map in GCC

2022-08-31 Thread Tim Lange
On Mi, Aug 31 2022 at 10:35:08 -0400, Jason Merrill via Gcc wrote: Generally we want to use the GCC hash_map because it works with GCC garbage collection (and PCH). Is that not relevant to your patch? Jason The map is only part a short-lived visitor object inside the analyzer and is used t

GIMPLE undefined behavior

2022-08-31 Thread Krister Walfridsson via Gcc
I'm implementing a tool for translation validation (similar to Alive2 for LLVM). The tool uses an SMT solver to verify for each GIMPLE pass that the output IR is a refinement of the input IR: * That each compiled function returns an identical result before/after the pass (for input that does

RISC-V V C Intrinsic API v1.0 release meeting reminder (Sep 05, 2022)

2022-08-31 Thread eop Chen
Hi all, A reminder that an open meeting to draft the RISC-V V C Intrinsic API v1.0 release is going to be held on next Monday 2022/09/05 7AM (GMT -7) / 10PM (GMT +8). The planned agenda will be to have a roundtable of introductions for participants and briefly go over milestones for v1.0 rele

Re: GIMPLE undefined behavior

2022-08-31 Thread Richard Biener via Gcc
On Thu, Sep 1, 2022 at 1:57 AM Krister Walfridsson via Gcc wrote: > > I'm implementing a tool for translation validation (similar to Alive2 for > LLVM). The tool uses an SMT solver to verify for each GIMPLE pass that the > output IR is a refinement of the input IR: > * That each compiled functio