Skip to content

Commit

Permalink
[flang] Force the use of intrinsic builtins in type_info
Browse files Browse the repository at this point in the history
This ensures that the __Fortran_builtins module is always used
as an intrinsic module by __Fortran_type_info, which avoids issues
when, for instance, the intrinsic modules dir is present in the
include paths.

Fixes #63592

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D154452
  • Loading branch information
luporl committed Jul 6, 2023
1 parent a69ffd6 commit cb0f98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/module/__fortran_type_info.f90
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

module __Fortran_type_info

use __Fortran_builtins, only: __builtin_c_ptr, __builtin_c_funptr
use, intrinsic :: __Fortran_builtins, only: __builtin_c_ptr, __builtin_c_funptr

private

Expand Down

0 comments on commit cb0f98e

Please sign in to comment.