[all-commits] [llvm/llvm-project] 33b1f3: [clang][patch] Solve PR49479, File scope fp pragma...

Melanie Blower via All-commits all-commits at lists.llvm.org
Mon Mar 15 09:17:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33b1f3f42cb9fc4fed9501ed49e4805f134e7a1b
      https://github.com/llvm/llvm-project/commit/33b1f3f42cb9fc4fed9501ed49e4805f134e7a1b
  Author: Melanie Blower <melanie.blower at intel.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/test/CodeGen/fp-floatcontrol-stack.cpp

  Log Message:
  -----------
  [clang][patch] Solve PR49479, File scope fp pragma should propagate to functions nested in struct, and initialization expressions

Previously, the CurFPFeatures state was set to command line settings before
semantic analysis of the nested member functions and initialization
expressions, that's not correct, it should use the pragma state which
is in effect at the lexical position.

Reviewed By: Erich Keane, Aaron Ballman

Differential Revision: https://reviews.llvm.org/D98211




More information about the All-commits mailing list