https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115030
--- Comment #2 from Seyed Sajad Kahani ---
Created attachment 58177
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58177&action=edit
a similar code that works, as a clue (clue_1.cc)
Additionally, the problem will disappear by enclosing v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115030
--- Comment #1 from Seyed Sajad Kahani ---
Created attachment 58176
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58176&action=edit
report_2.cc, additional invalid code
Moreover, by replacing 'c' with A{} that makes it an invalid code (