[all-commits] [llvm/llvm-project] 7c4a70: [Driver] Add crtfastmath.o on Solaris if appropriate

rorth via All-commits all-commits at lists.llvm.org
Fri Jan 13 01:09:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c4a70f8f6f37c0d22770fa60e079aaf8928a01c
      https://github.com/llvm/llvm-project/commit/7c4a70f8f6f37c0d22770fa60e079aaf8928a01c
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Solaris.cpp
    A clang/test/Driver/Inputs/solaris_sparc_tree/usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/crtfastmath.o
    A clang/test/Driver/Inputs/solaris_sparc_tree/usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/sparcv9/crtfastmath.o
    A clang/test/Driver/Inputs/solaris_x86_tree/usr/gcc/4.9/lib/gcc/i386-pc-solaris2.11/4.9.4/amd64/crtfastmath.o
    A clang/test/Driver/Inputs/solaris_x86_tree/usr/gcc/4.9/lib/gcc/i386-pc-solaris2.11/4.9.4/crtfastmath.o
    M clang/test/Driver/solaris-ld.c

  Log Message:
  -----------
  [Driver] Add crtfastmath.o on Solaris if appropriate

`Flang :: Driver/fast_math.f90` `FAIL`s on Solaris because `crtfastmath.o`
is missing from the link line.

This patch adds it as appropriate.

Tested on `amd64-pc-solaris2.11`.

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




More information about the All-commits mailing list