https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127120
Bug ID: 127120
Summary: ASSOCIATE mishandles a parenthesized variable as the
selector
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: kargl at gcc dot gnu.org
Target Milestone: ---
Created attachment 65441
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65441&action=edit
testcase
The attached testcase was found while scanning lfortran's bug reports
for unreported gfortran bugs.
https://github.com/lfortran/lfortran/issues/12611
I've rewritten the code to make it suitable for the testsuite.