[flang-commits] [PATCH] D150710: [flang] Finer control over warnings

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue May 16 12:55:09 PDT 2023


klausler created this revision.
klausler added reviewers: vzakhari, PeteSteinfeld, vdonaldson.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a reviewer: awarzynski.
Herald added a project: All.
klausler requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: jplehr, sstefan1.

Establish a set of optional usage warnings, and enable some
only in "-pedantic" mode that, in our subjective experience
with application codes, seem to issue frequently without
indicating usage that really needs to be corrected.  By default,
with this patch the compiler should appear to be somewhat less
persnickety but not less informative.


https://reviews.llvm.org/D150710

Files:
  flang/include/flang/Common/Fortran-features.h
  flang/include/flang/Frontend/CompilerInvocation.h
  flang/include/flang/Semantics/semantics.h
  flang/lib/Frontend/CompilerInvocation.cpp
  flang/lib/Semantics/assignment.cpp
  flang/lib/Semantics/check-call.cpp
  flang/lib/Semantics/check-call.h
  flang/lib/Semantics/check-declarations.cpp
  flang/lib/Semantics/check-do-forall.cpp
  flang/lib/Semantics/check-io.cpp
  flang/lib/Semantics/data-to-inits.cpp
  flang/lib/Semantics/expression.cpp
  flang/lib/Semantics/pointer-assignment.cpp
  flang/lib/Semantics/pointer-assignment.h
  flang/lib/Semantics/resolve-labels.cpp
  flang/lib/Semantics/resolve-names.cpp
  flang/test/Semantics/assign09.f90
  flang/test/Semantics/associate01.f90
  flang/test/Semantics/bindings03.f90
  flang/test/Semantics/call03.f90
  flang/test/Semantics/call07.f90
  flang/test/Semantics/call21.f90
  flang/test/Semantics/call30.f90
  flang/test/Semantics/call33.f90
  flang/test/Semantics/call34.f90
  flang/test/Semantics/resolve31.f90
  flang/test/Semantics/resolve59.f90
  flang/test/Semantics/structconst03.f90
  flang/test/Semantics/structconst04.f90
  flang/test/Semantics/transfer01.f90
  flang/tools/f18-parse-demo/f18-parse-demo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150710.522747.patch
Type: text/x-patch
Size: 57355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230516/210fa6dd/attachment-0001.bin>


More information about the flang-commits mailing list