Skip to content

dstedc, sstedc: remove dead ICOMPZ.EQ.0 branch#1302

Open
jschueller wants to merge 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue1143
Open

dstedc, sstedc: remove dead ICOMPZ.EQ.0 branch#1302
jschueller wants to merge 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue1143

Conversation

@jschueller

Copy link
Copy Markdown
Contributor

The IF( ICOMPZ.EQ.0 ) block calling DLASRT/SLASRT quick sort after the endwhile loop is unreachable -- ICOMPZ.EQ.0 already exits via CALL DSTERF/CALL SSTERF + GO TO 50 earlier. Remove the dead branch and its external declaration, keeping only the selection sort path.

Closes #1143

martin-frbg
martin-frbg previously approved these changes Jun 13, 2026
Comment thread SRC/sstedc.f
The IF( ICOMPZ.EQ.0 ) block calling DLASRT/SLASRT quick sort
after the endwhile loop is unreachable -- ICOMPZ.EQ.0 already
exits via CALL DSTERF/CALL SSTERF + GO TO 50 earlier. Remove the
dead branch and its external declaration, keeping only the
selection sort path.

Closes Reference-LAPACK#1143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

( nor urgent ) lines of code never called in STEDC

2 participants