f18 currently does not have a default path for intrinsic modules. The default path was provided through command-line option. This patch
- Adds the default intrinsic modules path in the search directories first
- Prepends the intrinsic module directory path (if supplied) to the list of search directories
- Adds an alias fintrinsic-modules-path in f18
- Removes the added option for providing intrinsic module path from the test config files
- Update the test case to run for both flang and f18.
The motivations for this patch includes:
- Make f18 behave like flang-new (with respect to the module paths)
- Make it possible to share more tests between the drivers
- Make using f18 easier (the default path means that users are no longer required to specify it)