[PATCH] D90316: [FPEnv] Diagnose pragmas FENV_ROUND,_ACCESS and float_control if target does not support StrictFP

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 30 00:10:46 PDT 2020


sepavloff accepted this revision.
sepavloff added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: clang/test/Parser/pragma-fp-warn.c:1
+
+// RUN: %clang_cc1 -triple wasm32 -fsyntax-only -Wno-unknown-pragmas -Wignored-pragmas -verify %s
----------------
I would propose to add a line with `-triple msp430`. This is a simple core, it is unlikely that it gets hardware FP support.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90316



More information about the cfe-commits mailing list