Description
This appears to be related to #318 https://github.com/Reference-LAPACK/lapack/issues/318. The problem is not in SLASET but in the calling routine.
TESTING/EIG/schkst2stg.f contains the following code fragment (both in 3.9.0 and in the repo):
1000 * using the 1-stage.
1001 *
1002 CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, 1 )
1003 CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, 1 )
1004 CALL SLACPY( "U", N, N, A, LDA, V, LDU )
1005 LH = MAX(1, 4*N)
1006 LW = LWORK - LH
This code is incorrect, and causes a bounds violation in SLASET. The correct code is:
1002 CALL SLASET( 'Full', N, 1, ZERO, ZERO, SD, N )
1003 CALL SLASET( 'Full', N, 1, ZERO, ZERO, SE, N )