================
@@ -169,3 +165,24 @@
 ! CHECK-WARNING-DAG: optimization flag '-ftree-ter' is not supported
 ! CHECK-WARNING-DAG: optimization flag '-ftree-vrp' is not supported
 ! CHECK-WARNING-DAG: optimization flag '-fno-devirtualize' is not supported
+!
+! 
------------------------------------------------------------------------------
+! Unlike the gfortran-specific optimization flags above, 
-fkeep-inline-functions
+! and -fno-keep-inline-functions are implemented by Flang, so using them must
+! not produce the "optimization flag ... is not supported" warning, or any
+! other warning. Neither flag is the default: the driver forwards nothing to
+! fc1 unless -fkeep-inline-functions wins.
----------------
shivaramaarao wrote:

yes. this test was in this file and the purpose was to give warning for 
fkeep-inline-functions and -fno-keep-inline-functions.
I have addressed the other comments.

https://github.com/llvm/llvm-project/pull/230007
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to