[libc-commits] [PATCH] D119145: [libc] Fix illegal type punning

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Feb 8 05:56:55 PST 2022


gchatelet marked an inline comment as not done.
gchatelet added a comment.

FYI I also had the following constness warning

  /redacted/git/llvm-project/libc/src/fenv/fesetexceptflag.cpp: In function ‘int __llvm_libc::__fesetexceptflag_impl__(const fexcept_t*, int)’:
  /redacted/git/llvm-project/libc/src/fenv/fesetexceptflag.cpp:23:24: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
     23 |   int excepts_to_set = static_cast<const int>(*flagp) & excepts;
        |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119145/new/

https://reviews.llvm.org/D119145



More information about the libc-commits mailing list