https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113722

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|regression                  |middle-end
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-02-02
            Summary|Folding of                  |[14 Regression] Constant
                   |__builtin_bswap128 doesn't  |folding of
                   |work anymore                |__builtin_bswap128 is
                   |                            |broken
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Target Milestone|---                         |14.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Simplified testcase:
```
#define constant 2
int main() {
    __uint128_t res = __builtin_bswap128 ((__uint128_t)constant);
    __uint128_t t = constant;
    __uint128_t res1 = __builtin_bswap128 (t);
    if (res != res1)
      __builtin_abort();
}
```

Reply via email to