Re: Improvement of CLOBBER descriptions

2024-02-21 Thread Daniil Frolov
On 2024-02-21 15:33, Nathaniel Shead wrote: On Wed, Feb 21, 2024 at 03:02:55PM +0400, Daniil Frolov wrote: Hi. Following the recent introduction of more detailed CLOBBER types in GCC, a minor inconsistency has been identified in the description of CLOBBER_OBJECT_BEGIN: /* Beginning of

Improvement of CLOBBER descriptions

2024-02-21 Thread Daniil Frolov
Hi. Following the recent introduction of more detailed CLOBBER types in GCC, a minor inconsistency has been identified in the description of CLOBBER_OBJECT_BEGIN: /* Beginning of object lifetime, e.g. C++ constructor. */ CLOBBER_OBJECT_BEGIN This comment appears somewhat contradictory,

Question on GIMPLE shifts

2023-11-01 Thread Daniil Frolov
Hi! When investigating bit shifts I got an incomprehensible moment with the following example: int f(int x, int k) { int tmp = x >> k; return (tmp & 1) << 10; } If we would like to take a look into GIMPLE then we'll get: int f (int x, int k) { int tmp; int D.2746; int _1; int _