[all-commits] [llvm/llvm-project] d1d952: [flang] Interpret 'Q' exponent letter as kind=16 e...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jan 27 08:57:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1d952c206efc3a651270c69331b180330ac3efc
      https://github.com/llvm/llvm-project/commit/d1d952c206efc3a651270c69331b180330ac3efc
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M flang/lib/Common/default-kinds.cpp
    M flang/lib/Frontend/CompilerInstance.cpp
    M flang/test/Semantics/kinds04_q10.f90

  Log Message:
  -----------
  [flang] Interpret 'Q' exponent letter as kind=16 even on x86 (#124158)

The compiler was interpreting 'Q' as an exponent letter in a literal
real constant as meaning real(kind=10) on x86-64, which is the legacy
80387 80-bit extended precision floating-point type. It turns out that
'Q' means kind=16 with all other compilers, even for x86-64 targets.
Change to conform.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list