https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443
--- Comment #10 from janus at gcc dot gnu.org --- (In reply to federico from comment #9) > I have attached another minimal test to show the compiler's behavior. > Maybe your fix also fixes this? Thanks for this new test case, Federico. Unfortunately my patch does not fix this. It seems to be a different problem (in particular this is a compile-time error, while the other one was a runtime segfault). Could you please open a new bug report for this? Then I'll try to look into it soon.