Commit 47ebaea
committed
[flang] Make interoperability warning an off-by-default portability one
The FPTR= argument to the C_F_POINTER intrinsic procedure should
be a pointer with an interoperable type, but isn't required to be,
and most compilers don't mention it. Change the warning from an
on-by-default interoperability warning into an off-by-default
portability warning.
Fixes #115012.1 parent 850d42f commit 47ebaea
File tree
2 files changed
+11
-10
lines changed- flang
- lib/Evaluate
- test/Semantics
2 files changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2849 | 2849 | | |
2850 | 2850 | | |
2851 | 2851 | | |
2852 | | - | |
2853 | | - | |
2854 | | - | |
2855 | | - | |
2856 | | - | |
2857 | | - | |
2858 | | - | |
2859 | | - | |
2860 | | - | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
2861 | 2862 | | |
2862 | 2863 | | |
2863 | 2864 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments