[all-commits] [llvm/llvm-project] 2bfb3b: [flang] Make REAL/COMPLEX(10) a hard error for non...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jan 31 11:43:51 PST 2025


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

  Changed paths:
    M flang/include/flang/Common/Fortran-features.h
    M flang/lib/Common/Fortran-features.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/test/Evaluate/rewrite-out_of_range.F90
    M flang/test/Lower/HLFIR/convert-variable.f90
    M flang/test/Lower/Intrinsics/abs.f90
    M flang/test/Lower/Intrinsics/exponent.f90
    M flang/test/Lower/Intrinsics/fma_real16.f90
    M flang/test/Lower/Intrinsics/ieee_class_queries.f90
    M flang/test/Lower/Intrinsics/modulo.f90
    M flang/test/Lower/Intrinsics/powi_real16.f90
    M flang/test/Lower/Intrinsics/random_number_real16.f90
    M flang/test/Lower/Intrinsics/rrspacing.f90
    M flang/test/Lower/Intrinsics/sign.f90
    M flang/test/Lower/OpenMP/parallel-firstprivate-clause-scalar.f90
    M flang/test/Lower/assignment.f90
    M flang/test/Lower/math-lowering/abs.f90
    M flang/test/Lower/math-lowering/aint.f90
    M flang/test/Lower/real-operations-1.f90
    M flang/test/Semantics/kinds01.f90
    M flang/test/Semantics/kinds02.f90
    M flang/test/Semantics/resolve41.f90

  Log Message:
  -----------
  [flang] Make REAL/COMPLEX(10) a hard error for non-x86 targets (#124655)

Currently the use of REAL/COMPLEX(KIND=10) as a type or literal constant
suffix elicits an optional warning message only. This leads to compiler
internal errors during lowering when these types appear in code being
compiled to non-x86_64 targets. For better error messaging, make the use
of these types a hard error in semantics instead when they are not
supported by the target architecture.



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