Re: [PATCH] tree-optimization/93508 - make VN translate through _chk and valueize length

2020-02-27 Thread Richard Biener
On Thu, 30 Jan 2020, Richard Biener wrote: > > Value-numbering failed to handle __builtin_{memcpy,memset,...}_chk > variants when removing abstraction and also failed to use the > value-numbering lattice when requiring the length argument of the > call to be constant. > > Bootstrapped and

[PATCH] tree-optimization/93508 - make VN translate through _chk and valueize length

2020-01-30 Thread Richard Biener
Value-numbering failed to handle __builtin_{memcpy,memset,...}_chk variants when removing abstraction and also failed to use the value-numbering lattice when requiring the length argument of the call to be constant. Bootstrapped and tested on x86_64-unknown-linux-gnu, queued for GCC 11 unless