Skip to content

Mismatch of subroutine declarations in Lapack 3.8.0 in testing #334

@Dichloromethane

Description

@Dichloromethane

Translating Lapack 3.8.0 with a recent gfortran using lto, I get a few lto type
mismatches (i.e. the subroutine is called with different arguments than the
ones it is declared with).

cerrst.f:635: Warnung: Typ von »cheevx_2stage« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
635 | $ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
|
cheevx_2stage.f:305: Anmerkung: »cheevx_2stage« wurde vorher hier deklariert
cheevx_2stage.f:305: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used
cerrst.f:1266: Warnung: Typ von »chbevx_2stage« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
1266 | $ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
|
chbevx_2stage.f:325: Anmerkung: »chbevx_2stage« wurde vorher hier deklariert
chbevx_2stage.f:325: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used
cerrst.f:763: Warnung: Typ von »cheevr_2stage« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
763 | $ 10*N, INFO )
|
cheevr_2stage.f:404: Anmerkung: »cheevr_2stage« wurde vorher hier deklariert
cheevr_2stage.f:404: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used
cchkst2stg.f:1017: Warnung: Typ von »dlaset« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
1017 | CALL DLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
|
dlaset.f:111: Anmerkung: »dlaset« wurde vorher hier deklariert

[...]

zdrvls.f:567: Warnung: Typ von »zscal« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
567 | $ 1 )
|
zscal.f:79: Anmerkung: »zscal« wurde vorher hier deklariert
zscal.f:79: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used
ztsqr01.f:224: Warnung: Typ von »zlansy« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
224 | RESID = ZLANSY( '1', 'Upper', M, R, M, RWORK )
|
zlansy.f:124: Anmerkung: »zlansy« wurde vorher hier deklariert
zlansy.f:124: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used
zchkhe_aa_2stage.f:540: Warnung: Typ von »zpot02« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
540 | $ WORK, LDA, RWORK, RESULT( 2 ) )
|
zpot02.f:127: Anmerkung: »zpot02« wurde vorher hier deklariert
127 | SUBROUTINE ZPOT02( UPLO, N, NRHS, A, LDA, X, LDX, B, LDB, RWORK,
|
zpot02.f:127: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used
zchkhe_aa_2stage.f:324: Warnung: Typ von »zlatms« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
324 | $ INFO )
|
zlatms.f:332: Anmerkung: »zlatms« wurde vorher hier deklariert
zlatms.f:332: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used
ztsqr01.f:212: Warnung: Typ von »zlange« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
212 | ANORM = ZLANGE( '1', M, N, A, M, RWORK )
|
zlange.f:116: Anmerkung: »zlange« wurde vorher hier deklariert
zlange.f:116: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used
zchkaa.f:745: Warnung: Typ von »zchkhe_aa_2stage« passt nicht zur ursprünglichen Deklaration [-Wlto-type-mismatch]
745 | $ WORK, RWORK, IWORK, NOUT )
|
zchkhe_aa_2stage.f:171: Anmerkung: »zchkhe_aa_2stage« wurde vorher hier deklariert
171 | SUBROUTINE ZCHKHE_AA_2STAGE( DOTYPE, NN, NVAL, NNB, NBVAL, NNS,
|
zchkhe_aa_2stage.f:171: Anmerkung: code may be misoptimized unless »-fno-strict-aliasing« is used

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions