Skip to content

Commit 818c1f7

Browse files
authored
fortran: fix windows fortran linking by removing dead 32-bit code (#206)
remove unsupported 32-bit Fortran interface logic for windows
1 parent 2bf04f7 commit 818c1f7

2 files changed

Lines changed: 2 additions & 53 deletions

File tree

include/fortran/posix/ittnotify.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
!--------
77
!
8-
! This file defines functions used by Intel(R) Parallel Inspector and
9-
! Amplifier.
8+
! This file defines functions used by Intel(R) VTune(TM) Profiler.
109
!
1110
! Version of ittnotify that was used to generate this file.
1211
! This is not Fortran code that can be used to check but rather a comment

include/fortran/win32/ittnotify.f90

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
!--------
77
!
8-
! This file defines functions used by Intel(R) Parallel Inspector and
9-
! Amplifier.
8+
! This file defines functions used by Intel(R) VTune(TM) Profiler.
109
!
1110
! Version of ittnotify that was used to generate this file.
1211
! This is not Fortran code that can be used to check but rather a comment
@@ -109,7 +108,6 @@ end subroutine itt_proc_heapmask
109108

110109
end interface
111110

112-
!DEC$IF DEFINED(intel64)
113111
type(C_FUNPTR) :: itt_pause_fort_ptr
114112
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'__itt_pause_ptr__3_0' :: itt_pause_fort_ptr
115113
type(C_FUNPTR) :: itt_resume_fort_ptr
@@ -156,54 +154,6 @@ end subroutine itt_proc_heapmask
156154
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'__itt_heap_reset_detection_ptr__3_0' :: itt_heap_reset_detection_fort_ptr
157155
type(C_FUNPTR) :: itt_heap_record_fort_ptr
158156
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'__itt_heap_record_ptr__3_0' :: itt_heap_record_fort_ptr
159-
!DEC$ELSE
160-
type(C_FUNPTR) :: itt_pause_fort_ptr
161-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_pause_ptr__3_0' :: itt_pause_fort_ptr
162-
type(C_FUNPTR) :: itt_resume_fort_ptr
163-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_resume_ptr__3_0' :: itt_resume_fort_ptr
164-
type(C_FUNPTR) :: itt_thread_ignore_fort_ptr
165-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_thread_ignore_ptr__3_0' :: itt_thread_ignore_fort_ptr
166-
type(C_FUNPTR) :: itt_suppress_push_fort_ptr
167-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_suppress_push_ptr__3_0' :: itt_suppress_push_fort_ptr
168-
type(C_FUNPTR) :: itt_suppress_pop_fort_ptr
169-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_suppress_pop_ptr__3_0' :: itt_suppress_pop_fort_ptr
170-
type(C_FUNPTR) :: itt_suppress_mark_range_fort_ptr
171-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_suppress_mark_range_ptr__3_0' :: itt_suppress_mark_range_fort_ptr
172-
type(C_FUNPTR) :: itt_suppress_clear_range_fort_ptr
173-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_suppress_clear_range_ptr__3_0' :: itt_suppress_clear_range_fort_ptr
174-
type(C_FUNPTR) :: itt_sync_prepare_fort_ptr
175-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_sync_prepare_ptr__3_0' :: itt_sync_prepare_fort_ptr
176-
type(C_FUNPTR) :: itt_sync_cancel_fort_ptr
177-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_sync_cancel_ptr__3_0' :: itt_sync_cancel_fort_ptr
178-
type(C_FUNPTR) :: itt_sync_acquired_fort_ptr
179-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_sync_acquired_ptr__3_0' :: itt_sync_acquired_fort_ptr
180-
type(C_FUNPTR) :: itt_sync_releasing_fort_ptr
181-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_sync_releasing_ptr__3_0' :: itt_sync_releasing_fort_ptr
182-
type(C_FUNPTR) :: itt_fsync_prepare_fort_ptr
183-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_fsync_prepare_ptr__3_0' :: itt_fsync_prepare_fort_ptr
184-
type(C_FUNPTR) :: itt_fsync_cancel_fort_ptr
185-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_fsync_cancel_ptr__3_0' :: itt_fsync_cancel_fort_ptr
186-
type(C_FUNPTR) :: itt_fsync_acquired_fort_ptr
187-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_fsync_acquired_ptr__3_0' :: itt_fsync_acquired_fort_ptr
188-
type(C_FUNPTR) :: itt_fsync_releasing_fort_ptr
189-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_fsync_releasing_ptr__3_0' :: itt_fsync_releasing_fort_ptr
190-
type(C_FUNPTR) :: itt_sync_destroy_fort_ptr
191-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_sync_destroy_ptr__3_0' :: itt_sync_destroy_fort_ptr
192-
type(C_FUNPTR) :: itt_sync_create_fort_ptr
193-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_sync_createA_ptr__3_0' :: itt_sync_create_fort_ptr
194-
type(C_FUNPTR) :: itt_sync_rename_fort_ptr
195-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_sync_renameA_ptr__3_0' :: itt_sync_rename_fort_ptr
196-
type(C_FUNPTR) :: itt_thread_set_name_fort_ptr
197-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_thread_set_nameA_ptr__3_0' :: itt_thread_set_name_fort_ptr
198-
type(C_FUNPTR) :: itt_heap_record_memory_growth_begin_fort_ptr
199-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_heap_record_memory_growth_begin_ptr__3_0' :: itt_heap_record_memory_growth_begin_fort_ptr
200-
type(C_FUNPTR) :: itt_heap_record_memory_growth_end_fort_ptr
201-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_heap_record_memory_growth_end_ptr__3_0' :: itt_heap_record_memory_growth_end_fort_ptr
202-
type(C_FUNPTR) :: itt_heap_reset_detection_fort_ptr
203-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_heap_reset_detection_ptr__3_0' :: itt_heap_reset_detection_fort_ptr
204-
type(C_FUNPTR) :: itt_heap_record_fort_ptr
205-
!DEC$ ATTRIBUTES C, EXTERN, ALIAS:'___itt_heap_record_ptr__3_0' :: itt_heap_record_fort_ptr
206-
!DEC$ENDIF
207157

208158
contains
209159

0 commit comments

Comments
 (0)