[Bug other/79469] Feature request: provide `__builtin_assume` builtin function to allow more aggressive optimizations and to match clang

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 24 16:27:14 GMT 2021


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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-11-24
                 CC|                            |aldyh at gcc dot gnu.org,
                   |                            |ktkachov at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from ktkachov at gcc dot gnu.org ---
We've received requests from some users for this builtin as well. Given the new
ranger infrastructure, would it be able to make use of the semantics of such a
builtin in a useful way? (It'd be good to see GCC eliminate some redundant
extensions, maybe threading opportunities could be improved etc)


More information about the Gcc-bugs mailing list