Re: Suspecting a wrong behavior in the value range propagation analysis for __builtin_clz

2023-11-01 Thread Giuseppe Tagliavini via Gcc
Giuseppe From: Jeff Law Sent: Wednesday, November 1, 2023 5:11 PM To: Giuseppe Tagliavini ; gcc@gcc.gnu.org Subject: Re: Suspecting a wrong behavior in the value range propagation analysis for __builtin_clz On 11/1/23 05:29, Giuseppe Tagliavini via Gcc wr

Suspecting a wrong behavior in the value range propagation analysis for __builtin_clz

2023-11-01 Thread Giuseppe Tagliavini via Gcc
I found an unexpected issue working with an experimental target (available here: https://github.com/EEESlab/tricore-gcc), but I was able to reproduce it on mainstream architectures. For the sake of clarity and reproducibility, I always refer to upstream code in the rest of the discussion. Consi