[all-commits] [llvm/llvm-project] cea0ff: [flang] Temp Driver - pass the flag to change the ...

Camille Coti via All-commits all-commits at lists.llvm.org
Tue Aug 18 03:06:37 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: cea0ff34238d164a5d667898bbedf18f0d3ad11e
      https://github.com/llvm/llvm-project/commit/cea0ff34238d164a5d667898bbedf18f0d3ad11e
  Author: AlexisPerry <aperry at lanl.gov>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang] Temp Driver - pass the flag to change the default integer kind through to F18_FC

fixes BUG 46307

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

(cherry picked from commit 4a4cafabc9067fced5890a245b03ef5897ad988b)


  Commit: 556e65b8e9a1ca5d2a62fa397a7fa5eee5b58ac4
      https://github.com/llvm/llvm-project/commit/556e65b8e9a1ca5d2a62fa397a7fa5eee5b58ac4
  Author: Camille Coti <coti at cs.uoregon.edu>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  Order of libraries and source files in the f18 frontend

When the f18 frontend calls the link editor, put the libraries and object files in the correct order.

Fixes the issues reported here https://github.com/flang-compiler/flang/issues/897

Reviewed By: sscalpone, AlexisPerry

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

(cherry picked from commit ca0bf440dbf9977340db4a32ba61740930c2be03)


  Commit: dfc845904b27d5da3b6ae7a389ade01590454331
      https://github.com/llvm/llvm-project/commit/dfc845904b27d5da3b6ae7a389ade01590454331
  Author: Richard Barton <richard.barton at arm.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    A flang/test/Driver/Inputs/hello.f90
    A flang/test/Driver/no_files.f90
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang] Make interactive behaviour more obvious

When flang is invoked with no files it waits for input on stdin. Make it
print a message saying this to prevent the user being surprised.

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

(cherry picked from commit dd5ea5674b86bade4904fab4c66a1156b3df033e)


  Commit: 4ad21aadae561b95cc9d4bb98e91499cb5342367
      https://github.com/llvm/llvm-project/commit/4ad21aadae561b95cc9d4bb98e91499cb5342367
  Author: Richard Barton <richard.barton at arm.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    A flang/test/Driver/help.f90
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang] Add details to --help screen on default behaviour

Add a usage string and a defaults section that clarifies:
 * If no input files are given, f18 reads from stdin
 * If no input files are given, f18 dumps the parse tree.
 * The default behaviour is to exec F18_FC.
 * The fefault F18_FC setting is 'gfortran'

Adds a simple regression test which tests the top and tail of the help
screen and the exit status.

Depends on D84855

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

(cherry picked from commit b068d19a151d9d3a73b0265df27836d9fd0ad1e3)


  Commit: 633865571bfdd104d84eadfd7ed9dedbdf6027ee
      https://github.com/llvm/llvm-project/commit/633865571bfdd104d84eadfd7ed9dedbdf6027ee
  Author: Richard Barton <richard.barton at arm.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M flang/test/Driver/help.f90
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang] Add -h as a synonym for help

As expected by user in http://lists.llvm.org/pipermail/flang-dev/2020-June/000404.html

Depends on D84856

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

(cherry picked from commit 30e45f339eb0841dc7fe27fad119cc5db0c052f3)


  Commit: 844f018114b52325b36e1042c8a8fc0ea82d9c17
      https://github.com/llvm/llvm-project/commit/844f018114b52325b36e1042c8a8fc0ea82d9c17
  Author: Camille Coti <camille.coti at gmail.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M flang/test/Driver/version_test.f90
    A flang/test/Preprocessing/compiler_defined_macros.F90
    M flang/tools/f18/CMakeLists.txt
    M flang/tools/f18/f18.cpp
    A flang/tools/f18/f18_version.h.in

  Log Message:
  -----------
  [flang] Version information in flang/f18

Fixed some version information in flang/f18:

  - fixed the behavior of the -v switch: this flag enables verbosity with used with arguments, but just displays the version when used alone (related to this bug: https://bugs.llvm.org/show_bug.cgi?id=46017)
 - added __FLANG, __FLANG_MAJOR__, __FLANG_MINOR__ and __FLANG_PATCHLEVEL__ (similar to their __F18* counterparts) for compatibility purpose

Reviewed By: sscalpone, AlexisPerry, richard.barton.arm, tskeith

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

(cherry picked from commit 89a9db438f85c6d4c0f11ecd0448bb71e1deac24)


Compare: https://github.com/llvm/llvm-project/compare/8cf2c031632f...844f018114b5


More information about the All-commits mailing list