https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94950
--- Comment #5 from Jim Wilson <wilson at gcc dot gnu.org> --- I tested it with an rv64gc-linux cross compiler. The patch fixes these failures: FAIL: gcc.dg/pr94780.c (internal compiler error) FAIL: gcc.dg/pr94780.c (test for excess errors) FAIL: gcc.dg/pr94842.c (internal compiler error) FAIL: gcc.dg/pr94842.c (test for excess errors) There are no regressions. I think it should be backported to the gcc-10 release branch.