https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128947
Bug ID: 128947
Summary: enum and -fc-prototypes
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: anlauf at gcc dot gnu.org
Target Milestone: ---
Consider:
subroutine foo() bind(c)
enum, bind(c)
enumerator :: red = 1, green, blue
end enum
end
Do we want the enum emitted with -fc-prototypes besides the declaration of foo?
