https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106946

--- Comment #6 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 63878
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63878&action=edit
Proposed patch: fix ICE on invalid CLASS component in derived type

A syntax error in a CLASS component declaration left an orphaned class
container symbol after error recovery, causing an ICE during resolution. This
patch rolls back CLASS components added during a failed data declaration
statement. Regtested on x86_64-pc-linux-gnu.

Reply via email to